Skip to content

Commit

Permalink
Calibrate RC min/max for AT9S
Browse files Browse the repository at this point in the history
  • Loading branch information
shengwen-tw committed May 25, 2024
1 parent 700ccae commit 3bae5ff
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions drivers/devices/sbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
#include <kernel/time.h>

/* TODO: Stored in adjustable parameter list */
#define RC_THROTTLE_MAX 1680
#define RC_THROTTLE_MIN 368
#define RC_THROTTLE_MAX 1693
#define RC_THROTTLE_MIN 306

#define RC_ROLL_MAX 1680
#define RC_ROLL_MIN 366
#define RC_ROLL_MAX 1693
#define RC_ROLL_MIN 306

#define RC_PITCH_MAX 1680
#define RC_PITCH_MIN 368
#define RC_PITCH_MAX 1693
#define RC_PITCH_MIN 306

#define RC_YAW_MAX 1680
#define RC_YAW_MIN 371
#define RC_YAW_MAX 1693
#define RC_YAW_MIN 306

#define RC_SAFETY_MAX 1904
#define RC_SAFETY_MIN 144
#define RC_SAFETY_MAX 1694
#define RC_SAFETY_MIN 306

#define RC_THROTTLE_RANGE_MAX 100.0f
#define RC_THROTTLE_RANGE_MIN 0.0f
Expand Down

0 comments on commit 3bae5ff

Please sign in to comment.