1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00

Merge pull request #5655 from harkal/adjustable_control_smoothness

Adjustable control smoothness for fixed wing navigation
This commit is contained in:
Konstantin Sharlaimov 2020-05-04 10:13:17 +02:00 committed by GitHub
commit 1df52a93d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 24 additions and 5 deletions

View file

@ -80,7 +80,7 @@ radar_pois_t radar_pois[RADAR_MAX_POIS];
PG_REGISTER_ARRAY(navWaypoint_t, NAV_MAX_WAYPOINTS, nonVolatileWaypointList, PG_WAYPOINT_MISSION_STORAGE, 0);
#endif
PG_REGISTER_WITH_RESET_TEMPLATE(navConfig_t, navConfig, PG_NAV_CONFIG, 6);
PG_REGISTER_WITH_RESET_TEMPLATE(navConfig_t, navConfig, PG_NAV_CONFIG, 7);
PG_RESET_TEMPLATE(navConfig_t, navConfig,
.general = {
@ -143,6 +143,7 @@ PG_RESET_TEMPLATE(navConfig_t, navConfig,
.max_dive_angle = 15, // degrees
.cruise_throttle = 1400,
.cruise_speed = 0, // cm/s
.control_smoothness = 0,
.max_throttle = 1700,
.min_throttle = 1200,
.pitch_to_throttle = 10, // pwm units per degree of pitch (10pwm units ~ 1% throttle)