Beat Küng
576f4e02da
tunes: fix constness for _default_tunes
...
_default_tunes was marked as 'const char *' array, which means the data
of the array was not actually const and thus landed in the data section
(so in RAM instead of FLASH).
The size of the array is 64 bytes.
2018-03-29 10:06:21 -04:00
Daniel Agar
d40d165b4b
mavlink delete deprecated HIL_CONTROLS
2018-03-28 15:37:57 -04:00
Daniel Agar
3db287ba67
mavlink messages delete unnecessary timestamps and cleanup
2018-03-28 15:37:57 -04:00
Daniel Agar
c181501e27
commander home position update swap incorrect eph/epv for auto update
2018-03-28 15:37:57 -04:00
Daniel Agar
deb5cbcc82
mavlink GLOBAL_POSITION_INT use vehicle_local_position for altitude
2018-03-28 15:37:57 -04:00
Daniel Agar
6af989e8c0
mavlink VFR_HUD use vehicle_local_position for altitude
2018-03-28 15:37:57 -04:00
Daniel Agar
354181be24
mavlink update ALTITUDE message to always use vehicle_local_position
2018-03-28 15:37:57 -04:00
Phillip Kocmoud
8f1c84ce56
Enable internal SPI LIS3MDL on R15 Pixracer
2018-03-28 13:47:22 -04:00
Phillip Kocmoud
c3b64f6d2a
Corrected rotation for internal SPI LIS3MDL Sensor on R15 Pixracer
2018-03-28 13:47:22 -04:00
Julian Oes
e08ab0646f
sitl_gazebo: update submodule
...
This brings Gazebo 9 compatibility.
2018-03-28 16:26:54 +02:00
Daniel Agar
416feea9e4
uORB print_message cleanup
...
- indent field print with tabs instead of spaces
- print a newline before printing a nested field
- cmake add generator dependencies
2018-03-28 09:15:41 -04:00
Daniel Agar
c4c4441c87
generate_listener.py combine message exclusion
2018-03-28 09:15:41 -04:00
Daniel Agar
e76a7e48c8
generate uorb topic helper ignore _padding properly
2018-03-28 09:15:41 -04:00
Daniel Agar
a98c7cf5c8
generate uorb topic helper rename px4_printf to print_field
2018-03-28 09:15:41 -04:00
Daniel Agar
55466e539b
topic_listener report never published and cleanup
...
- don't ignore position_setpoint_triplet
2018-03-28 09:15:41 -04:00
Daniel Agar
0a0044fc29
uORB print message add timestamp elapsed
2018-03-28 09:15:41 -04:00
Daniel Agar
f172171928
listener replace custom uORB print code
2018-03-28 09:15:41 -04:00
Daniel Agar
5fba1f38b2
drivers start using uORB message print instead of custom
2018-03-28 09:15:41 -04:00
Daniel Agar
3db17a04fc
uORB generate message print functions
2018-03-28 09:15:41 -04:00
Oleg Kalachev
8d6bff08bb
precland: support receiving LANDING_TARGET message
2018-03-27 20:45:58 -04:00
Oleg Kalachev
5b030535c8
precland: fix incorrect converting microseconds to seconds
2018-03-27 20:45:58 -04:00
Oleg Kalachev
749a590c1c
precland: fix landing_target_pose subscription check
2018-03-27 20:45:58 -04:00
Oleg Kalachev
fef2e2ba82
precland: fix typos and code style
2018-03-27 20:45:58 -04:00
Daniel Agar
d8de624851
update ECL to latest with geo lib
2018-03-26 23:16:55 -04:00
Daniel Agar
0baf3e39aa
tests clang-tidy ignore eadability-function-size
2018-03-26 23:16:55 -04:00
Daniel Agar
f46ea75c9d
mag declinataion test switch to ut_compare_float
2018-03-26 23:16:55 -04:00
Daniel Agar
d585218060
tests clang-tidy ignore readability-function-size
2018-03-26 23:16:55 -04:00
Paul Riseborough
2b87e5a790
tests: Test all data points for declination model
2018-03-26 23:16:55 -04:00
Daniel Agar
0814ac585e
declination test update values
...
- test values entered from https://www.ngdc.noaa.gov/geomag-web/
2018-03-26 23:16:55 -04:00
Daniel Agar
29b3950747
move geo and geo_lookup to PX4/ecl
2018-03-26 23:16:55 -04:00
Matthias Grob
76bf9c6465
mc_att_control: reenable TPA for I term
...
In commit
eb67686b11
the TPA scaled integral gain was reverted back to the
normal unscaled gain which rendered the I part of TPA
useless.
2018-03-26 19:00:18 +02:00
ksschwabe
500a1c808d
ROMFS list files explicitly instead of using GLOB_RECURSE ( #9107 )
...
* Lists ROMFS files explicity instead of using GLOB_RECURSE
Previously, when ROMFS files that were not airframes were touched, the ROMFS
would not be rebuilt. The ROMFS files are now specified explicityl in a
CMakeLists.txt file that is located in the root ROMFS directory.
Now when one of the ROMFS files is touched the whole ROMFS is rebuilt.
When new files are added to the ROMFS, they need to be explicity added to
the CMakeLists in the ROMFS root directory.
* ROMFS: adds individual CMakeLists files in each subdirectory
Also moves the temporary ROMFS build directory to ${PX4_BINARY_DIR}/ROMFS/genromfs
so that the cmake_install.cmake files and the CMakeFiles directories (generated whenever
are not add_subdirectory() is called) are not generated in the temporary ROMFS directory
from which the ROMFS binary is created.
* cmake ROMFS generate add px4_add_romfs_files function
* ROMFS CMakeLists: adds explanatory comment to px4_add_romfs_files function
* ROMFS CMakeLists: updates copyright headers
2018-03-26 11:19:00 -04:00
Matthias Grob
11ea7dc928
mc_att_control: refactor: switch to matrix library
2018-03-26 16:20:57 +02:00
Beat Küng
693e9ffd46
mc_att_control: remove unused include <systemlib/param/param.h>
2018-03-26 16:20:57 +02:00
Beat Küng
1e09139fcc
refactor mc_att_control: move private method declarations above private data members
2018-03-26 16:20:57 +02:00
Beat Küng
b04a3a969d
refactor mc_att_control: use ModuleParams & Param classes
2018-03-26 16:20:57 +02:00
Beat Küng
22e8204de8
refactor mc_att_control: move class initializer to member initializer
2018-03-26 16:20:57 +02:00
Beat Küng
d68d9b522b
fix mc_att_control: add missing orb_unsubscribe
2018-03-26 16:20:57 +02:00
Beat Küng
673fa75e58
mc_att_control: refactor to ModuleBase & add module documentation
2018-03-26 16:20:57 +02:00
Daniel Agar
25300a6b11
VtolLandDetector add airspeed finite check
2018-03-26 09:42:50 -04:00
Daniel Agar
fda2edb7c4
sensors only publish airspeed if finite
2018-03-26 09:42:50 -04:00
Alessandro Simovic
9d3dfb7864
libtunes: addressing comments of #9117
2018-03-26 14:54:23 +02:00
Alessandro Simovic
6e1c495268
libtunes: added TUNE_MAX_STRENGTH
2018-03-26 14:54:23 +02:00
Alessandro Simovic
80d80835a0
libtunes: fixed some type conversions and other minor changes
2018-03-26 14:54:23 +02:00
Alessandro Simovic
92b89368f1
libtunes: fixed playback of string melodies
2018-03-26 14:54:23 +02:00
Alessandro Simovic
7d9b09b5e5
libtunes: made logic in Tunes::set_control() more obvious
2018-03-26 14:54:23 +02:00
Alessandro Simovic
4e479b7f04
libtunes: renamed config_tone() to reset()
2018-03-26 14:54:23 +02:00
Alessandro Simovic
6ce839ea1e
libtunes: added tone strength as state and output to libtunes
...
Since the tune library also contains logic how tunes can be overriden,
a user of the tunes library cannot know the strength of the current tune
without replicating some logic. Easy solution is to add strength to the
output of Tunes::get_next_tune().
2018-03-26 14:54:23 +02:00
Alessandro Simovic
acdc81ea0a
libtunes: cleanup / docs
2018-03-26 14:54:23 +02:00
Alessandro Simovic
d455c1e7e1
libtunes: Repeating tunes can be interrupted without override
...
Otherwise the only way of interrupting a repeated tune would be with the override flag, which should only be used rarely.
Now repeating tunes have lowest priority, followed by one-shot tunes, followed by anything with an override flag.
2018-03-26 14:54:23 +02:00