Andrew Tridgell
e04de04cbd
Rover: fixed type of payload size
13 years ago
Andrew Tridgell
97aa98015d
Rover: added TELEM_DELAY to rover code
13 years ago
Andrew Tridgell
dc47074dbd
MAVLink: removed the need for Mavlink_compat.h
...
we have now fully transitioned to MAVLink 1.0, so we no longer need
the compatibility layer and the old names in the code
13 years ago
Andrew Tridgell
2a7b298bbc
MAVLink: moved mavlink variables back to library
...
these were moved to the main sketches to allow for compile time
selection of MAVLink 0.9 vs 1.0. We no longer support 0.9, so we can
move it back, which simplifies some test sketches
13 years ago
Andrew Tridgell
dfac01e6f1
AP_Param: updated APMrover2 code for new AP_Param syntax
13 years ago
Jonathan Challinger
fc4f111d15
Changed mavlink GLOBAL_POSITION_INT.relative_alt message to correctly return altitude above ground.
13 years ago
Andrew Tridgell
60caaa4b04
MAVLink: remove MAVLink 0.9 protocol support
...
this simplifies the code a lot. We're not going back to 1.0
13 years ago
Jean-Louis Naudin
d8be428428
APMrover 2.20b: minor update for HIL mode with the new lib
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Andrew Tridgell
93de111837
Rover: fixed the build for MAVLink 1.0
...
I have no idea if it will actually work, but at least it builds
13 years ago
Jean-Louis Naudin
01c4f6105b
APMrover 2.1.4 - cosmetic changes
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Robert Lefebvre
10b5d758f8
Changed software ID from 0 to 20 for ArduRover V2 Divergence.
...
Also changed definition of flight mode 2 from Stabilize to Learning.
13 years ago
Jean-Louis Naudin
5cece403a5
APMrover v2.1.4: compatibility with the latest version of mavlink library...
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Jean-Louis Naudin
4a4402556b
APMrover v2.1.3 :
...
Added option (hold roll to full right + SW7 ON/OFF) to init_home during the wp_list reset
Add ROV_SONAR_TRIG (default = 200 cm) - tested by Franco
Restart_nav() added and heading bug correction, tested OK in the field
RTL then stop update - Tested OK in the field
Added SONAR detection for obstacle avoidance
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Jean-Louis Naudin
899e6e66b0
APMrover v2.0c - tested with APM v2 full kit (Oilpan) - dualversion (IMUless + IMUfull)
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Jean-Louis Naudin
602fe6e55a
APMrover v2.0b - Special update for rover heading calculation if compass is enabled
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Jean-Louis Naudin
77eea3a893
APMrover v2.0 - tested on Traxxas Monster Jam Grinder XL-5 3602
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Andrew Tridgell
b6a475f6a5
MAVLink: make APM build with MAVLink 1.0 possible with arduino GUI
13 years ago
Andrew Tridgell
95be2c5922
APM: updates for MAVLink 1.0
13 years ago
Andrew Tridgell
8e6fdb8981
APM: use OutputCh_current() in MAVLink servo logging
...
this gives a more accurate picture of what is actually happening with
the servos
13 years ago
Michael Oborne
8d797fec3c
fix potential null pointer
13 years ago
Andrew Tridgell
e1270401bf
MAVLink: make parameter send use adaptive stream rate
...
this makes it possible to fetch parameters with very low air data
rates
13 years ago
Andrew Tridgell
7b50724f60
MAVLink: allow for find grained stream rate control
...
streams can now be requested at any multiple of 20ms. So if you ask
for a stream at 7Hz then you will get it at close to 7Hz.
13 years ago
Andrew Tridgell
e0bb7e2777
MAVLink: don't waste 100 bytes of bandwidth sending 1 byte of information
...
the GPS_STATUS message is a massive waste of bandwidth, but it is the
only message that tells us the number of visible satellites. So only
send it if that information changes.
This makes MAVLink work better at low baud rates
13 years ago
Andrew Tridgell
4c4c38f69a
APM: Added MANUAL_LEVEL option
...
when MANUAL_LEVEL is set to 1, we don't do accelerometer levelling at
startup, and instead used the values saved in the EEPROM. This makes
it easier to do levelling on the bench, or once for a series of
flights for the day
13 years ago
Andrew Tridgell
34506b170f
Mavlink: fixed warnings about limits on int32 values
13 years ago
Andrew Tridgell
458d55e5bc
MAVLink: constrain variable changes to the datatype range
...
if someone tries to set a AP_Int16 to a value of 300000, they now get
32767 instead of -27678
13 years ago
Andrew Tridgell
8afd196907
APM: adapt ArduPlane for AHRS framework
13 years ago
Andrew Tridgell
d75e883fe8
GCS: get_integrator() is now get_gyro_drift() in DCM
13 years ago
Andrew Tridgell
13d5839778
APM: removed quaternion special cases
13 years ago
Andrew Tridgell
e39c3cb9d2
APM: make it possible to build ArduPlane with quaternion support
13 years ago
Andrew Tridgell
b455443e2c
APM: added logging of DCM, HWSTATUS and SIMSTATE
13 years ago
Andrew Tridgell
690dc9052a
GCS: force scalar type in copy_name()
...
this enables access to compass offsets over MAVLink
13 years ago
Andrew Tridgell
df8a557630
AP_Param: update users of AP_Param for ParamToken
13 years ago
Andrew Tridgell
78babd37fa
APM: use set_and_save_ifchanged() for GCS stream rates
...
this avoids a lot of EEPROM scan operations when the groundstation
updates the stream rates
13 years ago
Andrew Tridgell
c662140a2b
APM: report the nav_bearing as hold_course when enabled
...
this gives a more accurate view of the navigation code, as when
hold_course is not -1 it overrides nav_bearing
13 years ago
Andrew Tridgell
c042ef1298
APM: fixed some build warnings
13 years ago
Andrew Tridgell
8d1729b3ba
Mavlink: report the corrected pitch via MAVLink
...
this subtracts the TRIM_PITCH_CD from the pitch reported via
MAVLink. That gives a better indication of the true pitch in the tlog
13 years ago
Andrew Tridgell
ecdbfd257a
token is 16 bits now
13 years ago
Andrew Tridgell
0b3e3ec5c8
added group indexes to GCS_MAVLINK class
13 years ago
Andrew Tridgell
bc0ed62aa9
adapt mainline APM code to AP_Param
13 years ago
Sandro Benigno
3200781f56
Battery monitor type 3 cannot calculate battery remaining properly, due it uses only voltage reading. This path set battery_remaining to a value out-of-band for that type of monitoring. It informs to external devices to not show that info.
13 years ago
Michael Oborne
6b949511ca
change rc norm_output to scale evenly across the entire range
13 years ago
Doug Weibel
69c7598db2
Update battery monitoring code for ArduPlane
...
Fixes compatibility for APM2. Also a significant update to the battery monitoring code: We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos. These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere). Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs. The CLI battery and current monitoring tests were consolidated into 1 test.
13 years ago
Michael Oborne
cd145fd7a9
add circle to output modes
13 years ago
Andrew Tridgell
42522baf9f
geofence: store fence points as int32_t
...
this keeps maximum precision in fence boundaries
13 years ago
Andrew Tridgell
fc495ce6a7
geofence: added fence status reporting and faster altitude check
13 years ago
Andrew Tridgell
3b148c87d5
geofence: main geo-fence code
...
this implements the primary logic of geo-fencing
13 years ago
Andrew Tridgell
84a694efb9
only check for "enter 3 times" in first 20s after boot
...
we don't want stray bytes on serial3 to make us enter the CLI during
flight!
13 years ago
Andrew Tridgell
8cd13749bd
MAVLink: fixed link flood on waypoint upload
13 years ago
Andrew Tridgell
d5c23c83cf
apm2: fixed for new barometer code
13 years ago