Dennis Mannhart
f0282bcd8f
FlightTaskAuto/Line: make params protected and add NAC_ACC_RAD and MPC_YAW_MODE
2018-08-03 08:24:34 +02:00
Dennis Mannhart
27812ad7ac
mc_pos_control_params: add MPC_YAW_MODE for heading during auto
2018-08-03 08:24:34 +02:00
Dennis Mannhart
d704a2d675
mission_param: remove MIS_YAWMODE
2018-08-03 08:24:34 +02:00
Dennis Mannhart
c76621bdb2
RLT: set yaw to current yaw during climb
2018-08-03 08:24:34 +02:00
Dennis Mannhart
998a95db55
mission.h: remove MIS_YAWMODE
2018-08-03 08:24:34 +02:00
Dennis Mannhart
e61131cf9c
mission heading_sp_update: remove everthing except of MC and ROI logic.
2018-08-03 08:24:34 +02:00
Dennis Mannhart
a3ca016c1d
loiter.h: remove yawmode param
2018-08-03 08:24:34 +02:00
Dennis Mannhart
f0140a6290
loiter: remove yaw_mode param and logic
2018-08-03 08:24:34 +02:00
Daniel Agar
2302c64004
listener: add optional rate and cleanup existing arguments
2018-08-03 06:50:41 +02:00
Jake Dahl
5cac32de66
added STACK_MAIN to CMakeLists.txt and bumped up the stack from 1024 default to 1100
2018-08-02 23:46:36 +02:00
Jake Dahl
58e81ef66b
multiply current measurement by -1 to force positive value for current being sunk
2018-08-02 23:46:36 +02:00
Jake Dahl
b9a60f0f29
removed comment copy/paste from GPS driver
...
A line was too long, shrunk it
2018-08-02 23:46:36 +02:00
Jake Dahl
3f550bf408
resolved merge conflicts
2018-08-02 23:46:36 +02:00
Beat Küng
79ba6b0d39
lsm303d: improve error output
2018-08-02 16:09:36 +02:00
Beat Küng
bc9c25a376
fmu: fix safety button
...
- use the orb topic safety to check the safety state, because the actual
safety state can come from the IO
- fix initialization if circuit breaker is set
2018-08-02 15:48:35 +02:00
Beat Küng
4c572577b2
px4io: unadvertise topics
2018-08-02 15:48:35 +02:00
Dennis Mannhart
7723860f37
remove unused constant
2018-08-02 09:23:17 +02:00
Dennis Mannhart
a06ff4a2ce
FlightTaskAuto/Mapper/Line: move landing gear to mapper; fix comments
2018-08-02 09:23:17 +02:00
Dennis Mannhart
338ca3104c
FlightTaskAutoLine: remove activate method bc uses same impl as FlightTaskAutoMapper
2018-08-02 09:23:17 +02:00
Martina
3fe2646d80
FlightTaskAuto: add comments and fix variable naming convention
2018-08-02 09:23:17 +02:00
Martina
e13ca0d990
FlightTaskAuto: fix triplet reset
2018-08-02 09:23:17 +02:00
Martina
f379035a3b
FlightTaskAuto: move generation of the the internal waypoints to FlightTaskAuto such that they are available to all derived classes.
...
Change logic to update the internal triplets only when the navigator triplets have changed or when the vehicle state has changed.
2018-08-02 09:23:17 +02:00
Martina
ade254394e
fix parameters subscription
2018-08-02 09:23:17 +02:00
Martina
3f2f399b91
FlightTaskAutoMapper: clean-up and fix comments
2018-08-02 09:23:17 +02:00
Martina
d85481be6d
Restructure FlightTaskAutoLine:
...
-add FlightTaskAutoMapper that handles the different types of waypoint and
generates setpoints for all types except of position and loiter
- FlightTaskAutoLine generates the setpoint types position and loiter if
the flight between waypoint is a straight line
2018-08-02 09:23:17 +02:00
Daniel Agar
253323601a
wind_estimator status print last publication
2018-08-02 08:07:01 +02:00
Daniel Agar
ad41744670
wind_estimator add param to enable and start
2018-08-02 08:07:01 +02:00
Daniel Agar
6f204c4913
FlightTask initialize _dist_to_bottom
...
- fixes Coverity CID 306248
2018-08-02 08:06:08 +02:00
Daniel Agar
36fdd3a127
FlightTaskManualPosition initialize all fields
...
- fixes Coverity CID 306259
2018-08-02 08:06:08 +02:00
Daniel Agar
99b9eaea68
mavlink timesync avoid unintended integer divide
...
- fixes Coverity CID 306260
2018-08-02 08:06:08 +02:00
Daniel Agar
a90c7659ad
FlightTasks local position setpoint don't use copyRaw
...
- fixes Coverity CID 268659
2018-08-02 08:06:08 +02:00
Daniel Agar
568a5f1c4c
delete ACCELIOCSELFTEST and GYROIOCSELFTEST
2018-08-02 08:05:52 +02:00
Daniel Agar
31c08c7ffb
mpu9250 mag delete MAGIOCSHWLOWPASS and MAGIOCGHWLOWPASS
2018-08-02 08:05:52 +02:00
Daniel Agar
bb9c38a480
delete MAGIOCSELFTEST
2018-08-02 08:05:52 +02:00
Daniel Agar
daee7a4e4e
commander preflight delete individual sensor selftest
2018-08-02 08:05:52 +02:00
Daniel Agar
92ff391c97
ekf2 fix GPS fix_type comparison
...
- fixes Coverity CID 306253
2018-08-02 07:46:43 +10:00
Daniel Agar
b5092bd183
Update submodule micro-CDR to latest Tue Jul 31 20:26:41 CDT 2018 ( #10110 )
...
- micro-CDR in PX4/Firmware (8f2facbac528cf94b6ac86828e58801c8c572994): https://github.com/eProsima/micro-CDR/commit/df48e526feca3bd140b0adf12c3c847a6d78ed79
- micro-CDR current upstream: https://github.com/eProsima/micro-CDR/commit/92efe34b65622aef3d41315230cec0bce37a27e3
- Changes: https://github.com/eProsima/micro-CDR/compare/df48e526feca3bd140b0adf12c3c847a6d78ed79...92efe34b65622aef3d41315230cec0bce37a27e3
2018-08-01 14:02:24 -04:00
Roman Bapst
8b1381ead9
update ecl l1 and usage for new roll angle setpoint slew rate limit ( #10005 )
...
* added ability to slew rate limit the roll angle output of the l1 controller
* FixedWingPositionControl: this avoids the steps in roll angle setpoint which occur when the controller
switches to a new waypoint
* GroundRoverPositionControl: adapted to new l1 API
2018-08-01 14:01:41 -04:00
Daniel Agar
6d662c5531
AV-X configure i2c network switch at init
2018-07-31 21:44:38 +02:00
Beat Küng
4b42cfaa6c
simulator_mavlink: improve error output
2018-07-31 11:51:15 +02:00
Beat Küng
2c148f07bd
cdev: delete the prev_pollset in unlocked state
...
Because it uses a semaphore.
2018-07-31 11:49:45 +02:00
Beat Küng
13f2315314
CDev: add DEVICE_POLL_DEBUG macro that removes all poll debug output from the build by default
...
Reduces 'uorb_tests latency_test' by about 1us
2018-07-30 23:06:32 +02:00
Beat Küng
99fd1f7213
CDev::poll_notify_one: remove checking the semaphore counter
...
The check is unnecessary. In the worst case the semaphore gets unlocked
twice, but it's not an issue because the waiter is only interested in the
first sem_post(), and the semaphore is then not used anymore.
2018-07-30 23:06:32 +02:00
Beat Küng
72773b75c3
CDev::poll: disable IRQs instead of using an expensive semaphore
...
poll() is one of the heavily used methods and thus needs to be optimized
as much as possible.
Test on Pixracer: uorb_tests latency_test
Before:
uORB note: ---------------- LATENCY TEST ------------------
INFO [uorb_tests] mean: 40.4320 us
INFO [uorb_tests] std dev: 1.3466 us
INFO [uorb_tests] min: 39 us
INFO [uorb_tests] max: 57 us
INFO [uorb_tests] missed topic updates: 0
This Patch:
uORB note: ---------------- LATENCY TEST ------------------
INFO [uorb_tests] mean: 31.3480 us
INFO [uorb_tests] std dev: 1.4584 us
INFO [uorb_tests] min: 30 us
INFO [uorb_tests] max: 45 us
INFO [uorb_tests] missed topic updates: 0
2018-07-30 23:06:32 +02:00
Beat Küng
fbd553c528
uorb tests: improve & extend latency test output
...
- min/max
- std dev
- number of missed updates
2018-07-30 23:06:32 +02:00
Beat Küng
00ebffb0dd
uorb tests: run at max priority & increase stack size
...
- running at max priority significantly decreases jitter for the latency
test, providing more consistent results
- stack size increase is required for the latency test
2018-07-30 23:06:32 +02:00
Beat Küng
1514ec3a5a
top: use SCHED_PRIORITY_MAX instead of 255 to specify the priority
2018-07-30 23:06:32 +02:00
rolandash
12f96adbe2
delete member value initialization in constructor.
2018-07-30 22:54:20 +02:00
rolandash
506d761d58
use local brightness variable.
2018-07-30 22:54:20 +02:00
rolandash
c1830fd9ce
format spaces.
2018-07-30 22:54:20 +02:00