Skip to content

Commit

Permalink
Merge pull request #484 from 130s/impr/add_hand_camera
Browse files Browse the repository at this point in the history
[hrpsys-sim] Add hand camera feature.
  • Loading branch information
130s authored Feb 10, 2017
2 parents 020b326 + acc68d8 commit 273060f
Show file tree
Hide file tree
Showing 5 changed files with 432 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hironx_ros_bridge/conf/nosim.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
<property name="outport" value="tau:JOINT_TORQUE"/>
<property name="outport" value="CAMERA_HEAD_R:CAMERA_HEAD_R:VISION_SENSOR"/>
<property name="outport" value="CAMERA_HEAD_L:CAMERA_HEAD_L:VISION_SENSOR"/>
<property name="outport" value="CAMERA_HAND_R:CAMERA_HAND_R:VISION_SENSOR"/>
<property name="outport" value="CAMERA_HAND_L:CAMERA_HAND_L:VISION_SENSOR"/>
<property name="WAIST.NumOfAABB" value="1"/>
<property name="WAIST.translation" value="0 0 0"/>
<property name="WAIST.rotation" value="1 0 0 0"/>
Expand Down
2 changes: 2 additions & 0 deletions hironx_ros_bridge/conf/xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
<property name="outport" value="tau:JOINT_TORQUE"/>
<property name="outport" value="CAMERA_HEAD_R:CAMERA_HEAD_R:VISION_SENSOR"/>
<property name="outport" value="CAMERA_HEAD_L:CAMERA_HEAD_L:VISION_SENSOR"/>
<property name="outport" value="CAMERA_HAND_R:CAMERA_HAND_R:VISION_SENSOR"/>
<property name="outport" value="CAMERA_HAND_L:CAMERA_HAND_L:VISION_SENSOR"/>
<property name="WAIST.NumOfAABB" value="1"/>
<property name="WAIST.translation" value="0 0 0"/>
<property name="WAIST.rotation" value="1 0 0 0"/>
Expand Down
12 changes: 12 additions & 0 deletions hironx_ros_bridge/launch/hironx_ros_bridge_simulation.launch
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,20 @@
args="$(arg openrtm_args)" ns="left" >
<param name="frame_id" value="/CAMERA_HEAD_L" />
</node>
<node pkg="hrpsys_ros_bridge" name="ImageSensorROSBridge_HandRight" type="ImageSensorROSBridge"
args="$(arg openrtm_args)" ns="right" >
<param name="frame_id" value="/CAMERA_HAND_R" />
</node>
<node pkg="hrpsys_ros_bridge" name="ImageSensorROSBridge_HandLeft" type="ImageSensorROSBridge"
args="$(arg openrtm_args)" ns="left" >
<param name="frame_id" value="/CAMERA_HAND_L" />
</node>
<rtconnect from="HiroNX(Robot)0.rtc:CAMERA_HEAD_R" to="ImageSensorROSBridge_HeadRight.rtc:timedImage" />
<rtconnect from="HiroNX(Robot)0.rtc:CAMERA_HEAD_L" to="ImageSensorROSBridge_HeadLeft.rtc:timedImage" />
<rtconnect from="HiroNX(Robot)0.rtc:CAMERA_HAND_R" to="ImageSensorROSBridge_HandRight.rtc:timedImage" />
<rtconnect from="HiroNX(Robot)0.rtc:CAMERA_HAND_L" to="ImageSensorROSBridge_HandLeft.rtc:timedImage" />
<rtactivate component="ImageSensorROSBridge_HeadRight.rtc" />
<rtactivate component="ImageSensorROSBridge_HeadLeft.rtc" />
<rtactivate component="ImageSensorROSBridge_HandRight.rtc" />
<rtactivate component="ImageSensorROSBridge_HandLeft.rtc" />
</launch>
Loading

0 comments on commit 273060f

Please sign in to comment.