Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a write parameter for the Mock Global Path node #223

Merged
merged 6 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion src/global_launch/config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,27 @@ ROS parameters specific to the nodes in the local_pathfinding package.
**`interval_spacing`**

- _Description_: The upper bound on spacing between each point in the global path in km.
- _Datatype_: `float`
- _Datatype_: `double`
- _Range_: `(0.0, MAX_DOUBLE)`

**`write`**

- _Description_: Whether or not to write a generated global path to a new csv file.
- _Datatype_: `boolean`
- _Acceptable Values_: `true`, `false`

**`gps_threshold`**
SPDonaghy marked this conversation as resolved.
Show resolved Hide resolved

- _Description_: A new path will be generated if the GPS position changed by more thangps_threshold*interval_spacing.
- _Datatype_: `double`
- _Acceptable Values_: `(1.0, MAX_DOUBLE)`

**`force`**

- _Description_: Force the mock global path callback to update the global path when set to true.
- _Datatype_: `boolean`
- _Acceptable Values_: `true`, `false`

## Boat Simulator Parameters

ROS parameters specific to the nodes in the boat simulator.
Expand Down
3 changes: 3 additions & 0 deletions src/global_launch/config/globals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ mgp_main:
ros__parameters:
global_path_filepath: "/workspaces/sailbot_workspace/src/local_pathfinding/global_paths/mock_global_path.csv"
interval_spacing: 30.0
write: false
gps_threshold: 1.5
force: false

# boat_simulator parameters
low_level_control_node:
Expand Down