Bob-F
2ece14bad1
Port PX4 to BeagleBone Blue Board using library librobotcontrol instead of a submodule
2018-08-06 13:32:36 +02:00
Beat Küng
e989c80205
replay: fix potential invalid memory access
...
_subscriptions is a vector that is resized when needed. However there could
still be references to elements in the vector when the resize happens.
These references then become invalid.
Using a vector of pointers fixes that.
2018-08-06 07:15:51 +02:00
Beat Küng
e4485fc8cf
ekf2 replay: use correct timestamp for attitude publication
2018-08-06 07:15:51 +02:00
Andreas Antener
e0dc5ae7f4
px4iofirmware: only set mixer trims when they got updated
2018-08-05 23:24:57 +02:00
Andreas Antener
5500dfc550
px4iofirmware: moved the simple register updates down to the fall-through block, moved the sbus rate update up so it doesn't get called on each of the other updates which would set the wrong value
2018-08-05 23:24:57 +02:00
Andreas Antener
4db149f6e7
mixer: set/get_trim needs to return the amount of channels consumed by the mixer even if the mixer doesn't support trims (or is empty)
2018-08-05 23:24:57 +02:00
Andreas Antener
f298d4bb4f
mixer: use global new line check for parsing the heli mixer
2018-08-05 23:24:57 +02:00
mcsauder
722e891730
Add doxy styling to method comments and update comments, replace goto statements with stop() calls and return statements.
2018-08-05 09:54:46 +02:00
Daniel Agar
d21fdf9988
pwm_out_sim: replace usleep with sleep
...
- the valid values are 0-999999
2018-08-05 00:19:11 +02:00
PX4 Jenkins
1d4ef1e6fa
Update submodule micro-CDR to latest Sat Aug 4 01:27:00 UTC 2018
...
- micro-CDR in PX4/Firmware (1332d4dbc224a2980c37572be951d247a5698b9b): https://github.com/eProsima/micro-CDR/commit/92efe34b65622aef3d41315230cec0bce37a27e3
- micro-CDR current upstream: https://github.com/eProsima/micro-CDR/commit/8125eac84c11d70ce148da4b67b2d73d46bf6c33
- Changes: https://github.com/eProsima/micro-CDR/compare/92efe34b65622aef3d41315230cec0bce37a27e3...8125eac84c11d70ce148da4b67b2d73d46bf6c33
8125eac 2018-08-03 Ricardo González Moreno - Merge commit 'c571c7f22602d88d2415ea46c19fb5d81e0260f1' into hotfix/enable_language
c571c7f 2018-08-03 Ricardo González Moreno - Squashed 'cmake/common/' changes from a4f9b91..9e7f35b
99cb75d 2018-08-02 Ricardo González Moreno - Hardening the warnings.
775a847 2018-08-02 Ricardo González Moreno - Removed warnings in windows.
cd13d68 2018-08-01 Ricardo González Moreno - Changing jenkins support to toolset.
6f2c623 2018-07-31 Ricardo González Moreno - Added files to support jenkins.
2018-08-04 10:07:25 -04:00
mcsauder
21aea5bf6c
Rename commander.cpp to Commander.cpp and update CMakeLists.txt.
2018-08-03 22:06:05 -04:00
Daniel Agar
0626527d2c
EKF2 estimator_status fill n_states and use correct type for health_flags and timeout_flags
2018-08-03 17:42:48 -04:00
Daniel Agar
da68ea0d11
estimator_status delete unused nan_flags
2018-08-03 17:42:48 -04:00
Daniel Agar
92bfdea1e3
commander delete non-existant methods and cleanup
2018-08-03 17:38:16 -04:00
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
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
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