Skip to content

Commit

Permalink
gyroscope: added calibrate service
Browse files Browse the repository at this point in the history
  • Loading branch information
pcdangio committed Mar 6, 2021
1 parent 39c9f79 commit 6aa8b6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ add_message_files(
# Add service files.
add_service_files(
FILES
calibrate_gyroscope.srv
set_axis_home.srv
get_proximity_configuration.srv
)
Expand Down
6 changes: 6 additions & 0 deletions srv/calibrate_gyroscope.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Requests a zero-velocity calibration of a gyroscope.

uint32 averaging_period # The number of milliseconds to average the bias calculation over.
---
bool success # TRUE if the calibration was successful, otherwise FALSE.
string message # If unsuccesful, reports the reason.

0 comments on commit 6aa8b6f

Please sign in to comment.