Commit Graph

32331 Commits

Author SHA1 Message Date
Randy Mackay 3f749051d3 AP_RangeFinder: NMEA sonar driver 2018-05-24 12:46:38 +09:00
Randy Mackay 51a0cbc1da Rover: loiter slows using attitude control get_desired_speed_accel_limit 2018-05-24 11:06:20 +09:00
Randy Mackay fc35e74821 Rover: pass dt to attitude controller 2018-05-24 11:06:20 +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
Randy Mackay 444e64a3d0 Rover: slow before pivot turns 2018-05-24 11:06:20 +09:00
Tom Pittenger 4dca1c48f2 Plane: update vehicle max_speed to ADSB library 2018-05-23 14:02:45 -07: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
Tom Pittenger c59be8bafe Tools: add "octal" param unit 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 420b9869f7 Sub: move sending of simstate up 2018-05-23 18:36:50 +10:00
Peter Barker d705dbcfc1 Tracker: move sending of simstate up 2018-05-23 18:36:50 +10:00
Peter Barker 8101f2b573 Rover: move sending of simstate up 2018-05-23 18:36:50 +10:00
Peter Barker ef77bea4eb Plane: move sending of simstate up 2018-05-23 18:36:50 +10:00
Peter Barker 81e9edd80a Copter: move sending of sim state up 2018-05-23 18:36:50 +10: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
Randy Mackay 24dd9a1c2c Rover: update GPS at 50hz 2018-05-23 17:17:29 +09:00
Randy Mackay cc53b9c39d Rover: update current_loc in update_ahrs
this ensures the current_loc is updated before any of the flight mode code runs
2018-05-23 17:17:29 +09:00
Ammarf d7821635c0 Rover: seperate acceleration/deceleration limits 2018-05-23 17:17:29 +09: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
Jesse Millwood 014702fc64 Changed Argument Parsing for sim_vehicle.py
The arguments now properly pare the arguments passed through to the
ardupilot instance and to mavproxy.
2018-05-23 17:34:24 +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 31e7131c33 Tracker: add type-correctness for stream messages 2018-05-22 11:21:25 +10:00
Peter Barker 148756bc1c Sub: add type-correctness for stream messages 2018-05-22 11:21:25 +10:00
Peter Barker 2a68eca273 Plane: add type-correctness for stream messages 2018-05-22 11:21:25 +10:00
Peter Barker e377debf25 Rover: add type-correctness for stream messages 2018-05-22 11:21:25 +10:00
Peter Barker ec1539f9c8 Copter: add type-correctness for stream messages 2018-05-22 11:21:25 +10:00
Peter Barker fe2d8f853b GCS_MAVLink: add type-correctness for stream entries 2018-05-22 11:21:25 +10:00
Peter Barker f0dd90b81a Sub: eliminate MSG_LIMITS_STATUS 2018-05-22 09:05:14 +09:00
Peter Barker de7a8e20e2 Copter: eliminate MSG_LIMITS_STATUS 2018-05-22 09:05:14 +09:00