Randy Mackay
e04de34014
GCS_MAVLink: add local time to VISP message
...
Adding both local and remote time is useful for providing support for this message because misaligned clocks lead to our EKF discarding the message
2018-05-10 08:29:30 +09:00
mirkix
95fbc222d5
AP_HAL_Linux: enable GPIOs for PocketPilot
2018-05-09 16:16:42 -07:00
mirkix
8c36635a8c
AP_HAL: LED GPIOs for final PocketPilot design
2018-05-09 16:16:42 -07:00
Randy Mackay
3d1c078a44
Rover: steering mode uses turn rate control when stopped
2018-05-10 08:02:13 +09:00
Randy Mackay
0a29e4eac5
Rover: fix calc-steering-to-waypoint go use real heading without reverse
2018-05-10 08:02:13 +09:00
Randy Mackay
3645e18243
Rover: acro and steering use get_pilot_desired_steering_and_speed
2018-05-10 08:02:13 +09:00
Randy Mackay
957458ca56
Rover: add get_pilot_desired_steering_and_speed
...
Also fix reversed steering response where throttle or acceleration limiting leads to throttle output being in the opposite direction from pilot's throttle input
2018-05-10 08:02:13 +09:00
Randy Mackay
ef2223a712
Rover: integrate attitude control change to steering output and scaling
...
steering output is always positive for clockwise
steering is scaled in motors library meaning we do not need to tell attitude controller about skid-steering or vectored-thrust
2018-05-10 08:02:13 +09:00
Randy Mackay
0830e057e0
Rover: manual mode outputs unscaled steering
2018-05-10 08:02:13 +09:00
Randy Mackay
6b6c0f04b6
Rover: get_pilot_desired_steering_and_throttle returns steering assuming positive is always clockwise
2018-05-10 08:02:13 +09:00
Randy Mackay
a061203eaf
Rover: pass ground speed to motors lib for scaling of steering
2018-05-10 08:02:13 +09:00
Randy Mackay
fa76a7c904
AR_AttitudeControl: get-steering-out-lat-accel uses negative speeds
2018-05-10 08:02:13 +09:00
Randy Mackay
5563691bd1
AR_AttitudeControl: assume positive steering output rotates vehicle clockwise
...
also remove steering scaling by speed which has been moved to AR_MotorsUGV
2018-05-10 08:02:13 +09:00
Randy Mackay
d018a9334e
AP_MotorsUGV: add get_slew_limited_throttle
...
required by vehicle code to properly handle steering direction in cases where the driver's input throttle has the opposite sign from output throttle because throttle is being slew limited
2018-05-10 08:02:13 +09:00
Randy Mackay
3db2cc700e
AP_MotorsUGV: positive steering always rotates vehicle right
...
also scale steering down with increased speed for regular rovers
add support for disabling scaling of steering
2018-05-10 08:02:13 +09:00
Randy Mackay
8137001a86
AP_MotorsUGV: minor comment fix
2018-05-10 08:02:13 +09:00
Peter Barker
524d63522a
Sub: move sending of battery data up
2018-05-09 11:40:31 -07:00
Peter Barker
8da8c616f6
Plane: move sending of battery data up
2018-05-09 11:40:31 -07:00
Peter Barker
ec6fb0c612
Copter: move sending of battery data up
2018-05-09 11:40:31 -07:00
Peter Barker
b38d23d542
Rover: move sending of battery data up
2018-05-09 11:40:31 -07:00
Peter Barker
347ab96bf0
GCS_MAVLink: move sending of battery data up
...
Also, use singleton to get battery object
2018-05-09 11:40:31 -07:00
Pierre Kancir
507f4d688b
SITL: Instance number change MavID
2018-05-09 22:00:42 +10:00
Peter Barker
b46379b3f3
Tracker: move data stream send up
2018-05-09 16:15:38 +10:00
Peter Barker
5674a68457
Sub: move data stream send up
2018-05-09 16:15:38 +10:00
Peter Barker
0fec702ba6
Plane: move data stream send up
2018-05-09 16:15:38 +10:00
Peter Barker
a692acad81
Rover: move data stream send up
2018-05-09 16:15:38 +10:00
Peter Barker
e90ce4ced9
Copter: move data stream send up
2018-05-09 16:15:38 +10:00
Peter Barker
417e9e9aaf
GCS_MAVLink: move data stream send up
2018-05-09 16:15:38 +10:00
Peter Barker
8d7fadfdfc
GCS_MAVLink: set _initialised as last thing
2018-05-09 16:15:38 +10:00
Peter Barker
133b9930a6
Sub: make scheduler track whether it has called the delay callback
2018-05-09 16:15:38 +10:00
Peter Barker
e10c23bd43
Plane: make scheduler track whether it has called the delay callback
2018-05-09 16:15:38 +10:00
Peter Barker
a386c6100c
Tracker: make scheduler track whether it has called the delay callback
2018-05-09 16:15:38 +10:00
Peter Barker
dee40f3fe5
Copter: make scheduler track whether it has called the delay callback
2018-05-09 16:15:38 +10:00
Peter Barker
a78fe0896f
Rover: make scheduler track whether it has called the delay callback
2018-05-09 16:15:38 +10:00
Peter Barker
864f41406d
AP_HAL_VRBRAIN: move delay callback handling to base HAL Scheduler class
2018-05-09 16:15:38 +10:00
Peter Barker
190bd18769
AP_HAL_SITL: move delay callback handling to base HAL Scheduler class
2018-05-09 16:15:38 +10:00
Peter Barker
31621ee21e
AP_HAL_QURT: move delay callback handling to base HAL Scheduler class
2018-05-09 16:15:38 +10:00
Peter Barker
83bb6e4a9a
AP_HAL_PX4: move delay callback handling to base HAL Scheduler class
2018-05-09 16:15:38 +10:00
Peter Barker
d5cad015dc
AP_HAL_Linux: move delay callback handling to base HAL Scheduler class
2018-05-09 16:15:38 +10:00
Peter Barker
f2d73bb9b0
AP_HAL_F4Light: move delay callback handling to base HAL Scheduler class
2018-05-09 16:15:38 +10:00
Peter Barker
ae56cbc302
AP_HAL_Empty: move delay callback handling to base HAL Scheduler class
2018-05-09 16:15:38 +10:00
Peter Barker
b2a81405ea
AP_HAL_ChibiOS: move delay callback handling to base HAL Scheduler class
2018-05-09 16:15:38 +10:00
Peter Barker
0ad53e53eb
AP_HAL: move delay callback handling to base HAL Scheduler class
...
This allows us to move a lot of delay handling from vehicle classes into
HAL Scheduler.
The most notable improvement is that it moves the detection of recursion
into the Scheduler, out of each separate vehicle.
2018-05-09 16:15:38 +10:00
Randy Mackay
468fc26e31
Rover: version to 3.4.0-dev
2018-05-09 13:32:50 +09:00
Peter Barker
58f4b4b65d
Tools: autotest: correct copter auto mission test
2018-05-09 14:23:51 +10:00
Peter Barker
513865ae4d
Tools: autotest: flake8 compliance
2018-05-09 14:23:51 +10:00
Karthik Desai
40cd0cd17f
Tools: autotest: Use the generic run_test.
...
If any of the tests throws an exception, it will be caught by the generic test function
that collects all errors and displays them before passing the result to the vehicle testcode.
Hence the name of the test and the exception that got raised get printed in a single
location. This nicely reduces code duplication.
2018-05-09 14:23:45 +10:00
Karthik Desai
7a20dd8b73
Tools: autotest: Added a generic run_test.
...
This function is called from every vehicle to run a test. If any of the tests throws an exception, it will be caught here, and the name of the test and the exception that got raised will be added to the fail_list
2018-05-09 14:23:40 +10:00
Karthik Desai
b485867db3
Tools: autotest: Check if the mode exists in the dictionary
2018-05-09 14:23:35 +10:00
Karthik Desai
d26c09ccac
Tools: autotest: Add and raise exceptions for wait_* helper functions
2018-05-09 14:23:26 +10:00