Skip to content

Commit e17c1ea

Browse files
Fix setGravity comments to be correct directionality (#462)
Just changes the comments to match what the urscript is actually expecting.
1 parent 4610023 commit e17c1ea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/ur_client_library/control/script_command_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class ScriptCommandInterface : public ReverseInterface
9494
/*!
9595
* \brief Set the gravity vector
9696
*
97-
* \param gravity Gravity, a vector [x, y, z] specifying the gravity vector (pointing towards
97+
* \param gravity Gravity, a vector [x, y, z] specifying the anti-gravity vector (pointing away from
9898
* the Earth's center) given in the robot's base frame
9999
*
100100
* \returns True, if the write was performed successfully, false otherwise.

include/ur_client_library/ur/ur_driver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ class UrDriver
635635
* \brief Set the gravity vector. Note: It requires the external control script to be running or
636636
* the robot to be in headless mode.
637637
*
638-
* \param gravity Gravity, a vector [x, y, z] specifying the gravity vector (pointing towards
638+
* \param gravity Gravity, a vector [x, y, z] specifying the anti-gravity vector (pointing away from
639639
* the Earth's center) given in the robot's base frame
640640
*
641641
* \returns True on successful write.

0 commit comments

Comments
 (0)