squilter
f37d742160
DataFlash: support SafeRTL log messages
8 years ago
Andrew Tridgell
99aad41955
AC_AttitudeControl: added a update_vel_controller_xy() API
...
this allows for just XY control of velocity for quadplanes
8 years ago
Peter Barker
b8d3d180d1
AP_BoardConfig: clarify board type 2 also to be used on the Cube autopilot
8 years ago
davidaroyer
ad18e99bef
AP_Compass: add support for Aerotenna OcPoC-Zynq hardware
8 years ago
davidaroyer
7d2e44862f
AP_HAL_Linux: add support for Aerotenna OcPoC-Zynq hardware
8 years ago
davidaroyer
8862e76284
AP_HAL: add support for Aerotenna OcPoC-Zynq hardware
8 years ago
Georgii Staroselskii
e79fc893fa
AP_HAL_Linux: HAL_Linux_Class: delay SPIUARTDriver static initialization
...
There's an implicit (apart from the name) dependency between SPI and
SPIUARTDriver which results in a crush on a restart or a shutdown.
By moving the initialization we're making sure that all objects are
deleted in the right order.
8 years ago
Georgii Staroselskii
226eeeb738
AP_HAL_Linux: RCOutput_Sysfs: fix deleting _pwm_channels array
...
delete [] should be called rather than delete.
8 years ago
Georgii Staroselskii
f6858821a6
AP_HAL_Linux: PWM_Sysfs: remove unneeded free() in ~PWM_Sysfs_Base
...
_export_path and _duty_path will have been already long time gone by the
time dtors kick in.
Probably better to use OwnPtr around those. But it's better to be done
in a separate PR.
8 years ago
VikingDai
9f0e8a64d5
Update HAL_PX4_Class.cpp
...
"ttys5" used both for console and common usart ,it should be initialized by AP_SerialManager ;
8 years ago
Michael du Breuil
fb77d0739e
AP_Compass: Remove unused time calls, stash the time in the read loop
8 years ago
Peter Barker
85ebe923b6
SITL: avoid FPE when running fly.ArduPlane
...
Program received signal SIGFPE, Arithmetic exception.
__expf_finite () at ../sysdeps/x86_64/fpu/e_expf.S:132
132 ../sysdeps/x86_64/fpu/e_expf.S: No such file or directory.
(gdb) u
8 years ago
Peter Barker
97b6ca218b
AP_AHRS: send ekf status reports even when EKF inactive
8 years ago
Michael du Breuil
be371e09f9
AP_GPS: SBF: Reject short packets early, allow 256 byte long messages to be decoded
8 years ago
Andrew Tridgell
048dfee68a
AP_GPS: make SBF driver more robust
...
this fixes a crash bug in the SBF GPS driver where a badly formed packet
could cause crc16_ccitt to reference invalid memory
8 years ago
Lucas De Marchi
b62e8909c4
AP_GPS: add missing fallthrough
8 years ago
Lucas De Marchi
cb9c626577
AP_ADSB: fix getting a copy rather than a reference
...
These have been caught by making constructors private and enforcing
calling a create() method to create objects are supposed to be
statically allocated only.
The Vector3f reference was just nearby and was a change copied from
similar PR from Peter Barker (#6873 ).
8 years ago
Lucas De Marchi
2c72fc94ba
AP_HAL: change aerofc baud to 921600
8 years ago
Peter Barker
698f18566b
AP_Terrain: cast to int32_t to avoid warning about signedness
...
../../libraries/AP_Terrain/TerrainIO.cpp: In member function ‘void
AP_Terrain::open_file()’:
../../libraries/AP_Terrain/TerrainIO.cpp:176:46: warning: format ‘%u’
expects argument of type ‘unsigned int’, but argument 5 has type
‘__gnu_cxx::__enable_if<true, double>::__type {aka double}’ [-Wformat=]
abs((uint32_t)block.lon_degrees));
^
../../libraries/AP_Terrain/TerrainIO.cpp:176:46: warning: format ‘%u’
expects argument of type ‘unsigned int’, but argument 7 has type
‘__gnu_cxx::__enable_if<true, double>::__type {aka double}’ [-Wformat=]
8 years ago
Peter Barker
6ad3541a24
DataFlash: clean up public interface
8 years ago
Peter Barker
ac806b650f
GCS_MAVLink: move handling of do_send_banner up
8 years ago
Peter Barker
1544a92f8b
GCS_MAVLink: factor out a send_banner
8 years ago
Peter Barker
2e078f7c5e
GCS_MAVLink: send fw_string, px4 git hash and nuttx hash on param request
8 years ago
Peter Barker
8a7a1b77dd
GCS_MAVLink: handle param_request_list in GCS_MAVLINK base class
8 years ago
Peter Barker
50242178b3
GCS_MAVLink: handle param_set in GCS_MAVLINK base class
8 years ago
Peter Barker
95ff94bfad
GCS_MAVLink: factor out a handle_common_param_message
8 years ago
Peter Barker
add1743c12
GCS_MAVLink: move send_autopilot_request calls up to GCS base class
8 years ago
Peter Barker
e9204a66ee
GCS_MAVLink: include version for AP_FWVersion
8 years ago
Peter Barker
f32651a38c
DataFlash: include version for AP_FWVersion
8 years ago
Peter Barker
445777429b
AP_FWVersion: add structure to hold firmware version
8 years ago
Randy Mackay
aaac6b3692
AP_Common: Bitmask formatting fix
8 years ago
ChrisBird
46c982d64f
AP_Mission: add OPTIONS parameter
...
First option added now is to clear the mission on reboot
Fixes #5743
8 years ago
Michael du Breuil
a895d69b42
GCS_MAVLink: Correct a bug in the FOR_EACH_ACTIVE_CHANNEL macro
8 years ago
Jacob Walser
e492c733d8
AP_Baro: fixup Keller LD comments
8 years ago
Michael du Breuil
db6d8c9c43
AP_Mission: Use a static assert to check content size
8 years ago
Jacob Walser
f4dfbb9dad
AP_JSButton: input_hold_toggle -> input_hold_set
8 years ago
Jacob Walser
07e00de549
AP_Baro: Tweak Keller LD driver for better performance after initial tests
8 years ago
Jacob Walser
2a71afd3ba
AP_Baro: Remove superfluous casts
8 years ago
Jacob Walser
a08da4ecc4
AP_Baro: New AP_Baro_Keller device driver
8 years ago
Andrew Tridgell
7e1368f7a5
AP_InertialSensor: implement notch filter on gyro
8 years ago
Andrew Tridgell
50dcca39bd
Filter: added a notch filter
...
maths from Leonard
8 years ago
Peter Barker
0f22f923e1
AC_InputManager: remove MAIN_LOOP_RATE in favour of parameter value
8 years ago
Andrew Tridgell
4aa068d63d
SITL: added simple launch sim for plane
...
allow for bungee, catapult and hand launches
8 years ago
Peter Barker
9783c0c3ba
DataFlash: log dataflash-file statistics periodically
8 years ago
Peter Barker
776d88bb6b
DataFlash: remove duplicate variables
8 years ago
Andrew Tridgell
29fe432dd7
AP_SerialManager: enable debug console use for other protocols
...
this allows SERIAL5_PROTOCOL to be set on FMUv2 and FMUv3 for use by
other protocols
8 years ago
Andrew Tridgell
d09b549144
HAL_PX4: allow uart5 to be used for non-nsh on FMUv2/FMUv3
8 years ago
Andrew Tridgell
0155434057
RC_Channel: fixed bug in manual with TRIM == MIN
...
This fixes the bug described here:
https://discuss.ardupilot.org/t/arduplane-reverse-thrust-setup/18324/5
which otherwise would prevent output with TRIM == MIN or TRIM == MAX
8 years ago
Peter Barker
2f9fb581fe
DataFlash: remove bad FALLTHROUGH causing compilation failure
8 years ago
Peter Barker
921985fe27
GCS_MAVLink: allow statustext logging from any source system
...
Turns out this is terribly useful for companion computers if
you allow them to log things when they're not your GCS.
The original check was bogus; if someone is talking to you via
mavlink they can do much worse than fill your logs!
8 years ago