Skip to content

Commit 2c0de6f

Browse files
authored
Fixes for nws odometry and cer joints (#306)
1 parent 012cc67 commit 2c0de6f

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

R1SN003nws/hardware/odometry/odometry.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
33

44
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="cer_odometry" type="cerOdometry">
5-
<param name="geom_r"> 10 </param>
6-
<param name="geom_l"> 10 </param>
5+
<param name="geom_r"> 0.16416 </param> <!--//m wheels radius ((320.0 / 2 / 1000.0)*1.026) -->
6+
<param name="geom_l"> 0.338 </param> <!--//m wheels distance -->
77

88
<action phase="startup" level="20" type="attach">
99
<param name="device"> cer_mobile_base_mc_remapper </param>

R1SN003nws/wrappers/motorControl/cer_alljoints_remapper.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<param name="joints"> 28 </param>
55
<paramlist name="networks">
66
<elem name="head">( 0 1 0 1 )</elem>
7-
<elem name="torso">( 2 5 0 3 )</elem>
7+
<elem name="torso">( 2 4 0 2 )</elem>
8+
<elem name="torso_yaw">( 5 5 3 3 )</elem>
89
<elem name="right_arm">( 6 13 0 7 )</elem>
910
<elem name="left_arm">( 14 21 0 7 )</elem>
1011
<elem name="right_hand">( 22 23 0 1 )</elem>
@@ -14,7 +15,8 @@
1415
<action phase="startup" level="6" type="attach">
1516
<paramlist name="networks">
1617
<elem name="head"> cer_head_mc </elem>
17-
<elem name="torso"> cer_torso_mc </elem>
18+
<elem name="torso"> cer_torso_equivalent_mc </elem>
19+
<elem name="torso_yaw"> cer_torso_mc </elem>
1820
<elem name="base"> cer_mobile_base_mc </elem>
1921
<elem name="right_arm"> cer_right_arm_no_hand_mc_remapper </elem>
2022
<elem name="right_hand"> cer_right_hand_mc </elem>

R1SN003nws/wrappers/odometry/odometry_nws_ros.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="cer_odometry_nws_ros" type="odometry2D_nws_ros">
55
<param name="topic_name"> /odometry </param>
66
<param name="node_name"> /cer_odometry_nws_ros </param>
7-
<param name="base_frame"> mobile_base_link </param>
8-
<param name="odom_frame"> odometry </param>
7+
<param name="base_frame"> mobile_base_body_link </param>
8+
<param name="odom_frame"> odom </param>
99

1010
<action phase="startup" level="10" type="attach">
1111
<param name="device"> cer_odometry </param>

0 commit comments

Comments
 (0)