<div>In general, I find it useful for any node that deals with pose estimation to publish a PoseStamped / PoseWithCovarianceStamped in addition to tf. Also, it's nice to have a flag which enables/deisables the pose and tf publishing, letting the user choose which one they want. The rationale behind this is to allow different components, which may publish partial and conflicting observations about the pose in a given frame, to be used together. If they publish poses, then can be used as input to a higher-level package which fuses them, and in turn publishes a tf.</div>
<div><br></div><div>This applies to any odometry, visual odometry, ekf filters, slam, etc pipelines. </div><div><br></div><div>I have adopted this convention for the laser_scan_matcher, with publish_tf defaulting to true and publish_pose_stamped defaulting to false.</div>
<div><br></div><div>So in short:</div><div> +1 for a flag to enable PoseWithCovarianceStamped </div><div> +1 for a flag to disable tfs</div><div><br></div><div>Cheers,</div><div><br></div><div>Ivan</div><div><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Nov 27, 2012 at 3:59 PM, Stéphane Magnenat <span dir="ltr"><<a href="mailto:stephane.magnenat@mavt.ethz.ch" target="_blank">stephane.magnenat@mavt.ethz.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
The current draft of REP129 for SLAM node API [1] only defines tf<br>
output. However, in many SLAM application the output pose of the<br>
registration is fused with additional sensors such as an IMU, typically<br>
through a Kalman filter. Hence, it might be useful for the SLAM nodes to<br>
output a PoseWithCovarianceStamped message in addition to the tf<br>
transform. Should this be an optional addition, or a mendatory output?<br>
<br>
Your opinion is warmly welcome, especially if you maintain a SLAM package.<br>
<br>
Cheers,<br>
<br>
Stéphane<br>
<br>
[1] <a href="https://github.com/ros-infrastructure/rep/pull/8/files" target="_blank">https://github.com/ros-infrastructure/rep/pull/8/files</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Dr Stéphane Magnenat<br>
<a href="http://stephane.magnenat.net" target="_blank">http://stephane.magnenat.net</a><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</font></span></blockquote></div><br></div>