Commit Graph

33860 Commits

Author SHA1 Message Date
Siddharth Purohit
ca54123b7d AP_GPS: move UAVCAN GPS related code to AP_GPS_UAVCAN backend 2018-08-29 22:54:59 +01:00
Siddharth Purohit
6e85003b56 AP_BattMonitor: move BattInfo message subscription and handling to AP_BattMonitor 2018-08-29 22:54:59 +01:00
Siddharth Purohit
14b701cff8 AP_Compass: move UAVCAN mag subscribers and handlers to Compass Backend 2018-08-29 22:54:59 +01:00
Siddharth Purohit
5ef5537371 AP_Baro: move Baro UAVCAN subscribers and handlers to AP_Baro_UAVCAN 2018-08-29 22:54:59 +01:00
Andrew Tridgell
62fbe13690 AP_UAVCAN: send ESCs when disarmed
we should only be checking the safety state
2018-08-29 22:54:59 +01:00
Siddharth Purohit
0125b2cdd2 AP_UAVCAN: remove UAVCAN sensors related code 2018-08-29 22:54:59 +01:00
Siddharth Purohit
f01cc254d3 AP_UAVCAN: add Callback API to link UAVCAN backend callbacks 2018-08-29 22:54:59 +01:00
Andrew Tridgell
c79650a8d8 AP_Notify: fixed remote play tune 2018-08-29 13:47:20 +10:00
Arjun Vinod
78be026d83 Copter: fixed typo 2018-08-29 09:36:58 +09:00
Patrick José Pereira
fc1f2e4109 Tools: Update BARO_RND in sub param
From MS5837-30BA Ultra Small Gel Filled Pressure Sensor datasheet
The measurement depth system has a water depth resolution of 2 mm.

A standard deviation of 1.951 cm was the best result in experimental conditions

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-28 15:12:46 -04:00
Michael du Breuil
80597d5cba RC_Channel: Fix accidental quantization of override_timeout to 1 second 2018-08-28 14:18:54 +10:00
Randy Mackay
9d4ce91406 Copter: 3.6.0-rc8 release notes 2018-08-28 11:05:34 +09:00
Michael du Breuil
3098744777 Plane: Fix a stale rudder input that was left from rebase 2018-08-28 10:44:17 +10:00
Randy Mackay
3e8d9f4131 RangeFinder: shorten comment 2018-08-28 09:23:38 +09:00
Randy Mackay
88a230e897 Rover: DPTH message only written if range finder last read time changed 2018-08-28 09:23:38 +09:00
Randy Mackay
1b0f0a7559 AP_RangeFinder: support last_reading_ms
Benewake, LeddarOne, LightWareSerial, MAVLink, MaxsonarI2CXL, MaxsonarSerialLV, NMEA, PX4_PWM, uLanding and Wasp already stored the last read time so for these drivers, this change just moves that storage to the state structure
analog, BBB_PRU, Bebop, LightWareI2C, PulsedLightLRF, TeraRangerI2C, VL53L0X did not store the last read time so this was added
2018-08-28 09:23:38 +09:00
Randy Mackay
9e27b93538 AP_RangeFinder: move some backend implementations to cpp file 2018-08-28 09:23:38 +09:00
Randy Mackay
9a7b378ddd AP_RangeFinder: minor format change
lines up with parameter variables below
2018-08-28 09:23:38 +09:00
Michael du Breuil
e878558d41 AP_Mission: Reduce the number of places _set_cmd is called from 2018-08-28 10:01:36 +10:00
Peter Barker
43f3d611b2 AP_Math: pragma away the float-equal test for the maths tests
There are legitimate reasons for doing direct equivalence in these files
2018-08-28 09:54:47 +10:00
Peter Barker
3e9294a2ae SITL: eliminate float-equals issues 2018-08-28 09:54:47 +10:00
Peter Barker
8fee27937a AP_Math: eliminate SITL float-equals issues 2018-08-28 09:54:47 +10:00
Peter Barker
04c36efdbf AP_InertialSensor: eliminate SITL float-equals issues 2018-08-28 09:54:47 +10:00
Peter Barker
d968e27b45 AP_HAL_SITL: eliminate float-equals issues 2018-08-28 09:54:47 +10:00
Peter Barker
3a1afc4bf1 Tools: boards.py: make float-equals fatal in sitl 2018-08-28 09:54:47 +10:00
Michael du Breuil
8417bcc7d5 Plane: Add flight options bitmask 2018-08-28 09:40:53 +10:00
Andrew Tridgell
8c962e6f0f HAL_ChibiOS: use a larger TX buffer on USB
this is needed for fast log download on vehicles with 50Hz main loop
2018-08-28 08:50:50 +10:00
Patrick José Pereira
0f42702910 AP_Mount: Remove unused check
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-27 23:35:34 +01:00
Patrick José Pereira
fb7c46bda0 AP_HAL_SITL: Remove unused check
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-27 23:35:34 +01:00
Patrick José Pereira
10ffd89a0c AP_GPS: Remove unused operation
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-27 23:35:34 +01:00
Pierre Kancir
7d9c947b9b AP_HAL_SITL: update parameter with using command line speedup option 2018-08-28 07:26:26 +10:00
Pierre Kancir
36d8ef1971 Tools: auto fetch parameter if in fetch_all list 2018-08-27 21:28:09 +10:00
Randy Mackay
19d943106b Rover: pass vehicle speed to attitude control pitch control 2018-08-27 16:44:33 +09:00
Randy Mackay
106b8abab7 AR_AttitudeControl: get_throttle_out_from_pitch accepts vehicle speed 2018-08-27 16:44:33 +09:00
Randy Mackay
5aa1286344 Rover: report left and right wheel control PID 2018-08-27 16:44:33 +09:00
Randy Mackay
e0fa829665 Rover: pitch PID_TUNING sends degrees
also send FF although it is rarely used
2018-08-27 16:44:33 +09:00
Randy Mackay
db611e074c Rover: include wheel-rate-control 2018-08-27 16:44:33 +09:00
Randy Mackay
85ac24d96e Rover: update wheel encoders at 50hz 2018-08-27 16:44:33 +09:00
Randy Mackay
69541fc89c AP_MotorsUGV: use wheel-rate-control for skid steering vehicles 2018-08-27 16:44:33 +09:00
Randy Mackay
785da8add9 AP_WheelRateControl: lib to control wheel rate with encoders 2018-08-27 16:44:33 +09:00
Randy Mackay
912dd0c4cc AP_WheelEncoder: update parameter descriptions 2018-08-27 16:44:33 +09:00
Randy Mackay
6b89c24cc6 AP_WheelEncoder: calculate rate from last iteration 2018-08-27 16:44:33 +09:00
Randy Mackay
b381ae7bf3 AC_PID: support storing actual 2018-08-27 16:44:33 +09:00
Randy Mackay
397e035cf7 DataFlash: replace unused AFF with actual in PID_Info 2018-08-27 16:44:33 +09:00
Randy Mackay
a5e28f0729 Rover: balancebot_pitch_control method removes unused armed arg
Also remove constraint on throttle output (this is handle in the AP_MotorsUGV library
Also move balance bot declarations to alphabetical order within Rover.h
2018-08-27 16:44:33 +09:00
Randy Mackay
961aab7425 Rover: balance bot passes motor limits to pitch control 2018-08-27 16:44:33 +09:00
Randy Mackay
d5ef3c2e0f AR_AttitudeControl: get_throttle_out_from_pitch uses motor limits
This allows removing I-term build up from throttle hitting 100%
2018-08-27 16:44:33 +09:00
Randy Mackay
65b020eac3 AR_AttitudeControl: re-order pitch control to match other similar methods 2018-08-27 16:44:33 +09:00
Pierre Kancir
f6cc934678 Tools: pep8 corrections + correct variable shadowing 2018-08-27 17:08:47 +10:00
Pierre Kancir
d5c4c32529 Tools: add gripper test for copter 2018-08-27 14:39:49 +10:00