Jonathan Challinger
0baf86c485
AC_AttitudeControl: fixup more names
2015-12-09 19:58:39 +09:00
Jonathan Challinger
41e580e53a
AC_AttitudeControl: add input_att_quat_bf_ang_vel and use for ACRO
2015-12-09 19:58:38 +09:00
Jonathan Challinger
5919e95635
AC_AttitudeControl: add input_ prefix to input shaper functions
2015-12-09 19:58:36 +09:00
Jonathan Challinger
bba360ea2b
AC_AttitudeControl: correct bugs found in review
2015-12-09 19:58:35 +09:00
Jonathan Challinger
9208003aab
AC_AttitudeControl: remove unused variable
2015-12-09 19:58:34 +09:00
Jonathan Challinger
f8c709478a
AC_AttitudeControl: quaternion acro controller
2015-12-09 19:58:33 +09:00
Jonathan Challinger
8b886bc479
AC_AttitudeControl: minor comment changes and reorganization
2015-12-09 19:58:32 +09:00
Jonathan Challinger
edda7e4e1e
AC_AttitudeControl: keep _att_target_euler_deriv_rads updated in euler_angle_roll_pitch_yaw
2015-12-09 19:58:31 +09:00
Jonathan Challinger
1afab89991
AC_AttitudeControl: extensive renaming and recommenting
2015-12-09 19:58:29 +09:00
Jonathan Challinger
06c8457efd
AC_AttitudeControl: rename and modify frame_conversion functions to follow conventions
2015-12-09 19:58:27 +09:00
Jonathan Challinger
7330de86e5
AC_AttitudeControl: change internals to use radians instead of centidegrees
2015-12-09 19:58:26 +09:00
Jonathan Challinger
fff275fd99
AP_Math: add wrap_2PI
2015-12-09 19:58:25 +09:00
Tom Pittenger
37054d9571
SITL: update units for new adsb mavlink msg
2015-12-09 14:36:30 +11:00
Tom Pittenger
87fccce9e2
AP_ADSB: update units for new mavlink msg
2015-12-09 14:36:30 +11:00
Tom Pittenger
40a84f0589
GCS_MAVLink: recompiled common.xml for adsb
2015-12-09 14:36:29 +11:00
Tom Pittenger
0026b56f0a
GCS_MAVLink: updated adsb mavlink msg - remove floats
...
- convert altitude from float m/s to int32 mm/s
- convert velocities from float m/s to uint16 cm/s
2015-12-09 14:36:29 +11:00
Tom Pittenger
decac5cb15
AP_ADSB: delete furthest when buffer is full
...
- added lowest/highest_threat tracking. This is currently defined as 2D distance. Room for improvement to make it 3D and be flight vector based instead of distance
- when trying to add a vehicle but the buffer is full, overwrite the lowest_threat/furthest
- added basic THREAT enum of high/low which means in or our of the 200m radius. Room for improvement here.
2015-12-09 14:35:20 +11:00
Tom Pittenger
7236b48518
SITL: compiler warning: double to float demotion
...
- replace atof() with strtof() for the correct return time
2015-12-08 14:54:58 +09:00
Tom Pittenger
48ae0d645d
AP_HAL_SITL: compiler warning: float to double promotion
...
- replace atof() with strtof() for the correct return time
2015-12-08 14:54:43 +09:00
Lucas De Marchi
4f012b2b32
AP_HAL_Empty: sort namespace classes
2015-12-08 11:12:14 +11:00
Lucas De Marchi
a9def97344
AP_HAL_VRBRAIN: rename AP_HAL_Empty instances
2015-12-08 11:12:14 +11:00
Lucas De Marchi
c72f812944
AP_HAL_SITL: rename AP_HAL_Empty instances
2015-12-08 11:12:14 +11:00
Lucas De Marchi
503533c6fe
AP_HAL_PX4: rename AP_HAL_Empty instances
2015-12-08 11:12:14 +11:00
Lucas De Marchi
6011eefb55
AP_HAL_Linux: rename AP_HAL_Empty instances
2015-12-08 11:12:14 +11:00
Lucas De Marchi
2ffb08b9ca
AP_HAL_Empty: remove prefix from classes
...
Like was done for AP_HAL_Linux in 2ac96b9
("AP_HAL_Linux: remove prefix
from AP_HAL_Linux classes"), remove the "Empty" prefix from class names
since we are already inside the Empty namespace.
2015-12-08 11:12:14 +11:00
Lucas De Marchi
f69208d47d
AP_HAL: remove state leftover from SPIDeviceDriver
...
This was previously used to allow to save a state in a SPIDriver so we
could synchronize the initialization of AP_Compass and
AP_InertialSensor.
It was only used by MPU9250 and is not used anymore since the move to
AuxiliaryBus initialization and it's not used anymore since c3dae6f
("AP_InertialSensor: MPU9250: Remove methods not used anymore")
2015-12-08 11:10:23 +11:00
Lucas De Marchi
27dafa8f1b
AP_HAL_Linux: remove state leftover from SPIDeviceDriver
...
This was previously used to allow to save a state in a SPIDriver so we
could synchronize the initialization of AP_Compass and
AP_InertialSensor.
It was only used by MPU9250 and is not used anymore since the move to
AuxiliaryBus initialization and it's not used anymore since c3dae6f
("AP_InertialSensor: MPU9250: Remove methods not used anymore")
2015-12-08 11:10:23 +11:00
Peter Barker
7900359fac
DataFlash: LOG_FILE_BUFSIZE sets buffer size for DataFlash_File
2015-12-08 10:59:57 +11:00
Tom Pittenger
c118130dda
DataFlash: fixed mispelling
...
@param label was different than everywhere else that did not use plurl
2015-12-08 08:23:07 +09:00
Robert Lefebvre
59a44008d7
AP_RPM: Move timeout check into synthetic quality check.
2015-12-08 08:25:19 +11:00
Robert Lefebvre
fd106b20c7
AP_RPM: Add Minimum Quality Parameter
2015-12-08 08:25:19 +11:00
Robert Lefebvre
1f8b90e876
AP_RPM: Move filter step outside of min/max rpm check
2015-12-08 08:25:19 +11:00
Robert Lefebvre
f04668307d
AP_RPM: Add Minimum RPM parameter
2015-12-08 08:25:18 +11:00
Robert Lefebvre
968599b795
AP_RPM: Add Signal Quality synthetic method.
2015-12-08 08:25:18 +11:00
Robert Lefebvre
77877ba5fc
ModeFilter: Add get() method and support for Float type
2015-12-08 08:25:18 +11:00
Robert Lefebvre
a08fa50fda
AP_RPM: Add enabled() method to check if sensor is enabled
2015-12-08 08:25:18 +11:00
Michael Oborne
1c1eea6119
AP_GPS_SBF: add sd logging by default, improve init
2015-12-07 21:56:44 +09:00
Michael Oborne
0bcc6e324a
AP_GPS_SBF: formatting fixes
2015-12-07 21:56:42 +09:00
Tom Pittenger
f8b0a6a977
AP_Math: compiler warnings - undeclared function
2015-12-07 16:05:00 +09:00
Tom Pittenger
103af93ec3
AP_Math: compiler warnings - float compare to constant (zero)
2015-12-07 16:04:59 +09:00
Tom Pittenger
41746733fe
AP_Common: remove crazy #define float double
...
- not creating a warning buuuuuut this is just sooooo bad that it must be nuked on the spot
2015-12-07 15:50:07 +09:00
Tom Pittenger
4e3864049a
DataFlash: compile warning - float to double promotion
2015-12-07 15:50:03 +09:00
Tom Pittenger
4ee2fb6c7a
Filter: compiler warnings - unused template <double>
2015-12-07 15:50:00 +09:00
Tom Pittenger
0aa0380db8
AP_Compass: compiler warnings - float to float compare and bool cast
2015-12-07 15:49:58 +09:00
Gustavo Jose de Sousa
3035fb282d
DataFlash: fix example
2015-12-07 15:42:04 +09:00
Robert Lefebvre
3a13db9333
AP_MotorsHeli: Add more parameter checks.
2015-12-07 14:51:42 +09:00
Andrew Tridgell
58f0abaf4c
AC_AttitudeControl: fixed one usage of zero accel limits
...
in other places zero accel limit means no limit
2015-12-07 13:43:14 +09:00
Andrew Tridgell
78e9b0a4e3
HAL_PX4: check for servo counts changing after boot
...
this copes with changes to BRD_PWM_COUNT
2015-12-06 14:19:28 +11:00
Lucas De Marchi
5678ae54db
AP_ADC_AnalogSource: remove unused library
2015-12-03 13:32:45 +11:00
Lucas De Marchi
cee770f5f7
StorageManager: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
Lucas De Marchi
e8e48fd8e0
RC_Channel: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
Lucas De Marchi
9f0ff6ec24
GCS_MAVLink: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
Lucas De Marchi
f584543ea1
DataFlash: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
Lucas De Marchi
c59490677d
AP_Scheduler: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
Lucas De Marchi
fb24056ca9
AP_RangeFinder: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
Lucas De Marchi
1ba22398a5
AP_OpticalFlow: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
Lucas De Marchi
a4213166ae
AP_Notify: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
Lucas De Marchi
f1de9c25fe
AP_Mount: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:43 +11:00
Lucas De Marchi
c9d1456a66
AP_Motors: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:43 +11:00
Lucas De Marchi
3818a8a703
AP_Mission: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:43 +11:00
Lucas De Marchi
f5c03c786d
AP_Math: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:43 +11:00
Lucas De Marchi
e1d90c78d8
AP_InertialSensor: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:43 +11:00
Lucas De Marchi
fe5d6f2d49
AP_HAL_PX4: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:43 +11:00
Lucas De Marchi
a1c3912bd8
AP_HAL: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:43 +11:00
Lucas De Marchi
2b5417046b
AP_GPS: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:43 +11:00
Lucas De Marchi
0bcbcd07cc
AP_Compass: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:42 +11:00
Lucas De Marchi
0a1dbab24e
AP_BattMonitor: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:42 +11:00
Lucas De Marchi
5b1769cd2b
AP_Baro: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:42 +11:00
Lucas De Marchi
7c78955591
AP_Airspeed: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:42 +11:00
Lucas De Marchi
2b26a2eebe
AP_AHRS: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:42 +11:00
Lucas De Marchi
247195512f
AC_PID: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:42 +11:00
Andrew Tridgell
3a3394ce36
HAL_AVR: fixed branch URL for AVR
2015-12-03 13:28:51 +11:00
Andrew Tridgell
3fcda53d11
GCS_MAVLink: regenerated headers
2015-12-03 13:21:52 +11:00
Peter Barker
4f1a7c6427
DataFlash: remove use of AddLogFormats
2015-12-03 13:21:52 +11:00
Peter Barker
0f9e7a905d
AP_GPS: remove use of AddLogFormats
2015-12-03 13:21:52 +11:00
Peter Barker
0ca07e5245
DataFlash: DataFlash-over-MAVLink support
2015-12-03 13:21:51 +11:00
Peter Barker
31b8432545
GCS_MAVLink: add remote logging messages
2015-12-03 13:21:51 +11:00
Peter Barker
faabe0b83d
DataFlash: support multiple simultaneous backends
2015-12-03 13:21:51 +11:00
Peter Barker
121967d1b1
DataFlash: factor log structures into LogStructures.h (no functional change
2015-12-03 13:21:51 +11:00
Michael du Breuil
2f97f9f416
AP_GPS: Fix incorrect values docstring on RAW_DATA
2015-12-03 10:17:22 +09:00
Gustavo Jose de Sousa
eef784fbe6
AP_Math: add benchmark for matrix multiplication
2015-12-03 07:54:31 +11:00
Gustavo Jose de Sousa
4266e924d0
AP_Math: add unit test for vector rotations
...
This unit test already shows that rotation is wrong for
ROTATION_YAW_293_PITCH_68_ROLL_90.
2015-12-03 07:54:31 +11:00
Caio Marcelo de Oliveira Filho
6e7b73610d
waf: add waf support
2015-12-03 07:54:30 +11:00
Lucas De Marchi
6d7678d2a3
AP_HAL_PX4: fix passing callback to member function
...
This is the same approach as done for AP_HAL_Linux in e3d78b8
("AP_HAL_Linux:
fix passing callback to member function"). It fixes the following warnings:
ardupilot/libraries/AP_HAL_PX4/Scheduler.cpp: In member function 'virtual void PX4::PX4Scheduler::init(void*)':
ardupilot/libraries/AP_HAL_PX4/Scheduler.cpp:55:95: warning: converting from 'void* (PX4::PX4Scheduler::*)()' to 'pthread_startroutine_t {aka void* (*)(void*)}' [-Wpmf-conversions]
pthread_create(&_timer_thread_ctx, &thread_attr, (pthread_startroutine_t)&PX4::PX4Scheduler::_timer_thread, this);
^
ardupilot/libraries/AP_HAL_PX4/Scheduler.cpp:65:94: warning: converting from 'void* (PX4::PX4Scheduler::*)()' to 'pthread_startroutine_t {aka void* (*)(void*)}' [-Wpmf-conversions]
pthread_create(&_uart_thread_ctx, &thread_attr, (pthread_startroutine_t)&PX4::PX4Scheduler::_uart_thread, this);
^
ardupilot/libraries/AP_HAL_PX4/Scheduler.cpp:75:92: warning: converting from 'void* (PX4::PX4Scheduler::*)()' to 'pthread_startroutine_t {aka void* (*)(void*)}' [-Wpmf-conversions]
pthread_create(&_io_thread_ctx, &thread_attr, (pthread_startroutine_t)&PX4::PX4Scheduler::_io_thread, this);
^
ardupilot/libraries/AP_HAL_PX4/Scheduler.cpp:85:100: warning: converting from 'void* (PX4::PX4Scheduler::*)()' to 'pthread_startroutine_t {aka void* (*)(void*)}' [-Wpmf-conversions]
pthread_create(&_storage_thread_ctx, &thread_attr, (pthread_startroutine_t)&PX4::PX4Scheduler::_storage_thread, this);
ardupilot/libraries/AP_HAL_PX4/NSHShellStream.cpp: In member function 'void PX4::NSHShellStream::start_shell()':
ardupilot/libraries/AP_HAL_PX4/NSHShellStream.cpp:83:99: warning: converting from 'void (PX4::NSHShellStream::*)()' to 'pthread_startroutine_t {aka void* (*)(void*)}' [-Wpmf-conversions]
pthread_create(&shell_thread_ctx, &thread_attr, (pthread_startroutine_t)&PX4::NSHShellStream::shell_thread, this);
^
2015-12-03 07:51:08 +11:00
Lucas De Marchi
036eb21c09
AP_HAL: remove init() method with unused argument
2015-12-02 14:49:12 -02:00
Lucas De Marchi
bf24d0ef31
AP_HAL_VRBRAIN: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
2015-12-02 14:49:12 -02:00
Lucas De Marchi
4c82c535cc
AP_HAL_SITL: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
2015-12-02 14:49:11 -02:00
Lucas De Marchi
0c3733601b
AP_HAL_PX4: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
2015-12-02 14:49:11 -02:00
Lucas De Marchi
2439826c19
AP_HAL_Linux: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
2015-12-02 14:49:11 -02:00
Lucas De Marchi
0514aadaec
AP_HAL_FLYMAPLE: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
2015-12-02 14:49:11 -02:00
Lucas De Marchi
00f17466a8
AP_HAL_Empty: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
2015-12-02 14:49:11 -02:00
Lucas De Marchi
6bc07da0ee
AP_HAL: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
2015-12-02 14:42:37 -02:00
Lucas De Marchi
6b1c5e6f72
AP_HAL: add init() method without argument
...
The argument in init() is not used by any implementation. Add a second
method without it so the HAL implementation can used it instead. Later
the unused method will be removed.
2015-12-02 14:21:58 -02:00
Tom Pittenger
f60f0e80c3
AP_ADSB: update msg sizeof comment
2015-12-01 17:15:49 -08:00
Tom Pittenger
55f84e9c05
SITL: update ADSB for squawk
2015-12-01 17:13:02 -08:00
Tom Pittenger
c0c3500d06
GCS_MAVLink: regenerate headers
2015-12-01 17:12:20 -08:00
Tom Pittenger
5a9e632ace
GCS_MAVLink: added squawk to ADSB_vehicle msg
2015-12-01 17:11:44 -08:00
Lucas De Marchi
49abb78372
AP_HAL_Linux: fix warning due to derived PWM_Sysfs
...
PWM_Sysfs derives from PWM_Sysfs_Base which was not update to have a
virtual destructor. Make PWM_Sysfs_Base's constructor virtual.
2015-12-02 10:43:43 +11:00
Lucas De Marchi
8eee888b3e
AP_Baro: BMP085: move data-ready macro to a method
2015-12-02 10:40:50 +11:00
Lucas De Marchi
c5e97129c1
AP_Baro: BMP085: follow coding style
...
- Spacing changes and variable renames to follow coding style
- No need to initialize variables to 0, it's already done by our
global new operator.
2015-12-02 10:40:50 +11:00