ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The "frame" orresponds to a link (reference frame) in your robot, not the output topic of the node. To remap, use the <remap>
tag:
<node pkg="robot_pose_ekf" type="robot_pose_ekf" name="robot_pose_ekf">
<param name="freq" value="10.0"/>
<param name="sensor_timeout" value="1.0"/>
<param name="odom_used" value="true"/>
<param name="vo_used" value="false"/>
<param name="imu_used" value="true"/>
<param name="debug" value="false"/>
<param name="self_diagnose" value="false"/>
<remap from="imu_data" to="/rrbot/imu_data"/>
<remap from="odom_combined" to="odom"/>
</node>
2 | No.2 Revision |
The "frame" orresponds to a link (reference frame) in your robot, not the output topic of the node. To remap, use the <remap>
tag:tag.
Update: After your clarification, I suggest renaming the frame and output topic with the output_frame
parameter and then using remap
change the topic back to odom_combined
:
<node pkg="robot_pose_ekf" type="robot_pose_ekf" name="robot_pose_ekf">
<param name="freq" value="10.0"/>
<param name="sensor_timeout" value="1.0"/>
<param name="odom_used" value="true"/>
<param name="vo_used" value="false"/>
<param name="imu_used" value="true"/>
<param name="debug" value="false"/>
<param name="self_diagnose" value="false"/>
<remap from="imu_data" to="/rrbot/imu_data"/>
<param name="output_frame" value="odom"/>
<remap from="odom_combined" to="odom"/>
from="odom" to="odom_combined"/>
</node>
To see how exactly the parameter is used, have a look at the source code.