rangeSensor
Description
The rangeSensor
System object™ is a range-bearing sensor that is capable of outputting range and angle
measurements based on the given sensor pose and occupancy map. The range-bearing readings are
based on the obstacles in the occupancy map.
To simulate a range-bearing sensor using this object:
Create the
rangeSensor
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Description
returns a
rbsensor
= rangeSensorrangeSensor
System object, rbsensor
. The sensor is
capable of outputting range and angle measurements based on the sensor pose and an
occupancy map.
sets properties for the sensor using one or more name-value pairs. Unspecified properties
have default values. Enclose each property name in quotes.rbsensor
= rangeSensor(Name,Value
)
Properties
Usage
Description
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
Extended Capabilities
Version History
Introduced in R2020b
See Also
occupancyMap
(Navigation Toolbox) | binaryOccupancyMap
(Navigation Toolbox) | lidarScan