Commit Graph

78 Commits

Author SHA1 Message Date
Dr.-Ing. Amilcar Do Carmo Lucas
916a2e8fca Rover: Failsafe parameters default values macros are not used, so delete them
@OXINARF told me that they existed.
@tridge told me I should delete them, now that we have run-time parameters
2017-07-19 20:31:48 +09:00
Pierre Kancir
409e8b5f26 APMRover2: Remove unused config define 2017-04-26 08:43:09 +10:00
Pierre Kancir
91958fb96a APMRover2: Remove unused config define 2017-04-26 08:43:09 +10:00
Pierre Kancir
d4bd61d859 APMRover2: unhide default NAVL1_PERIOD with a define
set the correct value to param
2017-04-15 13:48:40 +10:00
Pierre Kancir
99ba8bdc08 APMRover2: add advance failsafe 2017-01-31 17:12:37 +11:00
Pierre Kancir
597423fffc Rover: config.h correct whitespace, remove tabs 2016-12-30 09:20:24 +09:00
Mathieu OTHACEHE
152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Pierre Kancir
b16369ec8c APMrover2: define ENABLE as ENABLED
Same for DISABLE as typo error protection
2016-08-28 14:24:32 +02:00
Peter Barker
85c58e30ec Rover: remove unused defines 2016-08-18 11:20:16 +10:00
Peter Barker
44791268ac Rover: use SPEED_CRUISE define from config.h 2016-08-18 11:20:16 +10:00
Lucas De Marchi
d773d68025 APMrover2: remove support for flymaple 2016-05-23 21:49:45 -03:00
Lucas De Marchi
d3ee998fa6 APMrover2: use separate header for version macro
Having the version macro in the config.h and consequently in the main
vehicle header means that whenever the version changes we need to
compiler the whole vehicle again. This would not be so bad if we weren't
also appending the git hash in the version. In this case, whenever we
commit to the repository we would need to recompile everything.

Move to a separate header that is include only by its users. Then
instead of compiling everything we will compile just a few files.
2016-05-06 13:11:28 -03:00
Lucas De Marchi
dd8014dd2f APMrover2: replace header guard with pragma once 2016-03-16 18:40:44 +11:00
Dario Lindo Andres
f731a0dc53 APMrover2: Added precise camera trigger logging
included update_trigger function
added camera trigger precise time mark
detect camera feedback pin status
added support for TRIGGER MSG
corrected according to defines.h
2016-01-29 09:19:43 +11:00
Lucas De Marchi
1a084e5dcd APMrover2: remove check for AVR CPUs
Remove the checks for HAL_CPU_CLASS > HAL_CPU_CLASS_16 and
HAL_CPU_CLASS >= HAL_CPU_CLASS_75. Corresponding dead code will be
removed on separate commits.
2015-11-04 12:14:14 +11:00
Lucas De Marchi
45ba94343d APMrover2: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1 2015-11-04 12:14:13 +11:00
Andrew Tridgell
eda187c75a Rover: fix for HAL_SITL rename 2015-05-05 09:45:57 +10:00
Andrew Tridgell
e1b998f011 Rover: disable CLI on APM2 by default
saves lots of flash. This is also consistent with plane and copter
2015-03-13 22:52:56 +11:00
Víctor Mayoral Vilches
0795783d37 Rover: Update compass to the new interface 2015-03-13 18:46:17 +11:00
Randy Mackay
9f7f1e62df Rover: integrate SerialManager 2015-01-29 14:05:16 +11:00
Andrew Tridgell
35b558cfc2 Rover: convert to new AP_InertialSensor API 2014-10-24 12:10:38 +11:00
Matthias Badaire
874ef65d74 Plane: Add SERIAL2_PROTOCOL for GCS and FRSky telemtry
This allows selection of protocol type on telem2. The default is MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:20 -07:00
Andrew Tridgell
739edafb42 Rover: use HAL board subtypes 2014-07-14 09:44:35 +10:00
Emile Castelnuovo
c5620dfd39 Rover: added VRBRAIN #defines and #includes 2014-04-08 16:19:20 +10:00
Andrew Tridgell
f4079f57b2 Rover: convert to new GPS API 2014-04-01 06:38:24 +11:00
Andrew Tridgell
87ea98fe2c Rover: disable GPS2 in HIL 2014-02-27 08:16:11 +11:00
Andrew Tridgell
82ffc0ff2b Rover: support a 2nd GPS 2014-02-26 09:24:23 +11:00
Andrew Tridgell
eac4b1ec96 Rover: fixed EKF usage for rover
added barometer object, and use shared home object from AHRS. This
gives basic EKF operation.
2014-02-24 09:25:50 +11:00
Andrew Tridgell
870ec8a9bb Rover: added RC in/out logging 2013-12-30 10:24:01 +11:00
Andrew Tridgell
24cf0a55ea Rover: added timestamps to logging and new STER logging
much more accurate logging for better analysis
2013-12-16 11:17:26 +11:00
Andrew Tridgell
fe0e627304 Rover: changed SERIAL3_BAUD to SERIAL1_BAUD
and add SERIAL2_BAUD for systems that have it
2013-11-26 13:00:03 +11:00
Andrew Tridgell
cae3d3b378 Rover: show git and firmware version in tlog 2013-11-09 10:09:20 +11:00
Andrew Tridgell
1e7af3e101 Rover: switched to L3G4200D driver for Linux 2013-10-08 11:50:54 +11:00
Randy Mackay
121e4932ea Rover: integrate BattMonitor 2013-10-03 11:16:29 +09:00
Andrew Tridgell
9679faae3b Rover: ported to Linux 2013-09-28 22:04:16 +10:00
Andrew Tridgell
20d1ddb5ba Rover: update for Stub -> HIL 2013-09-28 22:04:15 +10:00
Andrew Tridgell
3589c07d09 Rover: added support for the flymaple board 2013-09-24 13:51:28 +10:00
Andrew Tridgell
8f8711b137 Rover: removed SLIDE_SWITCH and PUSHBUTTON defines
not used anywhere
2013-09-23 18:10:22 +10:00
Andrew Tridgell
95c2e11b5a Rover: removed flash_leds() calls 2013-09-19 18:38:28 +10:00
Andrew Tridgell
481429de61 Rover: use new HAL usb_connected() function 2013-09-19 16:24:59 +10:00
Andrew Tridgell
5b88334dbb Rover: added full camera and mount support 2013-07-15 09:57:00 +10:00
Andrew Tridgell
a5586ec394 Rover: enable RELAY_* parameters 2013-06-25 12:48:58 +10:00
Andrew Tridgell
feb539bade Rover: fixed HIL operation
only HIL sensors - removed HIL_MODE_ATTITUDE as it didn't exercise
enough of the code
2013-06-04 11:57:59 +10:00
Andrew Tridgell
44dd9ddf74 Rover: updates for new compass API 2013-05-02 12:48:14 +10:00
Bill Bonney
14eca30456 Rover: Enable CURRENT logging by default to dataflash 2013-04-21 07:24:16 +10:00
Andrew Tridgell
7717cc1450 Rover: added compass logging 2013-04-20 13:52:36 +10:00
Andrew Tridgell
a8d6fa3107 Rover: fixed dataflash logs to be useful
added sonar and fixed other messages
2013-04-19 10:23:57 +10:00
Andrew Tridgell
bb14672dab Rover: fixed PX4 MPU6000 driver for rover 2013-03-16 19:47:09 +11:00
Andrew Tridgell
06dd6c2790 Rover: always build sonar code
can use enabled/disabled parameter for runtime control
2013-03-01 07:18:25 +11:00
Andrew Tridgell
bf6198be40 Rover: tweaked parameters and added SPEED_TURN_GAIN and SPEED_TURN_DIST 2013-02-22 08:38:13 +11:00