Andrew Tridgell
45615e5698
Rover: merge in mavlink updates from ArduPlane
12 years ago
Andrew Tridgell
b284d4c21e
Rover: first cut at porting rover to AP_HAL
12 years ago
Andrew Tridgell
33e47e2036
Rover: set throttle range from -100 to 100
...
this allows for reverse
12 years ago
Andrew Tridgell
ff9628accf
Rover: removed some more plane specific variables
12 years ago
Andrew Tridgell
ff41e057d9
Rover: added partial update of waypoints
12 years ago
Andrew Tridgell
691d19dd98
Rover: more cleanup, and fixed navigation code
...
removed loiter code
12 years ago
Andrew Tridgell
54a722158a
Rover: fixed cliSerial and clean out more gunk
12 years ago
Andrew Tridgell
24adc1aaa3
Rover: make it possible to run the CLI over a radio link
12 years ago
Andrew Tridgell
704da2a5d9
MAVLink: make it possible to enter the CLI over the radio
...
this only works on the APM2, where UART0 is also the radio port
12 years ago
Andrew Tridgell
39836eabb2
Rover: support 16 character parameter names
12 years ago
Andrew Tridgell
69fbcc8683
MAVLink: fixed accel and gyro sensor offsets in MAVLink
12 years ago
Andrew Tridgell
abc0a1cd38
Rover: major update, fixing lots of bugs
...
This removes a lot of the ArduPlane specific cruft left over from the
initial Rover import from ArduPlane, plus fixes a bunch of serious
bugs. For example, the rover was unable to use either compass or gps
for heading - it used just gyros!
There is still a lot of cruft left, but this at least gives a bit
better basis for future work
12 years ago
rmackay9
e877a58b60
APMRover: fixes to incorporate accelerometer calibration
12 years ago
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