Sensor Models
Perform sensor modeling and simulation for accelerometers, magnetometers, gyroscopes, altimeters, GPS, IMU, and range sensors. Analyze sensor readings, sensor noise, environmental conditions and other configuration parameters. Generate trajectories to emulate these sensors traveling through a world and calibrate the performance of your sensors.
To fuse multiple sensors or use other localization algorithms, see Localization and Pose Estimation.
Functions
Objects
gnssSensor | Simulate GNSS to generate position and velocity readings |
gnssMeasurementGenerator | Simulate GNSS measurements for scenarios |
altimeterSensor | Altimeter simulation model |
gpsSensor | GPS receiver simulation model |
imuSensor | IMU simulation model |
insSensor | Inertial navigation system and GNSS/GPS simulation model |
rangeSensor | Simulate range-bearing sensor readings |
wheelEncoderUnicycle | Simulate wheel encoder sensor readings for unicycle vehicle |
wheelEncoderBicycle | Simulate wheel encoder sensor readings for bicycle vehicle |
wheelEncoderDifferentialDrive | Simulate wheel encoder sensor readings for differential drive vehicle |
wheelEncoderAckermann | Simulate wheel encoder sensor readings for Ackermann vehicle |
kinematicTrajectory | Rate-driven trajectory generator |
timescope | Display time-domain signals |
waypointTrajectory | Waypoint trajectory generator |
nmeaParser | Parse data from standard and manufacturer-specific NMEA sentences sent from marine electronic devices |
gpsdev | Connect to a GPS receiver connected to host computer |
Topics
- Model IMU, GPS, and INS/GPS
Model combinations of inertial sensors and GPS
- Inertial Sensor Noise Analysis Using Allan Variance
This example shows how to use the Allan variance to determine noise parameters of a MEMS gyroscope.
- Wheel Encoder Error Sources
Explore the various error sources of wheel encoders and how they affect the wheel odometry estimate.
- Remove Bias from Angular Velocity Measurement
This example shows how to remove gyroscope bias from an IMU using
imufilter
. - Configure Time Scope MATLAB Object
Customize
timescope
properties and use measurement tools. - Simulate Inertial Sensor Readings from a Driving Scenario
Generate synthetic sensor data from IMU, GPS, and wheel encoders using driving scenario generation tools from Automated Driving Toolbox™.
- Analyze GPS Satellite Visibility
This example shows how to simulate and analyze GPS satellite visibility at specified receiver positions and times using a GPS ephemeris or almanac file.
- Simulate GPS Sensor Noise
This example shows how to use the GPS block to add GPS sensor noise to position and velocity inputs in Simulink®.
- Simulate INS Block
In this example, you simulate an INS block by using the pose information of a vehicle undertaking a left-turn trajectory.