This repository contains a few instances of ModularBot models, which replicate the output of our automatic discovery tool as applied to the corresponding ModularBot topologies.
Given a particular configuration of choice (say ModularBot_6DOF
), the simulation environment is executed as follows:
mon launch ModularBot_6DOF ModularBot_gazebo.launch
(or roslaunch
if you haven't installed its better sibling ros-$ROS_DISTRO-rosmon
:P)xbot2-core --simtime --config $(rospack find ModularBot_6DOF)/config/ModularBot.yaml
On the real robot, the following steps must be followed:
ecat_master
xbot2-core --hw ec_imp --config $(rospack find ModularBot_6DOF)/config/ModularBot.yaml
To connect to the robot with uncontrolled motors (read-only mode), change the --hw
flag to --hw ec_idle
. Note that this will stop the motors if needed.
xbot2-gui
command inside a terminalros_ctrl
plugin (left panel)More on joint space control can be found at our examples repository.
Run CartesIO after making sure that the ros_ctrl
plugin is active:
mon launch ModularBot_6DOF ModularBot_cartesio_IK.launch
Then, use RViz interactive markers or the Python/C++ API to send references to CartesIO's ROS API (see the tuturial).