Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +01:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Lorenz Meier
84800dfd87
MAVLink: Update complete app to support MAVLink 1 & MAVLink 2. Add MAV_PROTO_VER param to switch between them
2016-05-19 20:13:32 +02:00
Lorenz Meier
2a963dc3b7
Initialize MAVLink system to sane defaults
2016-04-29 22:00:00 +02:00
Mark Charlebois
c28ae649a3
Fixes for parameters.xml dependencies
...
Moved definitions of parameters into *params.c in each module.
This is used by the cmake file as a pattern for dependencies when
generating the parameters.xml file.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-10-10 01:15:22 -07:00
Lorenz Meier
2a8402edb1
Merged beta into master
2015-07-09 15:55:31 +02:00
Lorenz Meier
6fe717b17a
Default MAVLink component ID to 1, since that is the more common assumption in the field
2015-07-06 12:05:45 +02:00
Lorenz Meier
b8609f99d7
MAVLink app: Fix parameter comments
2015-06-30 15:24:05 +02:00
Lorenz Meier
963972721d
MAVLink app: Support rudimentary radio config.
2015-06-30 13:21:09 +02:00
Lorenz Meier
0a9e2b3923
MAVLink app: Fix param meta data
2015-06-30 07:00:17 +02:00
Lorenz Meier
50ba1f7365
merged release_v1.0.0 into master
2015-06-30 15:30:45 +02:00
Mark Charlebois
db52227409
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/modules/commander/accelerometer_calibration.cpp
2015-05-06 15:51:39 -07:00
Lorenz Meier
0d1d92484b
MAVLink app: Parameter docs and new test parameter
2015-05-06 19:39:17 +02:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Don Gagne
05c351183f
Parameter meta data fixes
2015-04-15 11:29:37 -07:00
Lorenz Meier
62db84fa75
MAVLink update compile fixes
2014-11-09 18:20:53 +01:00
Thomas Gubler
7a06417411
mavlink: external setpoint feed trough functionality
2014-07-14 13:34:06 +02:00
Thomas Gubler
a2940182ef
add parameter to mavlink app to allow parsing of HIL GPS message even if not in HIL mode
...
Conflicts:
src/modules/mavlink/mavlink_receiver.cpp
2014-04-23 15:53:48 +02:00
Lorenz Meier
055e459355
Remove unneeded headers
2014-03-21 08:33:49 +01:00
Julian Oes
875ba3bb2b
Merge remote-tracking branch 'px4/beta' into beta_mavlink
2014-02-16 12:37:15 +01:00
Stefan Rado
7441efde47
Add a lot of MAVLink parameter documentation.
2014-02-14 01:48:00 +01:00
Julian Oes
3462054f73
Merge remote-tracking branch 'px4/beta' into beta_mavlink
...
Conflicts:
src/modules/mavlink/mavlink.c
src/modules/mavlink/mavlink_receiver.h
src/modules/mavlink/orb_listener.c
2014-02-12 17:10:20 +01:00
Anton Babushkin
9cbc31b588
mavlink: revert stack size 2048 to fix suspending in HIL mode
2014-01-30 19:44:06 +01:00
Anton Babushkin
f64872b9b3
Merge branch 'master' into beta
2014-01-30 17:23:10 +01:00
Darryl Taylor
338b753a3c
Reduced stack size to 1200. Max stack space used was 956.
2014-01-29 17:00:07 +08:00
Anton Babushkin
3fdb082cb8
mavlink: AUTO states indication fixed
2014-01-28 00:03:29 +01:00
Anton Babushkin
d1508a7813
vehicle_control_mode publication moved to commander, WIP
2014-01-27 20:49:17 +01:00
Lorenz Meier
ac77fe9c27
WIP state on getting MAVLink as a class, much of the work done, but does not compile yet
2014-01-26 18:40:02 +01:00
Anton Babushkin
97e4522c76
Merge branch 'master' into navigator_new_vector
2014-01-14 15:45:49 +01:00
Lorenz Meier
03c543aba6
MAVLink multi-port WIP, not compiling yet
2014-01-09 08:10:35 +01:00
Anton Babushkin
220011914c
navigator: AUTO_READY nav state added, RTL implemented properly
2014-01-02 21:57:01 +04:00
Anton Babushkin
7f9a7ffe82
navigator: MISSION_LOITER and RTL_LOITER modes removed
2013-12-31 19:30:41 +04:00
Anton Babushkin
fa20fae6fb
Some mavlink fixes to use vehicle_control_mode, WIP
2013-12-29 22:38:41 +04:00
Julian Oes
ea55527bbb
Waypoints and missionlib: lot's of cleanup
2013-12-29 14:50:26 +01:00
Anton Babushkin
7e29028429
Moving nav state from commander to navigator, WIP
2013-12-29 12:16:49 +04:00
Julian Oes
3f25298798
Mavlink and navigator: Disable some functions in mavlink that are taken over by navigator, introduce topic to report mission status from commander back to mavlink
2013-11-27 09:27:08 +01:00
Anton Babushkin
20db1602d7
mavlink battery current scale fix
2013-11-10 00:12:40 +04:00
Anton Babushkin
e2f50f7bf8
Fix mavlink battery remaining scale
2013-11-09 17:56:40 +04:00
Lorenz Meier
d59cdf6fcc
Added support for dynamic turn radii
2013-10-08 09:15:40 +02:00
Lorenz Meier
ad4c28507f
Hotfixes for HIL and mode switching.
2013-09-22 17:08:29 +02:00
Lorenz Meier
c3bb6960e6
Fixed mavlink start / stop to ensure process is in a sane state once NSH return
2013-09-08 20:05:38 +02:00
Lorenz Meier
175020cb5b
Hotfix: Identified mavlink issue source, workaround, working on a fix
2013-09-03 22:45:33 +02:00
Lorenz Meier
2457013bbb
Hotfix for USB: Starting MAVLink only on USB if connected. Needs rewrite of MAVLink and delay / retries for correct approach
2013-09-03 08:17:22 +02:00
Lorenz Meier
791e22f442
MAVLink workaround
2013-09-03 07:50:27 +02:00
Lorenz Meier
ff23feb24e
Hotfix: Chasing log buffer issue
2013-09-01 15:32:40 +02:00
Lorenz Meier
7292e8c722
Hotfix for mavlink logbuffer, needs another round of validation.
2013-08-31 11:21:57 +02:00
Anton Babushkin
66c61fbe96
Full failsafe rewrite.
2013-08-27 23:08:00 +02:00
Lorenz Meier
c42c28ebf4
Merge branch 'seatbelt_multirotor_new' of github.com:PX4/Firmware into multirotor
2013-08-23 23:08:12 +02:00
Anton Babushkin
5e9b508ea0
Indicate AUTO submodes in mavlink custom_mode.
2013-08-23 23:03:59 +02:00
Lorenz Meier
fab110d21f
Moved math library to library dir, improved sensor-level HIL, cleaned up geo / conversion libs
2013-08-21 18:13:01 +02:00