Commit Graph

26407 Commits

Author SHA1 Message Date
Jacob Walser 289aab06bc scripts: Add Sub 2017-02-25 17:50:18 +11:00
Jacob Walser 25663f5740 wscript: Add Sub 2017-02-25 17:50:18 +11:00
Jacob Walser 81935f6b7c Sub: Handle RC input for SITL autotest 2017-02-25 17:50:18 +11:00
Andrew Tridgell 053f0b4ce7 Sub: fixed AHRS_View update 2017-02-24 15:51:11 -05:00
Peter Barker e744460ff5 AP_AHRS: mark many functions as override
Also take the opportunity to remove void parameter
2017-02-24 21:13:08 +11:00
Peter Barker 6ee4045878 AP_AHRS: mark new relative position functions override 2017-02-24 21:13:08 +11:00
Peter Barker 35f876f853 AP_AHRS: examples: correct AHRS_Test
This is required so gcs() returns an object
2017-02-24 21:13:08 +11:00
Peter Barker 4ed7fb154f AP_AHRS: supply missing get_relative_position_D_home
Simply returns the baro altitude (like EKF does if it lacks
position)
2017-02-24 21:13:08 +11:00
Peter Barker 24647fb2b0 AP_AHRS: make get_relative_position_D_home pure virtual
Having a void function with a return parameter that isn't
filled in by the base class function seems like a bad idea
2017-02-24 21:13:08 +11:00
Peter Barker e2f15e5fdb Tools: create a GCS_Replay class
Avoids a segfault as we assume gcs() returns an object
Provides some usefult debug as to what we're sending to the GCS as
 debug
2017-02-23 23:03:54 -08:00
Peter Barker d6807d749c GCS_MAVLink: make send_statustext virtual 2017-02-23 23:03:54 -08:00
Peter Barker 3f7d58fe2c sim_vehicle.py: allow a list of defaults files to be specified 2017-02-23 22:46:33 -08:00
Peter Barker c93942695f AP_Param: load parameters from a comma-separated-list
This patch will break things for anyone who is using
a comma in their filenames for their ardupilot defaults
files.
2017-02-23 22:46:33 -08:00
Peter Barker fe189fefbc AP_Param: Factor load_defaults_file (NFC) 2017-02-23 22:46:33 -08:00
Lucas De Marchi 0a381dfa1b AP_HAL: document method to split transfers 2017-02-23 22:38:15 -08:00
Lucas De Marchi 32d208dbe8 AP_HAL_Linux: move check for _split_transfers
This is likely not true, so allow not to check the other conditions.
Also remove comment since this is going to be added to the method.
2017-02-23 22:38:15 -08:00
Andrew Tridgell df1da3c14e AP_RangeFinder: setup for split I2C transfers
this fixes PulsedLight Lidar on Linux
2017-02-23 22:38:15 -08:00
Andrew Tridgell a2e445cf24 HAL_Linux: implement set_split_transfers() API for I2C 2017-02-23 22:38:15 -08:00
Andrew Tridgell dc26cbc074 AP_HAL: added set_split_transfers() API for I2C 2017-02-23 22:38:15 -08:00
Grant Morphett 8f252c4983 Rover: Incrementing version number to 3.2.0-dev 2017-02-24 11:29:25 +11:00
Tom Pittenger 4ccd59f394 Plane: allow exiting loiter_to_alt in cases where you get stuck
- check for scenarios where updrafts can keep you from loitering down indefinitely.
2017-02-23 05:15:49 -08:00
Peter Barker f5c89117f6 Replay: remove unused variables
Also avoids segmentation fault on exit
2017-02-23 17:18:47 +11:00
Peter Barker 64d4e094fb Tools: sim_vehicle.py: correct formatting (NFC) 2017-02-23 11:07:37 +11:00
Peter Barker b256bc1dc0 Tools: sim_vehicle.py: add a warning when frame not found
We don't always have configuration for a frame type, but
it is atypical to run sim_vehicle like that.
2017-02-23 11:07:37 +11:00
Peter Barker 3be8c1e70b Tools: sim_vehicle.py: move metadata into _options
This centralises configuration information in _options and
removes duplication of data
2017-02-23 11:07:35 +11:00
Peter Barker fec23f6abe Tools: sim_vehicle.py: print possible frame types in help message 2017-02-23 11:07:05 +11:00
Peter Barker dd9de7dfb5 Tools: sim_vehicle.py: improve help about vehicle types 2017-02-23 11:06:28 +11:00
Jacob Walser 83b75db6b0 Sub: Increase interval between failsafe warnings 2017-02-22 16:41:41 -05:00
Jacob Walser 8495384031 Sub: Don't send battery percent remaining estimate 2017-02-22 16:41:41 -05:00
Michael du Breuil 7b483a1460 AP_GPS: Ublox, always quickly set the rates until we have fetched the version 2017-02-23 07:33:58 +11:00
Tom Pittenger 76dabf2dd9 AP_ADSB: cleanup
non-functional change
2017-02-22 11:55:47 -08:00
Tom Pittenger 5adbf9b232 AP_ADSB: populate altitude via pressure for ADSB-Out
fixes https://github.com/ArduPilot/ardupilot/issues/5424
2017-02-22 11:55:47 -08:00
Michael du Breuil 1de198883d AP_NavEKF3: Check gps vertical accuracy for aligning the GPS 2017-02-22 11:53:42 -08:00
Michael du Breuil 8b69f1708e NavEKF2: Add optional check for GPS vertical accuracy before aligning the EKF 2017-02-22 11:53:42 -08:00
Michael du Breuil 61023fc636 NavEKF: Add GPS vertical accuracy to nav_gps_flags 2017-02-22 11:53:42 -08:00
Jacob Walser cde1452da3 AP_Motors: Use fabsf instead of fabs 2017-02-22 11:25:18 -08:00
Jacob Walser 870183f26b AP_TemperatureSensor: Use powf instead of pow 2017-02-22 11:25:18 -08:00
Jacob Walser b4be9682df Sub: Add explicit cast to supress warnings 2017-02-22 11:25:18 -08:00
Jacob Walser 8c67c16664 Sub: Implement relay joystick button functions 2017-02-22 14:42:23 +00:00
Jacob Walser 06b394bf43 AP_JSButton: Fix param metadata for relay enum values 2017-02-22 14:42:23 +00:00
Andrew Tridgell a4c5247fba Plane: prepare 3.8.0-beta3
key fix is the servo slew rate bug
2017-02-22 07:25:47 +11:00
Tom Pittenger 69a10042eb Plane: always stream RPM data over mavlink when enabled 2017-02-21 11:16:27 -08:00
Tom Pittenger 67486dc3f0 Plane: always log RPM when enabled 2017-02-21 04:20:01 -08:00
Tom Pittenger fb214ef95f AP_Baro: fixed spelling in comment 2017-02-21 02:23:23 -08:00
Jacob Walser ec0b073fbc Sub: Check for BARO_TYPE_WATER before assigning depth sensor 2017-02-21 11:26:14 +11:00
Jacob Walser 84c3c0d234 Sub: Add support for AP_AHRS_View 2017-02-21 11:26:14 +11:00
Jacob Walser 68a7534f2c Sub: Use AHRS_VEHICLE_SUBMARINE as AHRS vehicle class 2017-02-21 11:26:14 +11:00
Jacob Walser 88b3e7e11d Sub: Use default StorageManager layout instead of copter layout 2017-02-21 11:26:14 +11:00
Jacob Walser 8c87868b5c AP_AHRS: Add submarine vehicle class 2017-02-21 11:26:14 +11:00
Jacob Walser 840521ac8c Sub: Remove transect mode
This experimental mode is no longer relevant
2017-02-21 11:26:14 +11:00