hrpsys_ros_bridge is a package to connect hrpsys <http://wiki.ros.org/hrpsys>
_ (OpenRTM-based controller) system and ROS system.
This package contains ROSBridge to hrpsys
, cmake_libraries, launch files, Euslisp interface, and examples.
ROSBridge here is a ROS node to bridge hrpsys
system and ROS system.
You might want to check other "bridging" software in ROS too such as:
- `rosbridge_suite <http://wiki.ros.org/rosbridge_suite>`_ provides a JSON API to ROS functionality for non-ROS programs.
- `rtmbuild <http://wiki.ros.org/rtmbuild?distro=hydro>`_ Provides a ROS-like compile and launch script for `OpenRTM`.
You can use OpenRTM
resources from ROS interface, e.g.,
use OpenRTM Data Ports
through ROS Topic
and OpenRTM Servie Ports
through ROS Service
. The following table shows the corresponding concepts for the 2 worlds.
\ | ROS | OpenRTM |
---|---|---|
Process | ROS Node | RTC |
Data connection | Topic | Data Port |
RPC connection | Service | Service Port |
-
HrpsysSeqStateROSBridge :
Publish ROS topics by reading RTC's data ports.Send ROS JointTrajectory service to
SequencePlayer.rtc
by its service ports.
-
Generated ROSBridges:
openrtm_ros_bridge
is the ROS bridge for example code inopenrtm_aist
andhrpsys_ros_bridge
provides ROS bridge forhrpsys
package.These bridges ROS service to OpenRTM service port.
For example all idl files in
hrpsys
is coped tohrpsys_ros_bridge/idl/*.idl
, and it generates cpp codes inhrpsys_ros_bridge/src_gen/*.cpp
and built binaries inhrpsys_ros_bridge/[bin,lib]
.
[hrpsys_ros_bridge/cmake/compile_robot_model.cmake
] (https://github.com/start-jsk/rtmros_common/blob/master/hrpsys_ros_bridge/cmake/compile_robot_model.cmake) is a CMake file to convert robot model file format.
[hrpsys_ros_bridge/launch/hrpsys_ros_bridge.launch
] (https://github.com/start-jsk/rtmros_common/blob/master/hrpsys_ros_bridge/launch/hrpsys_ros_bridge.launch) is a launch file to invoke ROSBridges and connect them with RTCs.
[Euslisp Interface] (https://github.com/start-jsk/rtmros_common/blob/master/hrpsys_ros_bridge/euslisp/README.md)
hrpsys_ros_bridge/test/test-samplerobot.test