Repository dedicated to the IIT robot CENTAURO
To run the simulator under the Xbot2 framework, please follow these steps:
- install the required dependencies (mainly ROS, Gazebo, and Xbot2 - see the
.travis.yml
file) - clone the repository to a sourced environment (e.g., a catkin workspace)
- set a basic configuration file for Xbot2 with
set_xbot2_config $(rospack find centauro_config)/centauro_basic.yaml
- [terminal #1]
mon launch centauro_gazebo centauro_world.launch
(orroslaunch
if you don't haverosmon
installed) - [terminal #2]
xbot2-core --simtime
- follow instructions and tutorials from our examples repository
Note: the provided launch file accepts additional arguments to control the inclusions of perception sensors, namely velodyne:=true
, and realsense:=true
.
You need to have the proper dependencies installed in your setup in order for sensor simulation to work. See the forest recipe for this package.
Note: the repository contains generated files (urdf, srdf) so that is is ready to use without any generation step. The following instructions are meant for developers willing to modify the robot model.
First, install all required dependencies via the hhcm-forest
tool, from the multidof_recipes
registry.
Now we can generate the urdf/srdf files via cmake:
mkdir build && cd build
cmake ..
make generate
(generates all files marked withADD_TO_ALL TRUE
into the build tree - see the cmakelists files)- (optional)
make publish
(publishes generated files to the source tree) - (optional)
make install
installs the source tree - (optional)
make package
creates a.deb
package from the source tree