Software for the 2022 Midwest Robotics Design Competition
# Run these from the base MRDC directory
# If you get a permission error, run: chmod u+x scripts/build.sh
./scripts/build.sh
source mrdc_ws/install/setup.sh
To run the ardunio code purely on the robot, use the following:
ros2 launch mrdc_launch serial.xml
To run the ardunio code purely on the robot with the gui, use the following:
ros2 launch mrdc_serial serialwithgui.xml
To run the remote code (typically the remote computer), use the following:
ros2 launch mrdc_launch remote.xml
If you are running everything on one computer, use the following:
ros2 launch mrdc_launch primary.xml
When using VSCode to edit this project, you may find the custom ROS2 messages have no types. A solution to this problem is to source the install file and then open VSC via the console.
# This is taking place from the root of the project (MRDC22) NOT (MRDC/mrdc_ws)
# If you have not built before, run the building step above
source mrdc_ws/install/setup.sh
code .
For the drivetrain, use the left and right thumbsticks
For the launcher, elevator and intake use the X, Y and B buttons
The website is hosted locally at: http://127.0.0.1:5000