This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
# Service to initialize localization | ||
|
||
# Request | ||
# Localization mode (e.g. START_RIGHT) | ||
int64 init_mode | ||
float32 x | ||
float32 y | ||
float32 angle | ||
|
||
# Some modes (e.g. POSITION) require additional information | ||
float32 x # in meters | ||
float32 y # in meters | ||
float32 angle # in radians | ||
|
||
# Constants | ||
int64 START_RIGHT=0 | ||
int64 LEFT_HALF=1 | ||
int64 RIGHT_HALF=2 | ||
int64 POSITION=3 | ||
int64 POSE=4 | ||
int64 START_RIGHT=0 # Start at the sideline on the right half facing inwards (default game start) | ||
int64 LEFT_HALF=1 # Start somewhere on the left half | ||
int64 RIGHT_HALF=2 # Start somewhere on the right half | ||
int64 POSITION=3 # Start at a specific position with unknown orientation | ||
int64 POSE=4 # Start at a specific position and orientation | ||
|
||
--- | ||
bool success | ||
|
||
bool success # True if the localization was initialized successfully |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# Pauses and unpauses the localisation system e.g. if the robot falls down. | ||
bool paused | ||
--- | ||
bool success |