July 8, 2024

Today, I began by working on the AprilTag calibration error from before. From Professor Tron, I learned that I couldn't commit my calibration data, but rather I would need to save it and copy it into a folder. Specifically, I unzipped a .tar.gz file, moved the contents with all of the calibration data into a new folder in "/home/ubuntu/.ros", and changed the name of the .yaml file to "usb_2.0_camera:_usb_camera.yaml" so that it corresponded with the camera's name. 

Then, I had some issues with the "camera_launch.py" and "apriltag_launch.py" files. When I ran both files, nothing was happening. Supposedly, the camera node would be publishing a topic that the AprilTag node would be subscribed to, but Professor Tron noticed that the camera node published a different topic that the AprilTag node was subscribed to. After fixing that, the camera was able to detect the AprilTag.

At the end of the day, I received a new Libre computer from Professor Tron. After Tom flashed the SD card again, I was able to smoothly boot up the new ROSBot. Now, I have the two working ROSBots that I need for my project.

Now, I need to consider what to do next. I will first copy over some of the code from the first ROSBot to the second, such as "motor_command.py" and "key_op.py". I will also follow the same steps to install the AprilTag packages on the second ROSBot. After, I think that I will focus on being able to control both robots at the same time, but maybe there are better ways to continue.

Comments

Popular posts from this blog

July 25, 2024

August 7, 2024