Michael du Breuil
bd256afee4
AP_Scripting: extract a common argument check helper
...
Allows an easy additional flag for saving flash space
6 years ago
Michael du Breuil
84c2b18e43
AP_Scripting: Support enum types, add millis() remove manual GCS wrapper
...
This introduces enum types for range checking/returns, adds a millis(() call
(this returns a uint32_t), and moves over to an auto generated version of the GCS binding
6 years ago
Michael du Breuil
eddf926433
AP_Scripting: Add support for semaphore protection around singletons
...
This makes the assumption that the semaphore is available via reference, not pointer
For a singleton object this seems like a reasonable API restriction
6 years ago
Andrew Tridgell
6333494d99
HAL_ChibiOS: disable peripheral power on boot on fmuv3
...
then enable after 100ms, and let settle for 20ms. This is to fix an
issue with peripheral power on consistency with all fmuv3 boards
Thanks to Philip for the suggestion
6 years ago
Randy Mackay
0a5d6a430a
AP_NavEKF3: accept optical flow data at up to 50hz
6 years ago
Randy Mackay
e19d638c0f
AP_NavEKF2: support higher optical flow updates rates
6 years ago
Randy Mackay
5c99f02c15
AP_LandingGear: minor format fix
6 years ago
Tom Pittenger
fc710d8a81
RC_Channel: remove UINT16_MAX check, moved to mavlink handler
6 years ago
Tom Pittenger
4c641c6e2b
GCS_MAVLink: comply with mavlink spec to ignore rc_override UINT16_MAX
6 years ago
Andrew Tridgell
f46207499a
Copter: prevent reset on compassmot due to watchdog
6 years ago
Andrew Tridgell
ce9e9d8670
HAL_ChibiOS: end scheduler boost on expected delay
...
we want timer thread to be higher priority than main thread while in a
long operation
6 years ago
Rajat Singhal
2c519d5176
SITL: Fix to sync to JSBSim simulation time
...
SITL: Additional fix to remove time-lag in JSBSim
6 years ago
Rajat Singhal
dedb7e108f
SITL: Added <time> tag to JSBSim output directive
...
Instructs JSBSim to transmit current simulation time which is used to sync with Ardupilot
6 years ago
Rajat Singhal
2317e73e0b
SITL: JSBSim: Use rate_hz to specify timestep
6 years ago
Rajat Singhal
732f2e7a2e
SITL: Change JSBSim mode to Batch mode, specify nice sleeptime
...
Previously it was run in realtime mode which doesn't support iterate command. Without setting sleeptime, defaults to 0.01s which slows down a lot
6 years ago
Phillip Kocmoud
069d054e5c
AP_Baro.cpp: support DPS280 on SPI
6 years ago
Phillip Kocmoud
1f827004be
AP_Compass: Enable AK09916 inside the ICM20948
6 years ago
Phillip Kocmoud
9b43870ffe
Tools: auto-build mRoControlZeroF7
6 years ago
Phillip Kocmoud
6665e4c0a7
AP_InertialSensor: probe IMUs for mRoControlZeroF7
6 years ago
Phillip Kocmoud
a24bbe0b13
AP_Baro: support DPS280 on SPI
6 years ago
Phillip Kocmoud
db57b6c4f3
AP_HAL: added DPS280 on SPI / added board type for mRoControlZeroF7
6 years ago
Phillip Kocmoud
16f1ec8ce2
HAL_ChibiOS: added missing AF functions for F777
6 years ago
Phillip Kocmoud
9709401595
HAL_ChibiOS: added hwdef for mRoControlZeroF7
6 years ago
Andrew Tridgell
893b49d145
AP_InertialSensor: disable register checking in invensensev2 driver
...
register checking doesn't work for the banked registers used in the
invensensev2 register layout. It ends up setting the wrong register
value in some cases, which can either cause the sensor to stop working
or in the worst case give bad data
6 years ago
Peter Barker
e9c5034c54
Rover: fix build when rally points disabled
6 years ago
Randy Mackay
b3958ee2d0
Tools: rover default params sets WP_SPEED
6 years ago
Randy Mackay
8c034e6fa2
Rover: prepend _old to some unused param enums
6 years ago
Randy Mackay
d0a39e6114
Rover: fix notification in guided and rtl
6 years ago
Peter Barker
40f3f414cd
Rover: handle AR_WPNav failing to set desired location
6 years ago
Randy Mackay
20152dbdb7
Rover: fix logging of desired lateral acceleration
6 years ago
Randy Mackay
39418abafb
Rover: use AR_WPNAV_HEADING_UNKNOWN in place of local define
6 years ago
Randy Mackay
1f2500d268
Rover: follow uses local desired_yaw_cd
...
reducing dependency on shared _desired_yaw_cd with the hope that it can eventually be removed
also minor comment update for desired_yaw_cd
6 years ago
Randy Mackay
2b654983a9
Rover: yaw_error_cd becomes local variable in Loiter only
6 years ago
Randy Mackay
c4766ec143
Rover: remove speed_error that is never updated
6 years ago
Randy Mackay
75ba96b7a2
Rover: separate nudge from calc_throttle
...
This is required because AR_WPNav produces an acceleration adjusted desired speed meaning in rare cases where the vehicle is moving in reverse at the time auto is engaged, the desired speed may be temporarily negative as the vehicle slows. In these situations we do not want to allow the vehicle's speed to be nudged to a higher reverse speed if the pilot's throttle stick is all the way down
6 years ago
Randy Mackay
a94ebc5bc3
Rover: integrate navigation library
6 years ago
Randy Mackay
c3948bb074
Rover: add AR_WPNav to build
6 years ago
Randy Mackay
b0f0b16135
AR_WPNav: remove unnecessary temp variable
...
also heading-unknown made a const
also minor comment fix
also removed unused include
6 years ago
Peter Barker
6f97f56726
AR_WPNav: add WARN_IF_UNUSED to various methods, fix for same
6 years ago
Randy Mackay
56c344ae94
AR_WPNav: rover navigation library
6 years ago
Randy Mackay
4e68d16526
AR_AttitudeControl: use speed_control_active in get_desired_speed_accel_limited
...
also minor formatting fixes
this is a non-functional change
6 years ago
Randy Mackay
6d4d1bc20a
AR_AttitudeControl: add get_turn_rate_from_heading
6 years ago
Randy Mackay
8907b727f6
AR_AttitudeControl: add get_turn_rate_from_lat_accel
6 years ago
Peter Barker
d76894d883
Tools: autotest: drain mav before getting message rates, improve debug
6 years ago
Peter Barker
dd62489f5e
AC_PrecLand: stop ignoring return values on methods
6 years ago
Peter Barker
71d16557fa
AP_Common: Location: add WARN_IF_UNUSED to boolean methods
6 years ago
Matt Lawrence
e5bc18dbe8
Frame Params: Disable watchdog for Solo
...
Set BRD_OPTIONS to zero to disable watchdog on Solo with Copter 3.7-dev.
6 years ago
Matt Lawrence
4d1c1bd380
Frame Params: Update solo arming check params
...
No longer need to ignore logging prearm failure
6 years ago
Mark Whitehorn
34a1cf9528
Plane: move callback setup to QuadPlane::setup()
6 years ago
Peter Barker
fd19b257f9
Tools: autotest: print test failure summary at end of running all steps
6 years ago