Daniel Agar
05ca1defee
commander consolidate estimator checks in new method
2018-08-03 17:38:16 -04:00
Daniel Agar
c415477caf
calibration parameter category consistency
2018-08-03 16:48:49 +02:00
Daniel Agar
bbe18ed5fd
EKF2_MAG_DECL move to system category
2018-08-03 16:48:49 +02:00
Beat Küng
a6f93c30d9
Revert "Move px4io firmware update logic block to rc.io."
...
This reverts commit 0928112a80 .
2018-08-03 10:46:12 -04:00
Mark Sauder
002b8b6a9c
Mavlink: add SCALED_IMU2 and SCALED_IMU3 ( #9556 )
...
- correct a gyro variable type, and add magnetometer values to ScaledIMU messages.
2018-08-03 09:33:17 -04:00
Dennis Mannhart
4a91074aaa
FlightTaskAuto: add comment
2018-08-03 08:24:34 +02:00
Dennis Mannhart
a24b614dec
FlightTaskAutoLine: generate heading along track if yaw setpoint is not valid
2018-08-03 08:24:34 +02:00
Dennis Mannhart
e0f505ec57
mc_pos_control_param: MPC_YAW_MODE remove option "set by waypoint" because that
...
is executed at any time if triplet as valid yaw waypoint
2018-08-03 08:24:34 +02:00
Dennis Mannhart
02feb10865
FlightTaskAuto: triplet yaw-setpoint has priority over MPC_YAW_MODE.
...
Add MPC_YAW_MODE option for heading along trajectory, which will be the same as
option 0 (heading towards target) if trajectory is straight line
2018-08-03 08:24:34 +02:00
Dennis Mannhart
694f49c80a
FlightTaskAuto: method for computing heading from 2D vector
2018-08-03 08:24:34 +02:00
Dennis Mannhart
6cd16f345e
FlightTaskAuto: set heading based on yaw mode
2018-08-03 08:24:34 +02:00
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
5437d55518
rc.sensors: try to start ist8310 on PX4FMU_V2
...
The Pixhack v3 comes with an external IST8310 in the GPS.
2018-08-02 16:09:36 +02:00
Beat Küng
8ef4f12b61
rc.sensors: fix BOARD_FMUV3, it was unset too early
...
It's used further down again.
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
mcsauder
0928112a80
Move px4io firmware update logic block to rc.io.
2018-08-02 12:19:23 +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