Commit Graph

39441 Commits

Author SHA1 Message Date
Andrew Tridgell 172c802ffa AP_RangeFinder: support native I2C protocol on LightWare Lidars
this supports both the native and the legacy I2C protocol for
LightWare Lidars. The native protocol is a string based protocol that
is enabled by default on new Lidars. By supporting both protocols we
avoid the need for users to re-configure their new lidar using a
serial cable before using it on I2C.

This driver was originally written by Mitch Koch and Jonathan
Challinger, and ported to master by me (it required only minor
changes)
2019-09-02 07:20:22 +10:00
Randy Mackay ff72c15004 Tools: alphabetise sailboat SITL parm defaults 2019-09-01 09:11:25 +09:00
Randy Mackay 058867b12f Tools: update sailboat SITL parm defaults 2019-09-01 09:11:25 +09:00
Randy Mackay abe04db372 Rover: RC_Channel uses sailboat::set_motor_state 2019-09-01 09:11:25 +09:00
Randy Mackay 488ae65e8f Rover: rework sailboats with motoring
renamed throttle with motor
added set_motor_state accessor
removed overloading of ENABLE parameter
fixed circular tack_enabled logic which led to assisting a tack disabling a tack
separate assistance for low wind vs tacking
2019-09-01 09:11:25 +09:00
Randy Mackay e023400fda Rover: rename nav_enabled to tack_enabled
tack_enabled is more precise than nav_enabled so it describes the feature more accurately
2019-09-01 09:11:25 +09:00
Randy Mackay bf7432cf2e Rover: fix sailboat NO_GO_ANGLE param description 2019-09-01 09:11:25 +09:00
Randy Mackay 79feb4edb8 Rover: sailboat class formatting fixes
move constructor to top of sailboat.h
move var_info to be the last public declaration
remove some spaces
2019-09-01 09:11:25 +09:00
Peter Hall 4ae62a2983 Rover: shorten sailboat tacking timeout to 5sec 2019-09-01 09:11:25 +09:00
Peter Hall baadc50c19 Tools: autotest update sailboat default params 2019-09-01 09:11:25 +09:00
Peter Hall 54f3173c7c Rover: RC_Channel add sailboat motor aux functions 2019-09-01 09:11:25 +09:00
Peter Hall fdb6da0793 RC_Channel: define sailboat mainsail and motor input channels
The unusual use of 207 is in preparation for Peter Barker's RCMAP replacement PR which uses 200 to 206
2019-09-01 09:11:25 +09:00
Peter Hall 3308a84acc Rover: sailboat add motor-sailing 2019-09-01 09:11:25 +09:00
Peter Hall 3dd0ebaf0d AP_WindVane: add wind_speed_enabled method 2019-09-01 09:11:25 +09:00
IamPete1 27286b659b Plane: servos: update dspoiler auto trim 2019-09-01 09:00:16 +10:00
Peter Barker 6206d214b8 Tools: build-with-disabled-features: flake8 compliance 2019-08-31 08:16:56 +10:00
Peter Barker 8ae9b8cc95 Tools: build-with-disabled-features: check on stm32 board 2019-08-31 08:16:56 +10:00
Andrew Tridgell 0e153313eb Tools: fixed GPS pos error in Vicon script 2019-08-30 13:16:51 +10:00
Peter Barker ca5ee2bfbc AP_Param: correct fetching of flags for parameters
This was sending through the flags for the group the parameter was in,
rather than the parameter itself.
2019-08-30 06:57:30 +10:00
Peter Barker 108f37c67c Tools: autotest: ensure we can set parameters in groups with internal flag set 2019-08-30 06:57:30 +10:00
SajyBug c45db920ff Tools: added name to GIT_Success.txt 2019-08-29 10:38:21 -06:00
Andrew Tridgell bcb139f02f AP_Compass: fixed uninitialised CAN device ID bits 2019-08-29 18:37:03 +10:00
Phillip Kocmoud 1dc57c84c4 AP_Periph : CAN
Remove 100 times message counter to improve magnetometer performance.

Tested and uavcan.equipment.ahrs.MagneticFieldStrength improves from 7msgs/sec to 75msgs/sec which is likely the output rate of the actual sensor.
2019-08-29 18:01:22 +10:00
Randy Mackay 49b0d46612 Tools: param file for Hexsoon EDU450 2019-08-29 16:27:30 +09:00
Peter Barker fba072e5fc Tools: autotest; python3 fixes 2019-08-29 08:43:45 +10:00
Rajat Singhal 80bbadf9ca SITL: AirSim: Store last timestamp only
Also change the datatype of deltat
2019-08-29 08:32:19 +10:00
Rajat Singhal 86a70e5797 SITL: Remove redundant timestep in Airsim backend 2019-08-29 08:32:19 +10:00
Rajat Singhal c056548f0d SITL: Enable Arming Checks in airsim-copter params 2019-08-29 08:32:19 +10:00
ashvath eecdf56c3b Tracker: Rename AntennaTracker.cpp to Tracker.cpp 2019-08-28 22:49:15 +10:00
Michael du Breuil 7ca6fd928e Replay: Included needed headers directly 2019-08-28 13:13:03 +10:00
Michael du Breuil fa6e43be77 AP_Logger: Forward declare AHRS
This reduces the number of places this is implicitly included, and helps
to reduce the scope of files that get rebuilt
2019-08-28 13:13:03 +10:00
Michael du Breuil fe279b03b6 SITL: Directly include needed headers 2019-08-28 13:13:03 +10:00
Michael du Breuil c85c9faa6d GCS_MAVLink: Directly include needed headers 2019-08-28 13:13:03 +10:00
Michael du Breuil 1a5627ae54 AP_VisualOdom: Directly include needed headers 2019-08-28 13:13:03 +10:00
Michael du Breuil 04863f858d AP_Terrain: Directly include needed headers 2019-08-28 13:13:03 +10:00
Michael du Breuil 17cec7cf2b AP_Landing: Directly include needed headers 2019-08-28 13:13:03 +10:00
Michael du Breuil ca0dad9a7f AP_GPS: Directly include needed headers 2019-08-28 13:13:03 +10:00
Michael du Breuil 5d888abfec AP_Baro: Directly include needed headers 2019-08-28 13:13:03 +10:00
Michael du Breuil d8bce8295e AP_Arming: Directly include needed headers 2019-08-28 13:13:03 +10:00
Peter Barker 78af091869 AP_Logger: log parameter space used as part of log open 2019-08-28 11:51:09 +10:00
Peter Barker b493805fb4 AP_Param: methods to provide amount of parameter space used
AP_Param: provide method for storage size
2019-08-28 11:51:09 +10:00
Peter Barker 4ef64261a1 Sub: mount uses AP_SerialManager singleton 2019-08-28 06:55:28 +10:00
Peter Barker 32a71d2d5a Plane: mount uses AP_SerialManager singleton 2019-08-28 06:55:28 +10:00
Peter Barker a9ffe902f0 Copter: mount uses AP_SerialManager singleton 2019-08-28 06:55:28 +10:00
Peter Barker b17b668fff Rover: mount uses AP_SerialManager singleton 2019-08-28 06:55:28 +10:00
Peter Barker 2d1357b44c AP_Mount: stop passing serial manager through to init() 2019-08-28 06:55:28 +10:00
Andrew Tridgell 6cecf15e6a AP_Baro: remove unused baro probe lines 2019-08-28 06:54:11 +10:00
Andrew Tridgell 7fa6eeaaed AP_HAL: remove unused HAL_BARO_ defines 2019-08-28 06:54:11 +10:00
Andrew Tridgell 9d94598235 AP_HAL: convert linux boards to use baro probe list 2019-08-28 06:54:11 +10:00
Andrew Tridgell 72494788f7 HAL_ChibiOS: convert more boards to use BARO specifier 2019-08-28 06:54:11 +10:00