This script is an adaptation of the moveit_tutorials/pick_place_tutorial
- ROS noetic
- MoveIt
mkdir -p ~/catkin_ws/src && cd ~/catkin_ws/srcgit clone https://github.com/makingRobotsDoStuff/take-home.gitcd ~/catkin_wsrosdep install --from-paths src --ignore-src -r -ycatkin_makesource devel/setup.bash
- In a first terminal, launch the panda arm demo
roslaunch panda_moveit_config demo.launch- In a second terminal, launch the cube pose publisher node
roslaunch vention_take_home pub_cube_pose.launch- In a third terminal, launch the pick and place node
roslaunch vention_take_home pick_place_poc.launch- Enjoy!
- print: Starting position of the cube
- print: the destination of the cube
- Every 500ms: print the cube pose
- Every 500ms: print the cube 'up' vector
- The cube pose is only updated when it's part of the planning scene. While it's attached to the manipulator, it's coordinates in the planning scene remain the same as the last time it was part of the planning scene.