Andreas Antener
2dd29ec4a1
VTOL: publish stabilized FW attitude to correct topic
2016-08-06 20:43:49 +02:00
Beat Küng
124e1c26d9
gps injection: use the orb queuing API instead of multiple instances
...
It uses a queue length of 6. There are 3 RTCM msgs/s, but due to
fragmentation and WiFi lags, there can be more than that. During several
tests, a length of 6 showed no queue overflows.
2016-08-06 20:41:38 +02:00
sander
9398a4819f
Only check mission when needed
2016-08-06 20:40:41 +02:00
Julian Oes
3e87ec5153
navigator: mission check refactor
...
The mission feasability checker was called with the same arguments
twice which made it hard to understand when a mission is marked valid.
The mission check should run in these two cases:
- When initializing (if home comes up) if there is already a mission saved.
- When the mission gets updated.
2016-08-06 20:39:56 +02:00
Lorenz Meier
c76c8fda04
MC pos control: Drop default position controller gain
2016-08-06 11:50:08 +02:00
Lorenz Meier
bcd5f98cb1
Navigator: Fix mission feedback and wording
2016-08-06 10:34:20 +02:00
Lorenz Meier
37230f4c5d
Revert "navigator: mission check refactor"
...
This reverts commit a956429c4ccd80dfd8ae8f20fdfa8d777dfa221d.
2016-08-05 22:10:34 +02:00
Lorenz Meier
102f5b54d7
Revert "Improvements to SITL to make paths more flexible. ( #5181 )"
...
This reverts commit 699b6a2cb340f4b6ec3979ae7748ff9c56cfdb89.
2016-08-05 21:29:49 +02:00
Mark Whitehorn
bbe3525377
fix VTOL vehicle_status timestamp ( #5252 )
...
* fix VTOL vehicle_status timestamp
* run astyle
2016-08-05 17:00:12 +02:00
James Goppert
6ac79aa55f
Formatting.
2016-08-05 06:52:35 -04:00
Lorenz Meier
08f5ece306
Remove on arming reset, be less verbose in normal conditions output
2016-08-05 06:51:54 -04:00
James Goppert
699b6a2cb3
Improvements to SITL to make paths more flexible. ( #5181 )
2016-08-05 06:23:59 -04:00
sander
bc7178c538
Allow mission with active DL and DLL failsafe off
2016-08-05 10:19:06 +02:00
sander
e8a87538b8
Code style
2016-08-05 10:19:06 +02:00
sander
95e80cc29b
Only RTL when mission finishes mid air on DL Lost
2016-08-05 10:19:06 +02:00
Julian Oes
a956429c4c
navigator: mission check refactor
...
The mission feasability checker was called with the same arguments
twice which made it hard to understand when a mission is marked valid.
The mission check should run in these two cases:
- When initializing (if home comes up) if there is already a mission saved.
- When the mission gets updated.
2016-08-05 10:17:06 +02:00
Michael Schaeuble
8351afdca8
Initialize mag scaling with reasonable defaults
2016-08-05 10:15:11 +02:00
Michael Schaeuble
6aa8fcdf53
Enable commander module for Parrot Bebop
2016-08-05 10:15:11 +02:00
Lorenz Meier
0481c002df
Navigator: Initialize subscription and disallow copy constructors for classes that have pointer members
2016-08-05 10:13:52 +02:00
Lorenz Meier
074a71173b
Systemlib: Address init and copy constructors
2016-08-05 10:13:24 +02:00
Beat Küng
8aa3b245a5
fix sdlog2: use LOG_DGPS_MSG for second gps ( #5235 )
2016-08-04 17:18:02 +02:00
Vasily Evseenko
078aca1966
Fix SENS_EN_SF1XX description
2016-08-04 15:09:33 +02:00
Vasily Evseenko
6689a3d1b1
Add SENS_EN_SF1XX param to specify sensor model
...
Fix missing orb_unadvertise on shutdown
Fix missing closing of file descriptors
2016-08-04 15:09:33 +02:00
Julian Oes
00d4eae373
attitude_estimator_q: don't filter output rates
...
Since we're already filtering the incoming gyro and accel sensor
signals, we don't need to filter the output rates again.
2016-08-04 11:33:44 +02:00
Julian Oes
ea9c8b968a
attitude_estimator_q: don't spam console
...
We should not spam the console just because the input data is
degenerate, it would only make things worse because everything would
slow down due to the printfs.
2016-08-04 11:33:44 +02:00
Julian Oes
d748f6ca71
attitude_estimator_q: filter accel and gyro data
...
Since accel and gyro are not filtered in the drivers anymore, we need to
filter them in this estimator in order to achieve a similar performance.
2016-08-04 11:33:44 +02:00
Eike
cfa203ca22
Remove LPOS.Z reset ( #5228 )
2016-08-04 11:32:26 +02:00
Mark Whitehorn
422cf7e21c
assign timestamp in vtol vehicle_rates_setpoint message ( #5227 )
2016-08-04 08:22:33 +02:00
Andreas Daniel Antener
f3c5c2c5a9
use thrust scale parameter for vtol pusher support ( #5207 )
2016-08-03 23:41:01 +02:00
Nate Weibley
547592fddf
Use a persistent file* and seek less for log download
...
Opening/seeking/closing the file for each data chunk was extremely
expensive and drastically slowed the download process as the position
in the file increased. Over USB with large files this change + nuttx
update results in ~ 10x speedup for log downloads.
2016-08-03 14:33:01 -04:00
Andreas Antener
579d420db1
VTOL: enable MC motors after instant back transition
2016-08-03 13:56:07 +02:00
Andreas Antener
86d1488e52
added missing const keyword
2016-08-02 21:09:45 +02:00
Andreas Antener
d089c427ec
quadchute code style fix
2016-08-02 21:09:45 +02:00
Andreas Antener
6f1eda2b18
added single point to decide if we need quadchute, let the reason be passed from the source where we know what's going on
2016-08-02 21:09:45 +02:00
Andreas Antener
92ddc30b69
moved min alt param
2016-08-02 21:09:45 +02:00
Andreas Antener
92185945bc
make quadchute work during transitions
2016-08-02 21:09:45 +02:00
sander
0cc44a82c5
Code style
2016-08-02 21:09:45 +02:00
sander
45a4472a47
Do not apply back transition duration for QuadChute
2016-08-02 21:09:45 +02:00
Andreas Antener
bae5416819
removed duplicate memset
2016-08-02 21:05:00 +02:00
Lorenz Meier
e2d1524a7a
Mission feasibility checker: Better feedback for landing waypoints
2016-08-02 14:54:40 +02:00
Lorenz Meier
670b0f7c6d
Commander: MAVLink is an off-vehicle API we should not depend internally on
2016-08-02 14:54:16 +02:00
James Goppert
437221bec2
Make LPE default estimator. ( #4483 )
2016-08-02 02:02:01 -07:00
Beat Küng
aefa319fc4
fw_pos_control_l1: fix compiler problem (implicit float conversion) ( #5198 )
...
issue (GCC 6.1.1):
../src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp:1284:27: error: implicit conversion from ‘float’ to ‘double’ to match other operand of binary expression [-Werror=double-promotion]
if ((fabs(air_gnd_angle) > M_PI) || (ground_speed_2d.length() < 3.0f)) {
2016-08-02 00:04:44 -07:00
Vasily Evseenko
457526ebe7
Don't push bad values from lidar to EKF2 ( #5196 )
...
Report terrain altitude
2016-08-01 23:30:40 -07:00
Julian Oes
623b99327d
param: lock the bus as short as possible ( #5187 )
...
Since the FRAM and the baro are on the same bus on the Pixracer, we
currently need to lock down everything (instead of just this SPI bus)
for the time when the params are written.
Therefore, we need to keep this locking as short as possible.
This change makes the locking even shorter by moving all param_get and
param_name and param_size calls out of the lock.
2016-08-01 02:15:21 -07:00
Lorenz Meier
a38263b8e7
Enforce enough braking power when users set higher horizontal speeds
2016-07-31 17:43:15 +02:00
Julian Oes
21bc5d1716
land_detector: remove leftover printf ( #5178 )
2016-07-31 07:49:11 -07:00
Lorenz Meier
11f1a11934
Lock yaw integral if we hit a yaw limit
2016-07-31 14:14:55 +02:00
Lorenz Meier
a1c8585342
EKF2: Report zero as position until local pos is valid
2016-07-31 14:01:32 +02:00
Julian Oes
8f1d350d3c
unit_test: add ut_assert_true and ut_assert_false
2016-07-30 12:26:56 +02:00