22 Commits

Author SHA1 Message Date
Beat Küng
5ac43e7236 commander: switch to events 2021-09-11 14:08:41 -04:00
Daniel Agar
1d2e424c4c commander: calibration replace sensor_combined with vehicle_acceleration 2020-08-23 17:38:27 -04:00
Matthias Grob
e9eae1bd76 Refactor: Name manual_control_setpoint the same way everywhere 2020-06-22 12:06:27 -04:00
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
105bbef3bf
commander: rc_calibration move to uORB::Subscription 2019-09-28 16:43:53 -04:00
Julian Oes
5b9dea5604 Replacing usleep with px4_usleep
This is a step towards isolating time from the system.
2018-12-22 10:32:18 +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
Beat Küng
43afb8d41e sensor calibration: remove param_save_default() calls 2017-04-06 11:49:03 +02:00
Beat Küng
241fd629ce ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR 2016-09-30 13:50:51 +02:00
tumbili
71e2a43790 consider scale parameters in rc calibration code 2016-07-13 09:29:12 +02:00
Julian Oes
bba0d0384d drivers/modules: changes after mavlink_log change
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Lorenz Meier
c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00
tumbili
7e44a23411 fix: take current trim values into account when doing trim calibration 2015-06-12 13:59:25 +02:00
tumbili
45cd05b57a invert pitch trim parameter 2015-06-10 17:06:42 +02:00
Lorenz Meier
8a3d3f61e6 commander: Better error handling for RC trim 2015-06-09 23:08:49 +02:00
Mark Charlebois
a1332e699c QuRT and POSIX changes - part 5
Last part of the main QuRT related changes

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:39:25 -07:00
Thomas Gubler
cde4c9addb commander: use new manual control setpoint variable names 2014-05-12 09:21:39 +02:00
Lorenz Meier
c1d1d67534 Improved RC calibration behaviour, fully supported setting trim offsets 2014-02-01 13:22:52 +01:00
Lorenz Meier
aa785b0d2b Hotfix: Better error reporting, fixed sched param setup 2013-09-05 13:24:21 +02:00
Lorenz Meier
2d83c6f825 Closing all opened file descriptors, fixed param save issue, tests clean 2013-09-01 12:47:10 +02:00
Julian Oes
5f1004117f Restore proper feedback (mavlink and tone) for calibration commands, etc 2013-08-22 15:57:17 +02:00
Lorenz Meier
68ab69de01 moved commander to C++, preparation for better gyro scale calibration respecting the current attitude for more accurate results 2013-07-20 13:47:51 +02:00