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

Commit

Permalink
Add comments to localization
Browse files Browse the repository at this point in the history
  • Loading branch information
Flova committed Nov 2, 2023
1 parent 64f6804 commit de3d2fb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
25 changes: 15 additions & 10 deletions bitbots_localization/srv/ResetFilter.srv
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
1 change: 1 addition & 0 deletions bitbots_localization/srv/SetPaused.srv
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

0 comments on commit de3d2fb

Please sign in to comment.