uf-mil / mil

Monorepo of the Machine Intelligence Lab at the University of Florida
https://mil.ufl.edu/docs
Other
46 stars 29 forks source link

1299 alexj boat drone comms #1304

Open alexoj46 opened 4 weeks ago

alexoj46 commented 4 weeks ago

Description

This PR creates a ROSSerialDevice called DroneCommDevice which allows Navigator to communicate with the drone. Also, it adds a test-suite for simulated packets.

Screenshot or Video

Screenshot 2024-10-30 at 7 25 36 PM Screenshot 2024-10-30 at 11 57 08 PM

Related Issues

- #1299

Testing

rosrun navigator_drone_comm test_simulated_drone.py

While "Testing receiving heartbeats for 5 secs..."

While the long test loop runs

To test services that send messages:

Now, while the long test runs:

rosservice call /test_simulated_drone/start “sample_mission” rosservice call /test_simulated_drone/estop rosservice call /test_simulated_drone/stop

About This PR