Claudio Micheli
6a8b25a1b9
ll40ls: simplified probe logic and lowered max readable distance.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
59f61b3107
ll40ls: fix v3hp signal quality and modified probe to detect v3hp.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
327529d063
ll40ls: unify maximum operational distance to 35m
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
fcdd2fabeb
ll40ls: refactor driver start on i2c.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
5eefd9409b
ll40ls: [Wingtra docet] fix for properly resetting v3 and v3hp modules.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
7799f4c68b
ll40ls: fix for lidar lite v3hp
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Julian Oes
5e9cae11f8
controllib: fix for undefined sanitizer
2019-09-03 11:54:09 -05:00
Claudio Micheli
b6bba0428a
uavcan: fix limit actuator poll interval.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-03 09:35:01 -05:00
JaeyoungLim
09dab07071
Enable support for global position setpoints with SET_POSITION_TARGET_GLOBAL_INT ( #12819 )
2019-09-03 11:21:41 +02:00
Daniel Agar
9bc19fd732
IMU_GYRO_RATEMAX add common options
2019-09-02 23:53:26 -05:00
Daniel Agar
f280977ed0
mavlink: update orb_publish to uORB::Publication<>
2019-09-02 23:51:54 -05:00
Daniel Agar
20e6adc4ca
sensors: update orb_publish to uORB::Publication<>
2019-09-02 20:44:03 -04:00
Daniel Agar
c8f77d438d
load_mon: update orb_publish to uORB::Publication<>
2019-09-02 20:41:34 -04:00
Daniel Agar
4d9f2bf776
add IMU_GYRO_RATEMAX to optionally limit gyro control publication rate
2019-09-02 20:06:50 -04:00
bazooka joe
49c74ab021
add new parameter LIGHT_EN_BLINKM to start blinkm lights
2019-09-02 20:02:00 -04:00
Daniel Agar
7162000e80
fw_pos_control_l1: update orb_publish to uORB::Publication<>
2019-09-02 16:20:44 -04:00
Daniel Agar
e83026f106
fw_att_control: update orb_publish to uORB::Publication<>
2019-09-02 16:20:44 -04:00
Daniel Agar
b0f82ee8ac
CollisionPrevention: update orb_publish to uORB::Publication<>
2019-09-02 15:35:34 -04:00
Daniel Agar
9f5f9c577e
uavcan: limit actuator controls poll interval
...
* rather than only in UavcanEscController updates
2019-09-02 14:21:54 -04:00
Daniel Agar
6938955b8d
vtol_att_control: limit state updates to input availability and always publish both FW/MC actuator controls
2019-09-02 14:13:33 -04:00
Daniel Agar
06cf801121
SENS_BARO_QNH set reboot_required
...
- fixes https://github.com/PX4/Firmware/issues/12866
2019-09-02 13:40:34 -04:00
BazookaJoe1900
8a45c6145b
add new parameter SENS_EN_PMW3901 to start pmw3901 optical flow
2019-09-02 11:08:51 -04:00
Julien Lecoeur
47355333ad
Clarify comment
2019-09-02 10:47:40 -04:00
Julien Lecoeur
ced201bdb5
IO: respect actuator_armed.prearmed flag
2019-09-02 10:47:40 -04:00
Julien Lecoeur
9c50f5ea08
Add parameter COM_PREARM_MODE
...
Condition to enter the prearmed state, an intermediate state between disarmed and armed
* in which non-throttling actuators are active.
*
* @value 0 Disabled
* @value 1 Safety button
* @value 2 Always
2019-09-02 10:47:40 -04:00
Julian Kent
bc58bed960
Add test for jerk reduction
2019-09-02 14:51:18 +02:00
Julian Kent
865157228f
Add collision prevention velocity limitations also based on max accel/jerk
2019-09-02 14:51:18 +02:00
Mark Sauder
60e5e0821a
land_detector: Add and max_altitude and timestamp validity checks to MulticopterLandDetector class. ( #12681 )
...
* Rename local camelCase vars to snake_case and control_mode -> vehicle_control_mode to match typdef with established class convention.
2019-09-02 00:30:46 -04:00
Daniel Agar
c180d63441
delete accidental systemlib/param/param_new.c
2019-09-01 20:42:41 -04:00
Daniel Agar
891aae0377
commander increase cpu overload threshold
...
* the large 20% margin is no longer appropriate now that nearly all work in the system is
scheduled (moved out of ISRs) and represented in the load percentage
* closes https://github.com/PX4/Firmware/issues/12753
2019-09-01 14:55:05 -04:00
Daniel Agar
9aad996b04
PMW3901 add register write delay (TIME_us_TSWW)
2019-09-01 14:19:46 -04:00
Daniel Agar
ab92f3ab7d
pmw3901 split out header and main
2019-09-01 14:19:46 -04:00
Daniel Agar
41e544727c
pmw3901 cleanup and updates
...
- includes updates from PixArt
2019-09-01 14:19:46 -04:00
Silvan Fuhrer
ff6577ce5f
EKF and AirspeedSelector: publish multiple wind estimate topic instances and log them all
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2019-09-01 14:05:06 -04:00
Daniel Agar
9c6d4e28ea
fxos8701cq cleanup and move to PX4Accelerometer/PX4Magnetomer
2019-09-01 12:08:52 -04:00
Daniel Agar
ee9f65b38b
fxos8701cq split out header and main
2019-09-01 12:08:52 -04:00
Beat Küng
f0ee0b5d49
MixingOutput: make scheduling configurable
...
And make sure fmu calls MixingOutput::updateSubscriptions on startup even
if no mixer is loaded, so that it gets scheduled.
2019-08-31 10:05:00 -04:00
Beat Küng
a2ebbe9066
pwm_limit: rename to output_limit
...
As there is nothing pwm-specific about it.
2019-08-31 10:05:00 -04:00
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