gt-marine-robotics-group / Pontus

The GT Marine Robotics Group's software for RoboSub.
1 stars 0 forks source link

Buoy Task #50

Open Jeff300fang opened 1 month ago

Jeff300fang commented 1 month ago

Overview

image

The buoy task comes after the gate task. This task requires our robot to circumnavigate the buoy in a certain direction.

Functional Requirements

This issue is focused on detecting the vertical marker and passing around it. The functional requirements are as follows:

Relevant ROS topics

Relevant ROS Topics that may be useful to publish/subscribe to

Implementation

  1. Slowly head straight. The sensor that should catch the buoy first should be the sonoptix. The ping360 may find it as well, but we will just have to see during testing.
  2. Once you get relatively close to the buoy (2m), it should be fairly visible to the camera.
  3. Once you have found the buoy navigate around the buoy based on a variable that will indicate the direction it should go around

Testing

To test your code, you can run your code against the sub simulation. Running the simulation will also be very useful to see what the output of certain topics are, such as the camera, and how publishing to certain topics affects the sub. To run the simulation:

Go to your workspace directory and build your project.

 colcon build
 source install/setup.bash

Start the simulation:

 ros2 launch pontus_bringup odom_simulation.launch.py

And then in another terminal you can run your code:


 ros2 run pontus_autonomy YOUR_NODE_HERE