Randy Mackay
012d7b0c0a
OptFlow: initialisation fix
...
Thanks to DongFang (aka Soren) for finding the issue and the solution
12 years ago
Andrew Tridgell
131aa53e42
AP_Relay: update for new PX4 relay pin
12 years ago
Andrew Tridgell
83b13c3d88
HAL_PX4: fixed definition of relay and piezo pins
12 years ago
Andrew Tridgell
0916388ab5
HAL_PX4: retry opening UARTs up to 5 times
...
this seems to help a lot with the USB port on PX4
12 years ago
Marco Bauer
72d0721721
AP_Relay: setup pin for PX4 relay support
12 years ago
Marco Bauer
a3b216bce3
HAL_PX4: added GPIO driver
12 years ago
Randy Mackay
bf5a50f738
WPNav: stopping point projection uses wp_leash
12 years ago
Andrew Tridgell
f2316747f5
APM_Control: re-work to allow for rate based control
12 years ago
Randy Mackay
345924ddec
WPNav: replace LOITER_ACCEL_MAX with parameter
...
Also removed unused _lean_angle_max variable
12 years ago
Randy Mackay
204f613467
WPNav: bug fix to reported distance to target
...
This value is for reporting purposes only
12 years ago
Randy Mackay
518eba0729
WPNav: bug fix to loiter accel calculation
...
Contribution from Leonard Hall
12 years ago
Randy Mackay
c4f17b3235
WPNav: rounding error fix in loiter
...
Contributed by Leonard Hall
12 years ago
Randy Mackay
5d23d5aaa7
WPNav: reduce loiter speed used to correct pos error
...
Contributed by Leonard Hall
This should reduce the aggressiveness of the response when we experience
a GPS glitch
12 years ago
Randy Mackay
7860d06b91
AHRS: typo fix for ORIENTATION param description
12 years ago
Andrew Tridgell
0f72401d8d
AP_Baro: added GND_ALT_OFFSET parameter
...
used for automatic barometric adjustment by a ground station equipped
with a barometer
12 years ago
Andrew Tridgell
469736e6bc
DataFlash: changes for GPS field changes
12 years ago
Andrew Tridgell
279f6d00f0
AP_AHRS: changes for GPS field changes
12 years ago
Andrew Tridgell
7dbb898264
AP_GPS: switch fields to add units suffix
...
altitude -> altitude_cm
ground_speed -> ground_speed_cm
ground_course -> ground_course_cd
this helps prevent unit mixups
12 years ago
Paul Riseborough
66d60953df
TECS: added height update_pitch call
12 years ago
Andrew Tridgell
9959f6b2df
AP_Camera: removed incorrect mavlink sends
...
these sends did nothing, as MAVLINK_COMM_3 is not connected to
anything. If it was connected they would be dangerous, as a blocking
serial write could cause the stabilization of a copter not to run. If
the serial port was non-blocking it would corrupt the packet.
If we needed something like this it would have to use the MAVLink
packet queueing logic we use elsewhere
12 years ago
Craig@3DR
f5154d9e7a
AP_Camera: changed update_location() to return true for camera trigger
...
Makes the main vehicle code responsible for taking a photo so logging can occur
12 years ago
Andrew Tridgell
7fa1fe8590
AP_Param: use 0xFFFF not __UINT16_MAX__
...
MacOS doesn't have __UINT16_MAX__
12 years ago
Paul Riseborough
2c5db9a165
TECS: added support for throttle nudging
12 years ago
Paul Riseborough
9c431b4a04
TECS: use altitude supplied by mainline code
...
this allows for use of ALT_OFFSET and ALT_MIX
12 years ago
Paul Riseborough
d8fedf994a
AP_SpdHgtControl: added height above field parameter
12 years ago
Tobias
4a75351bd3
AP_Param: fixed a compiler warning with -Wsign-conversion
12 years ago
Tobias
27a5c28851
AP_Param: fixed some compiler warnings
...
* added comment
* replaced "~0" with the appropriate macro
* resolved -Wconversion
* saved some space by modifying AP_Param::add_vector_suffix (writing
behind buffer could happen, if buffer_size is almost uint16_max but this
can surely be ignored)
further reading:
http://stackoverflow.com/questions/809227/is-it-safe-to-use-1-to-set-all-bits-to-true
12 years ago
Tobias
ab311d1dd4
AP_Compass: removed comparison out of range compiler warning
...
uint_ >= 0 (-Wtype-limits)
12 years ago
Tobias
c95072ea25
AP_GPS: added explicit cast to omit [-Wconversion] warning
12 years ago
Andrew Tridgell
8c49ed78a5
AP_Math: make the rotation numbers easier to find
12 years ago
Andrew Tridgell
a6c7bd3612
AP_Compass: fixed rotations for COMPASS_ORIENT
...
this matches AHRS_ORIENTATION again
12 years ago
Tobias
338c054da2
Filter: validity of array index was checked AFTER accessing the element.
...
(correction decreased Program size by 12 bytes)
12 years ago
Tobias
d3ea88e8c7
AP_HAL: resolved -Woverloaded-virtual warning
...
the function:
virtual size_t AP_HAL::Print::write(const uint8_t *buffer, size_t size);
was hidden in all derived classes by their
virtual size_t write(uint8_t) = 0; implementations.
To solve this, a non-virtual write(const uint8_t *, size_t) that calls a
virtual write_implementation was added.
This isn't necessary atm, because the derived classes don't call
write(const uint8_t *, size_t), BUT this decreases the apm2-quad Program
size by 40 bytes :D and removes warnings.
12 years ago
tobias
1bf135b36f
AP_AHRS: make some more functions const
12 years ago
Tobias
ce6529734c
HAL_AVR: reorder parameters to remove a warning with -Wreorder
12 years ago
tobias
4e7fea787b
HAL_AVR: corrected includes to replace #include "$HEADER" with #inlcude "utility/$HEADER"
...
adding -I for EVERY DIRECTORY isn't desirable
http://gcc.gnu.org/onlinedocs/cpp/Search-Path.html
12 years ago
Randy Mackay
649cbf6b68
WPNav: reduce default WP_ACCEL and LOITER_SPEED
12 years ago
Randy Mackay
ded31582de
AP_AHRS: add Roll90Yaw90 to parameter description
...
Thanks to Rainer Walther for spotting this
12 years ago
rmackay9
073e2c9f15
ACMotors: bug fix to yaw limit
12 years ago
John Boiles
bb2a6b8a22
HAL_SITL: Fixing SITL build for OSX.
12 years ago
Paul Riseborough
a694b781c7
AP_TECS: Add non airspeed sensor pitch to throttle mode lost during integration
12 years ago
Andrew Tridgell
25f8983383
HAL_AVR: don't initialise TWBR twice
12 years ago
Andrew Tridgell
87f6cc715d
AP_TECS: fixed parameter doc formatting
12 years ago
Paul Riseborough
8082122053
TECS-WIP : Fixed bug in initialisation of DT value
12 years ago
Andrew Tridgell
904e6b5b8f
AP_TECS: for _DT to at most 0.1
12 years ago
Andrew Tridgell
68232a10f9
AP_TECS: updates to use new aircraft parameter structure
12 years ago
Andrew Tridgell
89271b7774
AP_SpdHgtControl: added speed/height control interface
...
this will be used by TECS
12 years ago
Andrew Tridgell
80e0f8044c
AP_AHRS: added airspeed_sensor_enabled() function
12 years ago
Paul Riseborough
5b0129e02b
AP_TECS: first implemention of TECS altitude control library
12 years ago
Paul Riseborough
7bdb098e77
AP_Baro: added get_EAS2TAS()
...
this provides the scaling factor between equivalent and true airspeed
based on altitude
12 years ago