Zhuoyi’s Status Report for 11/07

This week I worked on finishing setting up the dev environment, verifying sensor inputs, and building a preliminary demo in preparation for the interim demos next week.

I build unit test modules for performing the following actions:

  • Control left and right motors
  • Read input from encoder
  • Read input from IMU
  • Read and display LiDAR scan data

The demo scripts take all of the sensor input, run them through an EKF for localization, and use it as an input into slam-toolbox, which builds a map of the environment. For now, the demo runs on one robot only, and motors are still controlled manually via WASD keyboard input. The output map is published to a web view address.

Below is a mapping of the HH 1300 wing captured by manually driving the robot through the hallway:

The resulting mapping is reasonably good for a first pass, and was performed with a slightly unstable IMU mount, which likely contributed to the slightly fuzzy walls at the far left and right edges, as the EKF may have drifted during the back-and-forth the long hallway drives.

I am currently on schedule and next week I will work on refining the demo script to hopefully get a more accurate mapping and begin work on the autonomous navigation and driving portion of the project. If there is time, I can also try to start work on the second robot.

Kevin’s Status Report for 11/7

This week I worked on getting SLAM Toolbox running in simulation and started working on map comparison for anomaly detection. I set up a Docker environment with ROS 2, Gazebo, SLAM Toolbox, and RViz. We can open the simulation through a browser and test mapping without needing the physical robot.

I tested moving the simulated robot, watching the map update, saving maps, and recording ROS data. I also wrote down the commands for running everything so the rest of the team can use the setup.

Since Zhuoyi has SLAM working on the physical robot, I also started working on comparing an expected map with a map of the current environment. The code detects where obstacles have been added or removed and reports their locations and sizes. To test this, I made simple fake room maps with obstacles in known positions.

The output shows the expected map, observed map, and detected changes side by side. I tested adding, removing, and moving obstacles, as well as maps where some areas haven’t been observed yet. This checks that missing information doesn’t get mistaken for an obstacle being removed. I also added support for comparing maps with different sizes and orientations when we know how they line up.

The simulation and basic map comparison are working, but I still need to test the detector with real robot maps. Next week, I plan to work with Zhuoyi on getting saved maps to compare and continue testing what happens when the maps don’t line up perfectly or have unexplored areas.

Rachel’s Status Report for 11/7

This week I assembled our second bot. I soldered the second IMU, attached the motor board, rpi power board, battery, interconnects, and second LiDAR sensor, as on the first bot.

Before next week’s Interim Demo, I will be sourcing cardboard boxes to act as obstacles where we plan to demonstrate driving and LiDAR sensing, as well as SLAM in a simulation.

While assembling the second bot, I realized an issue with my rushed IMU mounting from last week on the first bot. The IMU, being an acceleration and rotation sensor, needs secure mounting that holds it perfectly in place relative to the movement of the robot, otherwise readings will be inaccurate. Additionally, the wires connecting the IMU to the Rpi were reaching far into the air, crossing the plane in which the LiDAR scans, meaning these wires would show up on the robot’s LiDAR readings no matter where it went. Also, it’s ideal to have the IMU completely horizontal relative to the chassis, in addition to being secure, so that we don’t have to add extra calculation considerations for a crooked IMU. See the poor IMU mounting job done on the first bot below.

And so I solved these issues on the second bot. I tied down the wires to ensure they don’t interfere with LiDAR readings, and mounted the IMU securely and horizontally to the front of the chassis, where there was extra room. See visuals of the second bot below: