Please refer to the state observation tutorial for futher details.
This simple observer listen to the specified ROS topic and update the base pose of the specified robot/object in mc_rtc.
This package requires:
- mc_rtc
- ROS (tested on noetic)
(can be used with real_pose)
And the following ros packages:
- ros-${ROS_DISTRO}-mc-rtc-plugin
- ros-${ROS_DISTRO}-mc-rtc-tools
- ros-${ROS_DISTRO}-mc-state-observation
- ros-${ROS_DISTRO}-vrpn-client-ros
- Install this project's dependencies
- Clone this repo (oustide of the catkin WS) and install it (
cmake .. && make && make install
)
In your controller's configuration (Controller.in.yaml), add
ObserverPipelines:
- name: ObserverName
gui: true
observers:
- type: Encoder
- type: VrpnSensorObserverROS
update: true
config:
updateRobot: RobotName
rostopic: /ros_topic_name
Launch the vrpn client:
roslaunch vrpn_client_ros sample.launch server:=IP_ADDRESS