Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

Files

Latest commit

7e1d4ce · Jul 6, 2023

History

History

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 21, 2021
May 16, 2021
Oct 21, 2021
Oct 21, 2021
Aug 24, 2022
Jul 11, 2021
Mar 1, 2020
Aug 28, 2022
Nov 6, 2020
Apr 24, 2020
Jul 10, 2021
Aug 4, 2022
Nov 6, 2020
Sep 14, 2021
May 16, 2021
Aug 28, 2022
Nov 15, 2020
Aug 28, 2022
Jul 10, 2021
May 16, 2021
Aug 28, 2022
Aug 24, 2022
May 16, 2021
Jul 11, 2021
Aug 24, 2022
Aug 6, 2022
Jul 6, 2023

README.md

How to add and delete boats

Ensure all nodes are launched. Use roslaunch local_pathfinding all.launch

Add Boats

Type rostopic pub /new_boats ... and press Tab twice to generate a message template and fill in the parameters for the ship you would like to add.

Delete Boats

Type rostopic pub /delete_boats and press Tab twice. Fill in the ID of the boats you want to remove.

Add boats using other methods

Type rostopic pub /boat_on_path ... and press Tab twice.

specify the addType as one of the following options:

  1. addType = latlon will just publish a boat with the specified parameters in addBoat.ship

  2. addType = nextWaypoint will publish a boat at the next localWaypoint with the specified ID, heading, and speed in addBoat.ship (lat lon params are ignored)

  3. addType = onBoat will publish a boat at the current location of the Sailbot with the specified ID, heading, and speed in addBoat.ship (lat lon params are ignored)

  4. addType = index will publish a boat at localPath[addBoat.waypointIndex] with the specified ID, heading, and speed in addBoat.ship (lat lon params are ignored)