Beat Küng
1bee984bb0
MC_AIRMODE: move parameter definition to mixer_module
...
Makes sure that the parameter is included for the builds that need it.
2019-08-31 10:05:00 -04:00
Beat Küng
077b229655
MixingOutput: make mixer loading thread-safe
2019-08-31 10:05:00 -04:00
Beat Küng
d3fb610fde
mixer_module: create MixingOutput library and use in fmu
...
This should be a pure refactoring, no functional change.
2019-08-31 10:05:00 -04:00
Beat Küng
0ec6e79a0a
fmu: remove unused _num_failsafe_set
2019-08-31 10:05:00 -04:00
Beat Küng
1d577802cf
fmu: remove unused write() interface
2019-08-31 10:05:00 -04:00
Beat Küng
5b87b81b90
fmu: fix comments & documentation
2019-08-31 10:05:00 -04:00
Matthias Grob
d3c7d06288
FlightTaskOrbit: don't apply yaw feed forward in circle approach
...
The yaw pointing towards the center makes sense since that's the approach
direction anyways. But with the yaw feed forward results in a weird looking
bias when not orbiting yet.
2019-08-31 14:25:39 +02:00
Matthias Grob
7774b150a9
FlightTaskOrbit: only reapproach circle if center changed
...
The condition that the vehicle is more than 3m away from the circle line
was too sloppy. That often happens when the radius is changed by sticks.
A reapproach is only necessary when the center is moved and that's only
possible through the orbit command.
2019-08-31 14:25:39 +02:00
Matthias Grob
cca7596bcd
FlightTaskOrbit: use StraightLine library to approach circle
...
The initial approach to the circle to orbit on was very agressive since
it was just the controller trying to stay on the circle reaching the
limits. Now there's first an approach phase in which the vehicle reaches
the circle trajeectory in a smooth perpendicular line before starting the
orbit execution.
2019-08-31 14:25:39 +02:00
Matthias Grob
345ad06d7e
StraightLine: rewrite old implementation
...
Before it was:
- not used anywhere
- copied from an old mission implementation version
- didn't plan in advance
- had a lot of broken cases
- dependent on a lot of parameters
I'm starting with a new relatively simple implementation that works as
expected for a minimum viable implementation and can be improved over time.
The first version is used to approach the circle path in Orbit mode to
verify the interface and get testing such that it gets eventually used
everywhere.
2019-08-31 14:25:39 +02:00
Daniel Agar
78ef8aab2d
STACK_MAIN increase default 1024 -> 2048
2019-08-30 19:11:51 -07:00
kritz
9ed2daef48
Fixing and simplifying mavlink odometry handling ( #12793 )
...
* Fixing and simplify mavlink odometry
2019-08-30 06:33:13 -07:00
Beat Küng
43fdcd7876
px4_middleware: remove that header and move px4::init to px4_init.h
...
delete include:
for i in $(grep -rl 'px4_middleware.h' src platforms); do sed -i '/#include <px4_middleware.h/d' $i; done
2019-08-30 07:59:44 +02:00
Beat Küng
f32abe8534
src/platforms: move remaining source files to platforms/common
2019-08-30 07:59:44 +02:00
Beat Küng
f8e0441e7b
src/platforms/common: move to platforms/common
...
Script to update include paths:
for i in $(grep -rl 'include <px4_work_queue' src platforms); do sed -i 's/#include <px4_work_queue/#include <px4_platform_common\/px4_work_queue/' $i; done
2019-08-30 07:59:44 +02:00
Beat Küng
5d0e72040c
src/platforms/posix: move to platforms/posix/src/px4/common and src/drivers/driver_framework_wrapper
2019-08-30 07:59:44 +02:00
Beat Küng
fa8165a1c3
platforms/posix/src: move to platforms/posix/src/px4/common
2019-08-30 07:59:44 +02:00
Beat Küng
8cbb3852ba
src/platforms/qurt: move to src/drivers
2019-08-30 07:59:44 +02:00
Beat Küng
3bdfd8ce8d
ToneAlarmInterface: move to drivers/drv_tone_alarm
...
It belongs there since it's not a library providing the implementation, but
just declaring the interface.
2019-08-30 07:59:44 +02:00
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
2019-08-30 07:59:44 +02:00
Beat Küng
3003e7d0fc
drv_led_pwm: move to arch-specific directory
2019-08-30 07:59:44 +02:00
Beat Küng
bd1b267baa
NuttX hrt: move into arch-specific directory
2019-08-30 07:59:44 +02:00
Beat Küng
1cb6c36a00
adc: refactor into arch-specific directories
2019-08-30 07:59:44 +02:00
Beat Küng
ab43a83bed
platform: restructure (NuttX) architecture-specific code
...
updated: tone_alarm, px4io_serial, px4_micro_hal
2019-08-30 07:59:44 +02:00
Daniel Agar
2fa3ee9336
Jenkins hardware add Modal AI v5m/v5x
2019-08-30 00:40:22 -04:00
Silvan Fuhrer
db4b4719c3
BabyShark VTOL: update config file
...
- increased transition throttle
- enable airmode
- increased max roll angle
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-08-29 09:58:20 -04:00
bresch
fe73cef224
TestVelocitySmoothing - Split time synchronization and final state checks into two different test functions
...
Also improve the comments
2019-08-29 15:20:53 +02:00
bresch
94d15931f2
TestVelocitySmoothing - Remove useless function override, use ceil instead of ceilf and remove line duplicate
2019-08-29 15:20:53 +02:00
bresch
5b82fa3a0f
TestVelocitySmoothing - add check for time synchronization and final acceleration
2019-08-29 15:20:53 +02:00
bresch
f40d571858
VelocitySmoothing - add zero setpoint test
2019-08-29 15:20:53 +02:00
bresch
c59bcc686c
VelocitySmothing - Add gtest script
2019-08-29 15:20:53 +02:00
roangel
1e510f5a44
[FlightTasks] Added class enum for FlightTasks errors ( #12822 )
2019-08-29 14:48:52 +02:00
Daniel Agar
497a053bc1
fxas21002c fix perf counter typo and add interval
2019-08-29 00:37:24 -04:00
Daniel Agar
e8dcd8c2fc
cmake nuttx ignore linking target warning
2019-08-28 22:50:23 -04:00
Daniel Agar
2bb00e1f28
Jenkins snapdragon always pass sanity check for now
2019-08-28 21:49:40 -04:00
PX4 Build Bot
511438d6ef
Update submodule matrix to latest Thu Aug 29 00:42:01 UTC 2019
...
- matrix in PX4/Firmware (341c0ae739753db98dcd0711e91f621c1666b16d): 56b069956d
- matrix current upstream: cc084e0791
- Changes: 56b069956d...cc084e0791
cc084e0 2019-08-26 Martina Rivizzigno - matrix: add method to check all values are nan (#82 )
84b3da2 2019-08-22 kritz - Canonical Quaternion with tests (#81 )
2019-08-28 21:45:09 -04:00
Daniel Agar
690aeef186
drivers/gps: increase task stack
2019-08-28 21:20:45 -04:00
Daniel Agar
3ee78cb36a
safety_button set STACK_MAIN
2019-08-28 21:20:45 -04:00
Daniel Agar
aebf244464
mc_pos_control: takeoff fix implicit switch fallthrough
2019-08-28 18:16:28 -04:00
Daniel Agar
5a5e15d384
Update submodule mavlink v2.0 to latest Wed Aug 28 15:06:44 UTC 2019
...
- mavlink v2.0 in PX4/Firmware (f0881530b255eb6f7cdbbed12d8da453e59f09dc): dc26ccd71d
- mavlink v2.0 current upstream: e26d03dbf8
- Changes: dc26ccd71d...e26d03dbf8
2019-08-28 13:31:39 -04:00
Daniel Agar
0c736fc98b
Jenkins add bloaty SITL and disable ccache
2019-08-28 12:22:39 -04:00
Daniel Agar
7ee1043932
gitattributes *.bin, *.pdf, and *.png are binary
...
* fixes #12818
2019-08-28 11:01:35 -04:00
roangel
e50dd7c364
replay: close replay log file after replay is finished, then exit ( #11264 )
2019-08-28 08:13:50 +02:00
Daniel Agar
a20b508d7e
gitignore remove core
2019-08-27 08:59:48 -04:00
Daniel Agar
2f10c315b5
listener print all instances by default
2019-08-26 16:07:41 +02:00
TSC21
693d89583d
RTPS: add check for ID space
2019-08-25 23:04:09 +01:00
TSC21
1fa43a707f
uorb_rtps_message_ids: enlarge id space for base type msgs
2019-08-25 23:04:09 +01:00
TSC21
062b693fea
uorb_rtps_classifier: improve way to check base type of alias
2019-08-25 23:04:09 +01:00
TSC21
ac6ee972d3
airspeed_validated: move it out of the alias space
2019-08-25 23:04:09 +01:00
Julien Lecoeur
32fb4a9585
px4io: force io firmware build
...
This fixes incremental build of the px4io firmware on targets that use the px4io driver.
fixes #11042
2019-08-25 09:48:50 -04:00