Lab 11: Localization on the Real Robot
Running the Bayes filter update step on the real car against a uniform prior, localizing from a single 360-degree scan of 18 range readings.
See all tags
10 posts in total
Running the Bayes filter update step on the real car against a uniform prior, localizing from a single 360-degree scan of 18 range readings.
Reusing the orientation PID controller to spin the robot in place at set poses and assemble a map of the arena from ToF scans.
Engineering a two-phase state machine for the flip stunt with a Kalman-triggered transition, then pivoting to the drift task.
Estimating drag and mass to build a state-space model of the robot, then running a Kalman filter to interpolate between slow ToF readings.
A yaw PID controller for in-place rotation with differential drive, mitigating gyroscope drift and derivative kick.
A linear PID controller that drives the robot to a stop 304 mm from a wall, using linear extrapolation to decouple the control loop from the slower ToF sample rate.
Wiring dual motor drivers to the Artemis PWM pins, calibrating the drivetrain, and running open-loop maneuvers on the untethered car.
Permanently wiring two VL53L1X time-of-flight sensors, working around their shared I2C address, and streaming distance data over Bluetooth alongside the IMU.
Integrating a 9DOF IMU, computing orientation from accelerometer and gyroscope data, characterizing noise in the frequency domain, and fusing the two estimates with a complementary filter.
Setting up the SparkFun RedBoard Artemis Nano, verifying the serial, analog-read and PDM microphone examples, then building a BLE command-and-notify link between the board and my laptop.