uncrustify
f7a748d43b
uncrustify ArduCopter/GCS_Mavlink.pde
13 years ago
rmackay9
11e946eb54
ArduCopter, ArduPilot: revert mavlink delay callback to be "unsigned long"
13 years ago
rmackay9
2e4e8bbf1a
ArduCopter: changed "unsigned long" to "uint32_t"
13 years ago
rmackay9
36f947acb9
ArduCopter: changed all "int" to "int16_t" and a few "long"s to "int32_t".
...
Also moved "simple_counter" variable from global scope to the "update_simple_mode" function which is the only place that it's actually used.
13 years ago
Andrew Tridgell
ed064b2506
MAVLink: enable fetching of single parameters
...
this makes it possible for the GCS to fetch a single parameter by
name, which is useful for parameters that change in flight
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
c2a4d59132
AP_Param: update ArduCopter core for new AP_Param interface
13 years ago
Michael Oborne
e577b51e17
AC remove attitude hil unused extra (gps jump issue.)
13 years ago
Michael Oborne
ef870e3ca1
AC remove some attitude HIL limitations
13 years ago
rmackay9
8e5312a759
ArduCopter: add support for MAVLink's MAV_CMD_NAV_ROI command
...
do_nav_roi and verify_nav_roi functions added to turn the copter and/or mount in response to a MAV_CMD_NAV_ROI way point
13 years ago
Andrew Tridgell
85465c9126
MAVLink: fixed another two places where micros() was used for a millisecond time
13 years ago
Jonathan Challinger
fc4f111d15
Changed mavlink GLOBAL_POSITION_INT.relative_alt message to correctly return altitude above ground.
13 years ago
Andreas M. Antonopoulos
a976a59c88
AP_Limits: Configuration defaults moved to config.h. Fixed AP_LIMITS==DISABLED handling.
13 years ago
Andreas M. Antonopoulos
c73f7ef3ab
AP_Limits library, provides modular "limits" such as altitude and geo-fencing.
13 years ago
Andrew Tridgell
8220ae8096
MAVLink: climb_rate is in m/s
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
Jason Short
3cf16c1424
GCS_Mavlink.pde
...
removed Approach define
13 years ago
Jason Short
c276fe8fa0
GCS_Mavlink: added notes to #if malink10
13 years ago
Andrew Tridgell
55092c25a6
SITL: enable the SIM_* parameters in ArduCopter and ArduPlane
13 years ago
Andrew Tridgell
dae1a57dc5
ACM: adapt the ArduCopter code for new barometer interface
13 years ago
rmackay9
068fe64b9b
ArduCopter HIL: changed calls to setHIL to send in time as a uint32_t (it was a float)
13 years ago
Jason Short
46fb3b783a
GCS_Mavlink.pde : mav_nav only used in legacy Mavlink.
13 years ago
Jason Short
c71c503c84
GCS Mavlink.pde: change reference to nav_bearing to target_bearing.
13 years ago
Andreas M. Antonopoulos
bef005b5f2
AC2.6: Fix battery calculation and scaling bug for MAV1.0, now same as ArduPlane
...
http://code.google.com/p/arducopter/issues/detail?id=430
13 years ago
Michael Oborne
14be88dd55
AC: add hilstate message
13 years ago
Andrew Tridgell
7c63d2c17b
ACM: MAVLINK10 uses HIL_STATE
...
thanks to Michael for noticing this
13 years ago
Andrew Tridgell
3f4e87cccc
ACM: fixed HIL build for MAVLINK10
13 years ago
Michael Oborne
9303a89573
fix AC hil build
13 years ago
Andrew Tridgell
d9457ecc38
MAVLink: send time of GPS fix accurately
...
when we send a GPS_RAW message, set the usec field to the time we got
the fix from the GPS, not the current time. This makes it possible for
aerial photo processing to be more accurate, as the usec field with
more accurately reflect the planes position/time pair
13 years ago
Andrew Tridgell
422dc82f32
MAVLink: allow parameter fetch during mavlink_delay()
...
this allows the planner to fully connect to the APM with MAVLink while
doing a DataFlash erase
13 years ago
Andrew Tridgell
4fee26437b
MAVLink: make ACM build with MAVLink 1.0 possible in arduino GUI
13 years ago
Andrew Tridgell
fe970221e2
ACM: added support for MAVLink 1.0 to ArduCopter
...
most operations should now work
13 years ago
rmackay9
e5710958bc
ArduCopter - GCS_Mavlink.pde - changed output to ground station to use new AP_Motor's class motors array inplace of the global "motor_out" array.
13 years ago
Andrew Tridgell
c0a54762c6
MAVLink: port the new adaptive flow control to ArduCopter
...
This allows for arbitrary stream rates, and supports flow control if
you are using a 3DR radio
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
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
547b4ed55b
AHRS: adapt ArduCopter for new AHRS framework
13 years ago
Andrew Tridgell
d75e883fe8
GCS: get_integrator() is now get_gyro_drift() in DCM
13 years ago
Andrew Tridgell
7291dfc25a
ACM: removed the special case for quaternions in GCS code
13 years ago
Andrew Tridgell
7e4c8592ff
ACM: make it possible to build ArduCopter with quaternions
13 years ago
Andrew Tridgell
a0ce202d87
ACM: added SIMSTATE, DCM and HWSTATUS messages to ACM
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
2e9105c68a
AP_Param: added special handling for Vector3f
...
We would like to be able to use Vector3f as a parameter while exposing
the individual elements of the vector as MAVLink parameters. This
change to AP_Param makes that possible, by giving AP_Vector3f a dual
personality
13 years ago
Andrew Tridgell
df8a557630
AP_Param: update users of AP_Param for ParamToken
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
d4305e0ae2
fixed apm2beta build with AP_Param
13 years ago
Andrew Tridgell
c9c422539e
update ACM MAVLink code for AP_Param
13 years ago