Repository for DRC rubble clearing task.
- DRC depends on DRC_msgs, so you first have to compile DRC_msgs and then drchubo
- Currently we only support:
- joint / pose / joint + pose animation
- Modes no_gravity (for animation) and nominal (gravity)
-
Put DRC_msgs in a folder in $ROS_PACKAGE_PATH
-
Build DRC_msgs
cd DRC_msgs mkdir build cd build && cmake .. make
-
Build drchubo. For this, there is one thing for you to do before doing make:
- You have to create a link to the huboplus folder needed by Matt's code (which we use for our zmpnode executable for walking). Follow the instructions from apps/zmpnode/mattStuff/README.md to do so.
- Now you cand do the cmake and make procedure
- Finally, source the file setup.sh (located in drchubo) in the terminal you will use. This sets GAZEBO_PLUGIN_PATH and LD_LIBRARY_PATH to find our DRCPlugin
-
To run the rubble world example:
- In one terminal type: roslaunch drchubo drchubo_rubble.launch
- Press Play since we start on Pause Mode
- Don't be surprised if the robot flies. I will change the node to start in an upper position later today
- In another terminal type: rosrun drchubo zmpnode
- Robot should do the same thing as the video
drchubo/apps/zmpnode
-
Topic to set pose with respect to World (from torso): drchubo/set_pose with type: geometry_msgs::Pose>
-
Topic to set joint configuration: drchubo/configuration with type: sensor_msgs::JointState>
-
Topic to set mode drchubo/mode with type std_msgs::String ( so far, 2 modes: no_gravity and nominal )
-
Topic to set pose + joint animation: drchubo/poseJointAnimation with type: <DRC_msgs::PoseJointTrajectory> USE THIS FOR WALK ANIMATION.
-
Topic to set only joint animation drchubo/jointAnimation with type: trajectory_msgs::JointTrajectory
-
Topic to set only pose animation drchubo/poseAnimation with type: DRC_msgs::PoseStampedArray>