Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/move_group_interface/move_group_interface_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ See the `YouTube video <https://youtu.be/_5siHkFQPBQ>`_ at the top of this tutor
1. The robot moves its arm to the pose goal to its front.
2. The robot moves its arm to the joint goal at its side.
3. The robot moves its arm back to a new pose goal while maintaining the end-effector level.
4. The robot moves its arm along the desired Cartesian path (a triangle up+forward, left, down+back).
4. The robot moves its arm along the desired Cartesian path (a triangle down, right, up+left).
5. A box object is added into the environment to the right of the arm.
|B|

Expand Down
12 changes: 6 additions & 6 deletions doc/move_group_interface/src/move_group_interface_tutorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,16 @@ int main(int argc, char** argv)

geometry_msgs::Pose target_pose3 = start_pose2;

target_pose3.position.z += 0.2;
waypoints.push_back(target_pose3); // up
target_pose3.position.z -= 0.2;
waypoints.push_back(target_pose3); // down

target_pose3.position.y -= 0.1;
waypoints.push_back(target_pose3); // left
target_pose3.position.y -= 0.2;
waypoints.push_back(target_pose3); // right

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically this is subjective but I'll allow it 😝

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the tutorial didn't mention the box appearing on the arm's right a little bit later in the lesson I would have left this alone :P

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could have just tweaked the tutorial text to say the arm's left ;-)


target_pose3.position.z -= 0.2;
target_pose3.position.z += 0.2;
target_pose3.position.y += 0.2;
target_pose3.position.x -= 0.2;
waypoints.push_back(target_pose3); // down and right
waypoints.push_back(target_pose3); // up and left

// Cartesian motions are frequently needed to be slower for actions such as approach and retreat
// grasp motions. Here we demonstrate how to reduce the speed of the robot arm via a scaling factor
Expand Down