Lucas De Marchi
20c6ffc5e3
Replace use of UARTDriver::printf_P() with UARTDriver::printf()
...
This also starts to show warnings on places that were already using
wrong printf format strings.
9 years ago
Lucas De Marchi
6f4904189b
Replace use of println_P() with println()
9 years ago
Lucas De Marchi
a964ac38ec
Replace use of print_P() with print()
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Randy Mackay
bcc87a9a3b
Rover: replace SKIP_GYRO_CAL with INS_GYR_CAL
...
Also calibrate gyros during accel trim
10 years ago
Peter Barker
6e3687f8af
Rover: DFMessageWriter; ability to trickle messages out to DF
10 years ago
squilter
b4cf0ce2bb
Rover: update severity values
10 years ago
squilter
aa4a7a0b28
Rover: init vehicle capabilities
10 years ago
Grant Morphett
a2e9d0488c
Rover: Implemented loitering at a waypoint if Param1 is non-zero
...
Rover now honours the Param1 setting of a time in seconds for a
NAV_WAYPOINT and the Rover will loiter at that waypoint for that
period of time.
Note that as soon as the Rover reaches that waypoint the loiter timer
will start. If you enter a different mode during this time (HOLD for
instance) the timer resets. If you then switch back to AUTO
mode and the Rover returns to that waypoint it will wait for the
loiter time configured in param1.
10 years ago
Grant Morphett
f314b243ee
Rover: Make guided operate the same way as Plane/Copter.
...
This is a safety change. Lets say you have a GCS which is in
followme mode which is really GUIDED mode with continually updated
waypoints. If the user then changes mode with the RC transmitter to
HOLD or anything else then the Rover should STOP listening to the
updated guided mode waypoints. This is how Plane/Copter work.
10 years ago
Randy Mackay
31aae1f019
Rover: Log_Write_Startup writes parameters
10 years ago
Grant Morphett
e86a89e5bd
Rover: Moving parameter logging to be after all systems have started
10 years ago
Lucas De Marchi
2f5314a1a6
APMrover2: use functor macros
...
Functor is not yet being used but let's make is macro fallback to the
previous Delegate implementation for easy of transition between the two.
10 years ago
Andrew Tridgell
daa2c611a9
Rover: fixed APM1 build
10 years ago
Andrew Tridgell
b47a09b709
Rover: fixed build of .cpp files
10 years ago
Andrew Tridgell
2b6835d187
Rover: rename all .pde files to .cpp files
10 years ago
Andrew Tridgell
b731ebfd9e
Rover: coversion to class now complete
10 years ago
Andrew Tridgell
adbf9c362e
Rover: automatic substitution for class members
10 years ago
Randy Mackay
757f388d62
Rover: add support for 4th mavlink channel
10 years ago
Grant Morphett
0f13bc6d2a
Rover: Updates to guided mode to work correctly on Rover
10 years ago
Andrew Tridgell
fabee44583
Rover: support raw IMU logging
10 years ago
Tom Pittenger
e867b148f5
Rover: fix compile warnings for unused functions
10 years ago
Randy Mackay
8f49c96b1a
Rover: fix serial manager integration
10 years ago
Randy Mackay
ff1d6dea61
APMRover: integrate Serial Manager instance
10 years ago
Andrew Tridgell
29bf3f569e
Rover: removed 1D accel calibration
10 years ago
Andrew Tridgell
b8ab87ea86
Rover: added CLI_ENABLED parameter
10 years ago
Staroselskii Georgii
1670ccf774
Rover: fixed BattMonitor initialisation
10 years ago
Jonathan Challinger
d08aa3edac
APMrover2: use hal.util soft_armed state
10 years ago
Grant Morphett
4ffb4f6fef
APMrover2: Changes to fix the warnings in rover sitl build.
...
We are starting the process of resolving all the warnings in the
ardupilot builds of all vehicles and platforms.
10 years ago
Randy Mackay
9f7f1e62df
Rover: integrate SerialManager
10 years ago
Randy Mackay
1ab405bf88
Rover: integrate mount frontend-backend restructure
...
rename mount.set_roi_cmd to set_roi_target
10 years ago
Matthias Badaire
ff064e12b1
Rover: Frsky telemtry change move parameter to init of the class
...
Parameter needs to be passed and use at the init of the class frsky telem
10 years ago
Robert Lefebvre
89fd543f4d
Rover: Change Mode logging to use DataFlash library method.
10 years ago
Andrew Tridgell
87df3c3442
Rover: cleanup mavlink_system setup
10 years ago
Andrew Tridgell
1ed02441a0
Rover: fix build with new mavlink repo
10 years ago
Andrew Tridgell
9453154b75
Rover: use handle_set_mode()
11 years ago
Andrew Tridgell
06c77c167e
Rover: set GPS non-blocking
...
the new GPS driver only ever needs a non-blocking port
11 years ago
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
11 years ago
Andrew Tridgell
739edafb42
Rover: use HAL board subtypes
11 years ago
Andrew Tridgell
e35c0a578d
Rover: fix for HAL_GPIO_*
11 years ago
Andrew Tridgell
57e14f5387
Rover: updates for new GCS_MAVLink API
11 years ago
Andrew Tridgell
35e87fa2ea
Rover: use setup_uart()
11 years ago
Andrew Tridgell
c413cdc480
Rover: set AHRS vehicle class
11 years ago
Andrew Tridgell
f4079f57b2
Rover: convert to new GPS API
11 years ago
Andrew Tridgell
d1a650a527
Rover: updates for GPS changes
11 years ago
Andrew Tridgell
3d167b5420
Rover: use should_log() for more log msgs
11 years ago
Randy Mackay
7b9c3bf707
Rover: call mission.init during startup
11 years ago
Randy Mackay
4ca3a92655
Rover: Mission integration into command execution
11 years ago