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:

Kevin’s Status Report for 10/31

This week I kept working on our first Gazebo mapping test while we get the physical robot ready. The idea is to drive a simulated robot around a simple room and use its LiDAR scans and odometry to build a map with SLAM Toolbox. Since we know where the walls are in Gazebo, I can check whether they show up in the right places on the map.

Our first robot is assembled, and Zhuoyi is getting ROS 2 set up on the Raspberry Pi. We’re about two weeks behind our original plan because of the hardware delays, but we’re still within our buffer.

Next week I want to get Gazebo and SLAM Toolbox running together and save my first simulated map. I also want to make two simple maps of the same room, one with an extra obstacle, so I can test whether our anomaly detector spots the difference.

Team Status Report for 10/31

This week we continued to work on robot assembly and now have one complete robot (with all electronics) and one partially complete robot (chassis complete but electronics not connected).

We should be past any hardware delays, unless one of our parts is found to be faulty. We have the cables and connectors to build one complete robot and to interact with the Raspberry PIs. Our work now is focused on building up the software stack on the computers.

Same as last week, these risks were managed by our buffer weeks allocated at the start, and we are still within our budget for extra time allocated. Our schedule/scope therefore has not changed.

We also discussed the ethics of our project further during the ethics lecture earlier this week.

Zhuoyi’s Status Report for 10/31

This week I worked on setting up the compute infrastructure. Initially both RPis were flashed with Raspberry Pi OS, but we ran into compatibility issues as ROS2 requires Ubuntu and Raspberry Pi OS is Debian-based. I then reflashed one of the board with Ubuntu Desktop 24.04. I am currently working on setting up the software stack on one board and confirming basic operations work before proceeding with the second board.

As we are roughly 2 weeks (our buffer allocation) behind our original plan due to hardware delays, this is on track with the current schedule. Next week I will complete the software setup and get the development started with connecting all of the identified software components.

Rachel’s Status Report for 10/31

I finalized the first robot assembly with the cables we ordered. As shown below, the full system is powered on by connecting to the battery. And to recharge the battery, we have the battery charger which we can connect to the port out of the back of the robot.

The new cable connections to the raspberry pi are shown below. We have power, and data now available to the pi.

Upon labelling the above diagram for your understanding, I realized that I completely forgot about hooking up the IMU while assembling this new chassis. So I soldered the pin header to the IMU and established a color coding for the Rpi connection. Red = 3.3V power, Black = GND, Blue = clock (connects to Rpi GPIO pin), Purple = data (connects to another Rpi GPIO pin).

I also ordered the second lidar sensor for our second bot and updated the BOM accordingly. We have ~$150 left in our course budget, which is ample wiggle room for unforeseen circumstances, but not enough for a full 3rd bot.

Next week, the to-dos for hardware are focused on assembling the second bot.

  • solder another IMU
  • screw parts to second chassis and wire components up

Rachel’s 10/24 Status Report

This week I assembled our first robot, minus some cables that we are waiting to arrive from shipping. Monday I assembled one of our two Yahboom chassis kits, Zhuoyi helped me with the other. Wednesday and Thursday I attached components and wired them together, determining the layout on the chassis.


See in the below image the bottom layer of the chassis:
– Raspberry Pi power conversion board (left)
– motor driver board (right)
– the battery goes in between the two, and it’s 12V power and ground attach to the two respective orange 3-wire connectors, splitting between the two boards

Below is a profile view of the top layer of the chassis, which will be attached by screws to the bottom layer (shown above). You can see the 2D 360 LiDAR on the left, and the Rpi5 attached. The Raspberry Pi is intentionally attached with smaller studs to ensure it is under the profile of the LiDAR and not interfering with sensing. Through a hole in the top chassis plate, power and encoder data will be plugged into the Rpi.

Team Status Report for 10/24

This week we worked on robot assembly, and this time all of our parts appear to be compatible and contains all of the features necessary for our project.

As usual, the most significant risks are hardware delays. In addition to the robot hardware replacement, we are also finding that we occasionally lack a single adapter or cable, and need to wait two days before we are able to make any more progress.

These risks were managed by our buffer weeks allocated at the start, and we are still within our budget for extra time allocated. Our schedule/scope therefore has not changed.

We also discussed the ethics of our project in preparation for the ethics lectures next week.

Zhuoyi’s Status Report for 10/24

This week, I focused on setting up the robot environment on the Raspberry Pis for the project. I flashed the 2 Pis with Raspberry Pi OS, but was blocked by the WiFi connection setup. Because CMU-Secure uses web-based authentication, we could not set up the connection during flashing, which means we would need to connect to the internet through a GUI. We are currently waiting on adapters to connect the 2 Pis to peripherals for this step, and cannot proceed until they arrive.

Specifically, we needed a micro-HDMI cable to connect the Pi to a display. We also ordered additional ethernet cables and adapters, as we read that the Pi could be connected via ethernet to a laptop directly for remote access.

Additionally, I also worked on the ethics assignment this week, and discussed with the team the ethical implications of our project.

My progress is still currently slightly behind due to the hardware delays, but we should be able to get the environment setup on the Pis and the libraries downloaded next week.