M-File Help: Sensor | View code for Sensor |
Sensor superclass
An abstact superclass to represent robot navigation sensors.
display | print the parameters in human readable form |
char | convert to string |
robot | The Vehicle object on which the sensor is mounted |
map | The Map object representing the landmarks around the robot |
Robotics, Vision & Control, Peter Corke, Springer 2011
Sensor object constructor
s = Sensor(vehicle, map) is a sensor mounted on the Vehicle object vehicle and observing the landmark map map. s = Sensor(vehicle, map, R) is an instance of the Sensor object mounted on a vehicle represented by the object vehicle and observing features in the world represented by the object map.
Convert sensor parameters to a string
s = S.char() is a string showing sensor parameters in a compact human readable format.
Display status of sensor object
S.display() displays the state of the sensor object in human-readable form.
© 1990-2012 Peter Corke.