Commit Graph

16843 Commits

Author SHA1 Message Date
Lucas De Marchi
a56106cccb AP_HAL: use buildsystem for default directories 2018-05-24 08:00:33 -07:00
Lucas De Marchi
1e7ad72909 AP_HAL: use default storage for more boards
Boards from Emlid, Erle Robotics and BBB-like ones were agreed to be
changed #7100. Here I'm also change some more, just because they appear
to be using the old default just because of copy and paste. We can
always revert back if we get complains and it seems something trivial.
Almost all boards now are using the the default path for logs, terrain
and params, except those that have restrictions to do so, like ones
using custom distros.
2018-05-24 08:00:33 -07:00
Randy Mackay
85efab1ec8 AP_RangeFinder: reduce MaxsonarI2C update to 10hz 2018-05-24 13:37:03 +09:00
Randy Mackay
fd2e5741ce AP_RangeFinder: MaxsonarI2C formatting fixes 2018-05-24 13:37:00 +09:00
Randy Mackay
3f749051d3 AP_RangeFinder: NMEA sonar driver 2018-05-24 12:46:38 +09:00
Randy Mackay
a7fbfe7767 AR_AttitudeControl: caller provides dt instead of calculated internally
This allows the vehicle's main loop rate to be used instead of an internally calculated dt which suffers from jitter
2018-05-24 11:06:20 +09:00
Randy Mackay
c032095c80 AR_AttitudeControl: reduce default accel max to 2m/s/s 2018-05-24 11:06:20 +09:00
Randy Mackay
856d592b1d AR_AttitudeControl: accel limit stops 2018-05-24 11:06:20 +09:00
Tom Pittenger
657f515f40 AP_ADSB: add cfg_out passthrough parsing
- add param ADSB_SQUAWK
- add param ADSB_RF_CAPABLE
2018-05-23 14:02:45 -07:00
Tom Pittenger
3653ba61d7 AP_Math: add is_valid_octal helper function.
returns true if valid
2018-05-23 14:02:45 -07:00
Karthik Desai
0a04a2a8c2 AP_Beacon_Marvelmind: Relax the precision of the position of Hedge
But we are conservative here and use 20cm instead (until MM provides us with a proper accuracy value)
2018-05-23 14:51:23 +01:00
Karthik Desai
4f26bc7cad AP_Beacon_Marvelmind: Record the timestamp once, on success. 2018-05-23 14:51:23 +01:00
Karthik Desai
372fba2152 AP_Beacon_Marvelmind: Added some debug messages 2018-05-23 14:51:23 +01:00
Karthik Desai
64fdefe7cf AP_Beacon_Marvelmind: Refactor variables 2018-05-23 14:51:23 +01:00
Karthik Desai
358b3d222b AP_Beacon_Marvelmind: Simplify the Marvelmind structure.
This removes pointless pointer inits and removes the buffer.
The new incoming data is now injected as and when they are received by the driver.
2018-05-23 14:51:23 +01:00
Karthik Desai
8957111f26 AP_Beacon_Marvelmind: Remove unused variables 2018-05-23 14:51:23 +01:00
Karthik Desai
b0e4a57a93 AP_Beacon_Marvelmind: Remove unnecessary structures.
This incorporates the distance into the stationary beacon structure.
2018-05-23 14:51:23 +01:00
Karthik Desai
ad05a5c694 AP_Beacon_Marvelmind: Add function to find beacon's instance for the given address.
This function returns the instance number of a particular beacon's address.
It is needed because the MM sends the distances between the hedge and beacon in a random order so they have to be sorted by address before setting it.
The address of a beacon can be between 0 and 99.
2018-05-23 14:51:23 +01:00
Karthik Desai
fa575e2a9a AP_Beacon_Marvelmind: Update the link to Marvelmind's repo 2018-05-23 14:51:23 +01:00
Peter Barker
63b0883b38 DataFlash: correct structures debug method 2018-05-23 19:12:15 +09:00
Peter Barker
1844ccdab8 DataFlash: correct labels for NKT1 and NKT2 messages 2018-05-23 19:12:15 +09:00
Peter Barker
e9d2be143a GCS_MAVLink: moving sending of sim state up 2018-05-23 18:36:50 +10:00
Peter Barker
a137afd11b SITL: add singleton 2018-05-23 18:36:50 +10:00
Ammarf
832778e471 AR_AttitudeControl: add separate decel limit 2018-05-23 17:17:29 +09:00
Peter Barker
b36f1c558d DataFlash: use const char * rather than fixed array lengths in LogStructure
Previously tridge found that using const char * here meant that the
data segment (and thus RAM usage) would increase.

This doesn't seem to be a problem now.
2018-05-23 17:35:17 +10:00
Patrick José Pereira
b014b6c857 AP_Baro: Use SSL variables
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-23 02:36:43 +01:00
Patrick José Pereira
237101a50e AP_Airspeed: Use SSL air density
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-23 02:36:43 +01:00
Patrick José Pereira
0c18b43351 AP_ADSB: Use SSL air pressure value
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-23 02:36:43 +01:00
Patrick José Pereira
1ca6647b2e AP_Math: Create Standard Sea Level variables
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-23 02:36:43 +01:00
night-ghost
54ab0b9099 HAL_F4Light: updated OSD submodule 2018-05-23 08:04:31 +10:00
Pierre Kancir
43c6f87290 AP_Radio: fix fallthrough with ArduPilot macro 2018-05-22 15:25:00 +01:00
Andrew Tridgell
f3179e7934 HAL_ChibiOS: improved reliability of DShot passthru
thanks to WickedShell for debugging this on his Wraith32 ESCs. We were
truncating the last bit on some BLHeli transfers
2018-05-22 18:59:51 +10:00
Peter Barker
fe2d8f853b GCS_MAVLink: add type-correctness for stream entries 2018-05-22 11:21:25 +10:00
Peter Barker
c5520cd995 GCS_MAVLink: eliminate MSG_LIMITS_STATUS
Only Sub used this, and it used it to send fence status, which we have a
separate ID for
2018-05-22 09:05:14 +09:00
Eugene Shamaev
9a22e11b92 AP_HAL: HAL_RCINPUT_WITH_AP_RADIO definition
Remove moved skyviper-v2450-px4 definitions

Co-authored-by: Francisco Ferreira <OXINARF@users.noreply.github.com>
2018-05-22 08:35:01 +09:00
Eugene Shamaev
31628ea52f AP_Baro: functions declaration
Co-authored-by: Francisco Ferreira <OXINARF@users.noreply.github.com>
2018-05-22 08:35:01 +09:00
Eugene Shamaev
b260a6ca7c GCS_Mavlink: HAL_RCINPUT_WITH_AP_RADIO definition 2018-05-22 08:35:01 +09:00
Eugene Shamaev
80859a9137 AP_HAL_PX4: HAL_RCINPUT_WITH_AP_RADIO definition 2018-05-22 08:35:01 +09:00
Eugene Shamaev
b3f355ae91 AP_Radio: HAL_RCINPUT_WITH_AP_RADIO definition 2018-05-22 08:35:01 +09:00
Eugene Shamaev
4ab2ff8c81 AP_HAL_ChibiOS: HAL_RCINPUT_WITH_AP_RADIO definition 2018-05-22 08:35:01 +09:00
Eugene Shamaev
7a67c82026 AP_BoardConfig: HAL_RCINPUT_WITH_AP_RADIO definition 2018-05-22 08:35:01 +09:00
Peter Barker
92927cd848 GCS_MAVLink: move try_send_message of servo-output-raw up 2018-05-21 19:08:08 +01:00
Andrew Tridgell
95df35f102 HAL_PX4: fixed build warnings 2018-05-21 15:02:34 +10:00
Andrew Tridgell
049e3ae02d HAL_SITL: take account of available bytes in receive_time_constraint_us 2018-05-21 14:53:18 +10:00
Andrew Tridgell
36ebb14b2e HAL_PX4: take account of available bytes in receive_time_constraint_us 2018-05-21 14:53:18 +10:00
Andrew Tridgell
b396b2a2e0 HAL_Linux: take account of available bytes in receive_time_constraint_us 2018-05-21 14:53:18 +10:00
Andrew Tridgell
f983c8a906 HAL_F4Light: take account of available bytes in receive_time_constraint_us 2018-05-21 14:53:18 +10:00
Andrew Tridgell
89898bae1d HAL_ChibiOS: take account of available bytes in receive_time_constraint_us 2018-05-21 14:53:18 +10:00
Andrew Tridgell
b887a1e893 AP_HAL: make receive_time_constraint_us non-const
needed to use available()
2018-05-21 14:53:18 +10:00
Andrew Tridgell
dcd7799ec9 HAL_ChibiOS: fixed DShot output on fixed wing
we need to mark the channels as 'fast' for DShot to enable properly
2018-05-21 13:31:00 +10:00
Andrew Tridgell
4e414c02f5 AP_Motors: use scaled actuators for single and coax frames
this allows for multiple servos with the same motor function
2018-05-21 13:04:13 +10:00
Andrew Tridgell
216bab4de4 AP_Motors: fixed default motor functions for single and coax copter
should be enabling motors 5 and 6 to match docs and SITL
2018-05-21 13:04:13 +10:00
Randy Mackay
f6c06496e2 AR_AttitudeControl: fix accel limiting 2018-05-21 10:28:56 +09:00
Ammarf
a9ee949c32 AR_AttitudeControl: limit desired steering rate 2018-05-21 09:48:43 +09:00
Andrew Tridgell
8571e59d85 HAL_ChibiOS: fixed SBUS inversion for KakuteF4 2018-05-20 15:50:44 +10:00
Peter Barker
0ca888d52a GCS_MAVLink: move sending of POSITION_TARGET_GLOBAL_INT up 2018-05-18 20:26:37 +10:00
Peter Barker
2c962afe98 AC_WPNav: add get_wp_destination to get a Location_Class for the wp 2018-05-18 20:26:37 +10:00
Peter Barker
da40ebaf70 GCS_MAVLink: use relative altitide from ahrs.get_relative_position_D_home()
This will return a barometer height if the EKF is not available.
2018-05-17 15:48:06 +01:00
Peter Barker
4440f7ec4a GCS_MAVLink: move sending of GLOBAL_POSITION_INT up to GCS_MAVLINK 2018-05-17 15:48:06 +01:00
Peter Barker
217fd73100 GCS_MAVLink: remove arguments to send_home and send_ekf_origin 2018-05-17 20:42:36 +10:00
Peter Barker
514bc5c21d GCS_MAVLink: move send_attitude up to GCS_MAVLINK 2018-05-17 18:28:43 +10:00
Peter Barker
11e00f34b2 AP_TemperatureSensor: remove pointless constructor
If you ever allocate on of these on the stack you're doing something
wrong
2018-05-17 15:37:14 +10:00
Peter Barker
7dd023744f AP_TemperatureSensor: allow testing of temperature sending in SITL 2018-05-17 15:37:14 +10:00
Peter Barker
695c52be05 GCS_MAVLink: allow sub to override sending of scaled_pressure3 2018-05-17 15:37:14 +10:00
Peter Barker
c887a5c188 GCS_MAVLink: move try_send_message sending of scaled_pressure up 2018-05-17 15:37:14 +10:00
Peter Barker
8cb2b5809f GCS_MAVLink: move try_send_message sending of sensor offsets up 2018-05-17 15:37:14 +10:00
Peter Barker
b51ec1d346 GCS_MAVLink: move try_send_message of RAW_IMU up to GCS_MAVLINK 2018-05-17 15:37:14 +10:00
Peter Barker
a3a1967e05 AP_Compass: add AP::compass() singleton getter 2018-05-17 15:37:14 +10:00
Peter Barker
fc1775df75 GCS_MAVLink: handle setting of ekf origin in GCS_MAVLink 2018-05-17 10:13:42 +10:00
Peter Barker
9793703a76 AP_AHRS: move Log_Write_Home_And_Origin into AP_AHRS 2018-05-17 10:13:42 +10:00
Michael du Breuil
f6624cc8b2 AP_Airspeed: Use named float wrapper 2018-05-17 00:59:45 +01:00
Michael du Breuil
1b05a18b84 GCS_MAVLink: Wrap sending named float values 2018-05-17 00:59:45 +01:00
Francisco Ferreira
221ba177c5 DataFlash: remove Qualcomm board support 2018-05-17 09:57:20 +10:00
Francisco Ferreira
8b32960d3e AP_InertialSensor: remove Qualcomm board support 2018-05-17 09:57:20 +10:00
Francisco Ferreira
6f210131ed AP_HAL_QURT: remove Qualcomm board support 2018-05-17 09:57:20 +10:00
Francisco Ferreira
5e821428a1 AP_HAL_Linux: remove Qualcomm board support 2018-05-17 09:57:20 +10:00
Francisco Ferreira
695d92ddbf AP_HAL: remove Qualcomm board support 2018-05-17 09:57:20 +10:00
Francisco Ferreira
5fc7da0e83 AP_GPS: remove Qualcomm board support 2018-05-17 09:57:20 +10:00
Francisco Ferreira
0a3af28d17 AP_Compass: remove Qualcomm board support 2018-05-17 09:57:20 +10:00
Francisco Ferreira
f8756fac6b AP_Common: remove Qualcomm board support 2018-05-17 09:57:20 +10:00
Francisco Ferreira
de73ab6472 AP_Baro: remove Qualcomm board support 2018-05-17 09:57:20 +10:00
Michael du Breuil
805e9519d1 GCS_MAVLink: Send rangefinder data 2018-05-16 23:21:41 +01:00
Michael du Breuil
f8b10aaa53 AP_Proximity: Make singleton and add an interface to check what type is loaded 2018-05-16 23:21:41 +01:00
Michael du Breuil
7d6c3ec683 AP_RangeFinder: Make singleton 2018-05-16 23:21:41 +01:00
Michael du Breuil
9e551350a4 AP_RangeFinder: Remove unneeded state member 2018-05-16 23:21:41 +01:00
Michael du Breuil
03fc653e62 GCS_MAVLink: Don't rely on instance data from rangefinders 2018-05-16 23:21:41 +01:00
night-ghost
0be12dd471 AP_HAL_F4Light: support for UART timestamp API 2018-05-16 16:14:19 +01:00
night-ghost
7f6b994bc1 AP_HAL_F4Light: fixed OSD compilation 2018-05-16 16:14:14 +01:00
night-ghost
d28bac2b89 AP_HAL_F4Light: new board: OmnibusV3 2018-05-16 16:14:14 +01:00
night-ghost
3830cebddc AP_HAL_F4Light: board AirbotV2: fixed build scripts 2018-05-16 16:13:27 +01:00
Michael du Breuil
53c66106d6 AP_GPS: Remove unneeded intilizers
saves 160 bytes on make px4-v2
2018-05-16 20:34:00 +10:00
Andrew Tridgell
0966e14ca5 DataFlash: fixed F4Light build with g++ 6.3.1
fixes conflict with select in compiler headers
2018-05-16 20:24:23 +10:00
night-ghost
b95bc6595c HAL_F4Light: changes in I2C driver for Matekf405-CTR board 2018-05-16 18:55:29 +10:00
night-ghost
27b4fd5b50 HAL_F4Light: changed Readme for MatekF405-CTR board 2018-05-16 18:55:29 +10:00
night-ghost
37b16714cb HAL_F4Light: preliminary support for MatekF405-wing board 2018-05-16 18:55:29 +10:00
night-ghost
f6ea053f19 HAL_F4Light: fixed RSSI issue on OSD 2018-05-16 18:55:29 +10:00
night-ghost
0b3514c519 AP_Baro: add support for BMP280 on alternate address 2018-05-16 18:55:29 +10:00
night-ghost
a948c281f6 HAL_F4Light: add support for external baro for Matek_F405 board 2018-05-16 18:55:29 +10:00
night-ghost
b2a4b76496 HAL_F4Light: add battery monitor defaults 2018-05-16 18:55:29 +10:00
night-ghost
ecafe263a6 HAL_F4Light: abort logging in case of filesystem errors 2018-05-16 18:55:29 +10:00
Andrew Tridgell
4e452c77f8 HAL_SITL: implement UART timestamp API 2018-05-16 18:49:22 +10:00
Andrew Tridgell
b8eeac41c8 HAL_Linux: implement uart timestamp API 2018-05-16 18:49:22 +10:00
Andrew Tridgell
f4f62ececa GCS_MAVLink: take account of transport lag in vision timestamps 2018-05-16 18:49:22 +10:00
Andrew Tridgell
93cdb15aca HAL_PX4: implement uart timestamp API 2018-05-16 18:49:22 +10:00
Andrew Tridgell
7005383f82 HAL_ChibiOS: implement uart receive timestamp API 2018-05-16 18:49:22 +10:00
Andrew Tridgell
f7a239d833 AP_HAL: added function for last receive timestamp on uarts
this is used for mavlink vision time estimates
2018-05-16 18:49:22 +10:00
Andrew Tridgell
1383e08273 AP_UAVCAN: change default ESC and servo bitmasks to 0
this is to address https://github.com/ArduPilot/ardupilot/issues/8166
2018-05-16 13:59:59 +10:00
bnsgeyer
b20ebc6540 AP_Motors: Tradheli- removes unnecessary code from swash servo trim bug fix 2018-05-16 09:22:44 +10:00
Andrew Tridgell
0078a68fbb SITL: fixed segv when running examples under SITL 2018-05-15 13:36:41 +10:00
Andrew Tridgell
4ba5a368ff SITL: adjust vicon simulated lag approach 2018-05-15 10:42:52 +09:00
Andrew Tridgell
ab9ef01889 GCS_MAVLink: added function for correcting offboard timestamps 2018-05-15 10:42:52 +09:00
Randy Mackay
436f514142 AP_Proximity: resolve compiler warning and format fix 2018-05-15 10:16:30 +09:00
Peter Barker
2d4d99e836 AP_Scheduler: remove unused log_dropped variable 2018-05-15 08:35:05 +09:00
mirkix
cb50639e27 AP_HAL_ChibiOS: add STM32F7 UART support 2018-05-15 07:23:56 +10:00
murata
494735db2e AC_WPNav: Change the variable name according to the unit. 2018-05-14 16:38:47 +09:00
Michael du Breuil
636782375e AP_Proximity: Revert an excessive scan introduced in #8375
Also removes 2 unneeded initilizers, and removes an unneeded runtime
check
2018-05-14 10:53:21 +09:00
Peter Barker
c92554001f SITL: send buffer rather than mavlink msg on channel 2018-05-14 11:46:43 +10:00
Michael du Breuil
7e4972a061 DataFlash: Fix a false reporting of dead IO thread when millis() wraps 2018-05-14 10:11:32 +09:00
Michael du Breuil
703c7fb4b7 DataFlash: Remove unneeded inits and newlines 2018-05-14 10:10:38 +09:00
Alexander Malishev
7eb08bbd40 HAL_ChibiOS: Fix inverter on Omnibus F4 V3 2018-05-14 06:06:40 +10:00
Michael du Breuil
00c512c7e2 AP_Proximity: Small fixups to the rangefinder backend 2018-05-12 09:24:04 +09:00
Michael du Breuil
81e453dee3 AP_Arming: Restrict GPS/AHRS difference to a 2D solution 2018-05-12 09:11:05 +09:00
Andrew Tridgell
794ebe32e3 HAL_ChibiOS: fixed mixture of oneshot and normal PWM on IOMCU 2018-05-12 07:28:05 +10:00
Andrew Tridgell
219d429929 HAL_PX4: fixed oneshot125 on non-alt outputs 2018-05-12 07:28:05 +10:00
mirkix
00d4b5165d AP_BattMonitor: fix pin order for PocketPilot 2018-05-12 07:17:44 +10:00
mirkix
85fe07f1f0 AP_Compass: enable probe HMC5843 for PocketPilot 2018-05-12 07:16:50 +10:00
mirkix
76802740cb AP_HAL: fix PocketPilot HMC5843 I2C bus number 2018-05-12 07:16:50 +10:00
Peter Barker
75c8644fb5 AP_HAL_F4Light: call delay callback on scheduler instance
Also correct name of superclass method
2018-05-12 07:16:06 +10:00
Peter Barker
939aec090e AP_HAL: allow F4Light to call delay callback 2018-05-12 07:16:06 +10:00
Michael du Breuil
9f10cd7195 AP_HAL_VRBrain: Remove set_overrides() method 2018-05-11 12:13:39 +01:00
Michael du Breuil
97696281ae AP_HAL_SITL: Remove set_overrides() method 2018-05-11 12:13:39 +01:00
Michael du Breuil
299543bd35 AP_HAL_QURT: Remove set_overrides() method 2018-05-11 12:13:39 +01:00
Michael du Breuil
f9d1574f73 AP_HAL_PX4: Remove set_overrides() method 2018-05-11 12:13:39 +01:00
Michael du Breuil
517e20093e AP_HAL_Linux: Remove set_overrides() method 2018-05-11 12:13:39 +01:00
Michael du Breuil
d54ef79798 AP_HAL_F4Light: Remove set_overrides() method 2018-05-11 12:13:39 +01:00
Michael du Breuil
b192c1c094 AP_HAL_Empty: Remove set_overrides() method 2018-05-11 12:13:39 +01:00
Michael du Breuil
72a4846f40 AP_HAL_ChibiOS: Remove set_overrides() method 2018-05-11 12:13:39 +01:00
Michael du Breuil
62f153c1b7 AP_HAL: Remove set_overrides() method 2018-05-11 12:13:39 +01:00
Michael du Breuil
c8a93f9b76 RC_Channel: Remove set_overrides() method 2018-05-11 12:13:39 +01:00
Patrick José Pereira
04a4001e02 DataFlash: Remove unused variable
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-11 10:47:11 +10:00
Patrick José Pereira
c755d341f4 AP_RCProtocol: Remove unused variable
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-11 10:47:11 +10:00
Patrick José Pereira
f22f053c83 AP_Baro: Use C_TO_KELVIN
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-11 10:46:19 +10:00
Patrick José Pereira
cc590ee587 AP_Baro: Add BARO_TYPE_WATER model to SITL when running for ArduSub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-10 16:05:58 -04:00
Patrick José Pereira
c7f832e81f AP_Baro: Add SimpleUnderWaterAtmosphere function
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-10 16:05:58 -04:00
mirkix
178b5e03c0 AP_Notify: move BUZZER_PIN into AP_HAL 2018-05-10 17:48:25 +01:00
mirkix
34c96c80ff AP_HAL_ChibiOS: rename BUZZER_PIN into HAL_BUZZER_PIN 2018-05-10 17:48:25 +01:00
mirkix
dfd2fb1841 AP_HAL: move BUZZER_PIN into AP_HAL 2018-05-10 17:48:25 +01:00
Randy Mackay
56672c1c28 AR_AttitudeControl: fix get_steering_out_rate use of max turn rate and acceleration 2018-05-10 20:37:28 +09:00
Randy Mackay
9feaf9cfdd AR_AttitudeControl: const some internal variables
non-functional change
2018-05-10 20:37:28 +09:00
Andrew Tridgell
f8464577ac Revert "SITL: Instance number change MavID"
This reverts commit 507f4d688b.

This broke normal usage of sim_vehicle.py
2018-05-10 09:56:38 +10:00
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
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
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
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
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
Andrew Tridgell
9fc451a615 AP_Beacon: fixed reference to -debug build directory 2018-05-09 14:17:32 +10:00
Peter Barker
b76fa57108 GCS_MAVLink: move try_send_message handling of RC_CHANNELS_RAW up 2018-05-08 12:33:32 +01:00
Peter Barker
ac2fe5f042 AP_RSSI: add singleton 2018-05-08 12:33:32 +01:00
Michael du Breuil
a47bda0b41 AP_BoardConfig: Fix param doc for BRD_SAFETYOPTION 2018-05-08 17:18:03 +10:00
Michael du Breuil
d819690426 DataFlash: Remove redundant state from MAVLink backend 2018-05-08 11:48:09 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
bce10f48af Dataflash: Correct the DF_MAV_STATS time units 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
5de3382ab4 Dataflash: Replace ppm (pulses per minute) with PWM in the RC channels 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
4fd37d17f0 Dataflash: Fix AHR2.Alt multiplier 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
babef0def1 Dataflash: Fix some battery units and multipliers 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
a9ca471907 Dataflash: correct the multiplier factor of POS *Alt data 2018-05-08 10:38:40 +09:00
Peter Barker
5bf2fb186c DataFlash: parameterise dataflash-over-mavlink cachesize 2018-05-08 09:36:01 +10:00
anbello
5b56887428 Changes to be committed:
modified:   hwdef.dat

Modified as per @sh83 hints
2018-05-08 07:33:19 +10:00
anbello
93f551e56e define for AirbotF4 board (ChibiOS HAL)
modified:   libraries/AP_HAL/AP_HAL_Boards.h
	new file:   libraries/AP_HAL_ChibiOS/hwdef/airbotf4/hwdef.dat
2018-05-08 07:33:19 +10:00
Peter Barker
eecdcacf3e GCS_MAVLink: move sending of heartbeats up to GCS_MAVLINK 2018-05-07 11:30:13 -06:00
Peter Barker
e4b4a746e6 GCS_MAVLink: move try_send_message handling of VIBRATION up
Also, use singleton to get ins
2018-05-07 11:23:28 -06:00
Dr.-Ing. Amilcar do Carmo Lucas
9b9932ca9c AP_GPS: Document septentrio RXERROR flags 2018-05-06 20:32:39 -06:00
Dmitri Ranfft
8fa281fa5b RangeFinder: fixed a crash when VL53L0X was enabled in the software but not connected. 2018-05-07 11:47:39 +10:00
Alexander Malishev
776d5e6ba3 HAL_ChibiOS: Fixed s-bus signal polarity in SoftSigReaderInt.cpp 2018-05-07 11:46:35 +10:00
night-ghost
7601edfb87 HAL_F4Light: fixed boards definitions 2018-05-07 11:45:29 +10:00
night-ghost
4cffbf52d3 AP_COMPASS: fix MAG3110 driver 2018-05-07 11:45:29 +10:00
night-ghost
beecfcbae6 fix I2C on AirbotV2 board 2018-05-07 11:45:29 +10:00
Andrew Tridgell
d4d7d1f734 AP_Math: avoid double maths when not needed 2018-05-07 11:43:23 +10:00
Andrew Tridgell
c4fafa490f AP_Avoidance: fixed use of fabs() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
27442e4a7b AP_Declination: use floorf() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
553abda91c AP_NavEKF3: use single precision ceilf() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
4404c95cc8 HAL_Linux: use ceilf() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
ce5db7b813 AP_Scheduler: fixed use of sqrt() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
a5fe798e7f GCS_MAVLink: we don't need the conversion helpers 2018-05-07 11:43:23 +10:00
Andrew Tridgell
4e1d310959 AP_GPS: fixed use of pow() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
86e85a7089 AP_Baro: fixed build warning 2018-05-07 11:43:23 +10:00
Andrew Tridgell
14cf54b2f0 AP_FlashStorage: fixed build warning 2018-05-07 11:43:23 +10:00
Andrew Tridgell
7cff648f8a StorageManager: fixed build warning 2018-05-07 11:43:23 +10:00