Gancalo,<br><br>It should be possible to make the navigation stack aware of this information. As Dan mentioned, you can publish a LaserScan or PointCloud in-front of the cliff that will keep the robot from driving there. You'll just have to configure the costmap to take in this sensor data, for which the relevant documentation is here: <a href="http://www.ros.org/wiki/costmap_2d#Sensor_management_parameters">http://www.ros.org/wiki/costmap_2d#Sensor_management_parameters</a><br>
<br>Hope this helps,<br><br>Eitan<br><br><div class="gmail_quote">On Fri, Jul 30, 2010 at 10:26 AM, Dan Lazewatsky <span dir="ltr"><<a href="mailto:lazewatskyd@cse.wustl.edu">lazewatskyd@cse.wustl.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">One solution might be to take your cliff sensor data and publish a fake laser scan when your sensors tell you there's a cliff.<div>
<br></div><div>-Dan<br><br><div class="gmail_quote">2010/7/30 Gonçalo Cabrita <span dir="ltr"><<a href="mailto:goncabrita@gmail.com" target="_blank">goncabrita@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">Hi everyone!<div><br></div><div>I was wondering if it would be possible to easily feed cliff sensor data into the navigation stack (without changing it) so that a robot could avoid stairs for example.</div>

<div><br></div><font color="#888888"><div>
Gonçalo Cabrita</div><div>ISR - University of Coimbra</div><div>Portugal</div>
</font><br></div></div>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">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>
<br></blockquote></div><br></div>
<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>
<br></blockquote></div><br>