Robotics Playground – Object Sensor

Description
This block returns information from all the objects that are in the field of vision of the sensor.
The output of this block is a variable sized depending on the number of objects that are in sight.
This block outputs the [angles ranges labels] of the identified objects. Connect the output of this block to the “Pick Color” block within the Robotics Playground library to obtain information about a nearest object.
Parameters
Robot ID: Number identifying the robot for which the sensor will be attached to.
Maximum Range: Maximum distance in meters detected by
the sensor
Sensor Field of View: Field of view in degrees symmetric with respect to forward facing sensor orientation.
Sensor Position Offset: Position offset in meters relative to the center of the robot
Sensor Orientation Offset: Orientation offset in degrees relative to the forward-facing position of the robot
Sensor sample time: Time step interval at which the sensor updates the output values
|
Parameters |
Output |
|
|
|