Main Content
sim3d.sensors.UltrasonicSensor
Description
Use the sim3d.sensors.UltrasonicSensor
object to implement an ultrasonic sensor in
a 3D environment. After you create a sim3d.sensors.UltrasonicSensor
object, you can modify
aspects of the actor object by setting property values.
Creation
Syntax
Description
creates a default ultrasonicSensor
= sim3d.sensors.UltrasonicSensor()sim3d.sensors.UltrasonicSensor
object in the 3D environment.
specifies options using one or more optional name-value arguments. For example, to create
a lidar sensor with a range of 4 meters, set ultrasonicSensor
= sim3d.sensors.UltrasonicSensor(Name=Value
)Range
to
4
.
Input Arguments
Properties
Object Functions
read | Return target detections using ultrasonic sensor |
Version History
Introduced in R2024b