Cuboid Scenario Simulation
Create and simulate low-fidelity scenarios using the robotScenario
object and sensor models such as GPS and lidar to
test your robotics algorithms.
Functions
Fixed-Rate Execution
rateControl | Execute loop at fixed frequency |
statistics | Statistics of past execution periods |
waitfor | Pause code execution to achieve desired execution rate |
reset | Reset Rate object |
Robotics Cuboid Scenario and Tools
robotScenario | Generate robot simulation scenario (Since R2022a) |
robotPlatform | Create robot platform in scenario (Since R2022a) |
robotSensor | Sensor for robot scenario (Since R2022a) |
extendedObjectMesh | Mesh representation of extended object (Since R2022a) |
pointCloud | Object for storing 3-D point cloud (Since R2022a) |
Sensor Models
gpsSensor | GPS receiver simulation model (Since R2022a) |
insSensor | Inertial navigation system and GNSS/GPS simulation model (Since R2022a) |
robotLidarPointCloudGenerator | Generate point cloud from meshes (Since R2022a) |
createCustomRobotSensorTemplate | Create sample implementation for robot custom sensor interface (Since R2022b) |
robotics.SensorAdaptor | Custom robot sensor interface (Since R2022b) |
Transformation Trees
transformTree | Define coordinate frames and relative transformations (Since R2022a) |
getGraph | Graph object representing tree structure (Since R2022a) |
getTransform | Get relative transform between frames (Since R2022a) |
info | List all frame names and stored timestamps (Since R2022a) |
removeTransform | Remove frame transform relative to its parent (Since R2022a) |
show | Show transform tree (Since R2022a) |
updateTransform | Update frame transform relative to its parent (Since R2022a) |
Topics
- Execute Code at a Fixed-Rate
By executing code at constant intervals, you can accurately time and schedule tasks.
Featured Examples
Simulate Ultrasonic Sensors Mounted on Mobile Robots
Implement a custom sensor adaptor to integrate ultrasonic sensors with
robotScenario
for mobile robot positioning at a
charging station.
Perform Path Planning Simulation with Mobile Robot
Create a scenario to model a mobile robot, obtain an occupancy grid map
from the scenario and perform path planning using
mobileRobotPRM
.
Perform Pick and Place with Collision-Object-Based Obstacle Avoidance in Robot Scenario
Create a collision-object meshes scene and add rigid body tree model to plan motion with RRT and simulate pick-and-place workflow.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)