10574 Commits

Author SHA1 Message Date
Julian Oes
2b95b3dff1 sdlog2: fixed wrong memset 2016-04-04 13:02:36 +02:00
tumbili
94aaf0d298 increase sleep time in accel calibration routine to make accel calibration work on snapdragon 2016-04-04 11:17:26 +02:00
Mark Whitehorn
2f057939ad fix bug in handling of missing default current scaling parameter 2016-04-02 21:40:34 +01:00
Lorenz Meier
0d94800b50 VTOL: Add missing fields to log. Fixes #4080 2016-04-02 21:39:03 +01:00
sander
cbe7bd2198 Set virtual waypoint for VTOL_TAKEOFF item 2016-04-02 21:29:27 +01:00
sander
4fc24dce60 Set correct setpoint type for vtol transitions 2016-04-02 21:29:27 +01:00
sander
dcacefb0d3 Ignore position for VTOL_TAKEOFF 2016-04-02 21:29:26 +01:00
sander
a9511478f2 Don't allow yaw updates during transition 2016-04-02 21:29:26 +01:00
sander
f9037b9ca7 Force vtol by default and correct param name 2016-04-02 21:29:26 +01:00
sander
4171e89137 Code style and commenting 2016-04-02 21:29:26 +01:00
sander
b922ceecfd Rename VT_FORCE_VTOL to VT_NAV_FORCE_VTL 2016-04-02 21:29:26 +01:00
sander
26c8df0eb9 Sanitize vtol_takeoff behavior 2016-04-02 21:29:26 +01:00
sander
1a20de7908 Fix aligning to next waypoint for regular transition command 2016-04-02 21:29:26 +01:00
sander
3f256a778d apply vtol_force_vtol
remove debug output
2016-04-02 21:29:26 +01:00
sander
b99e3e0ae2 Wait for VTOL transition command to complete 2016-04-02 21:29:26 +01:00
sander
240c8fbee1 Fix VTOL_LAND to have correct SETPOINT_TYPE 2016-04-02 21:29:26 +01:00
Andreas Antener
aafeab63d5 do not try to calculate FOH altitude when distance and acceptance radius are 0 2016-04-02 21:29:26 +01:00
sander
31862be420 Workitem handling for land 2016-04-02 21:29:26 +01:00
sander
903a0cd689 Vtol takeoff/land handling in work items 2016-04-02 21:29:25 +01:00
sander
8d8c3f9683 Implement forced VTOL landing 2016-04-02 21:29:25 +01:00
sander
a713fd4197 Implemented VTOL_TAKEOFF and VTOL_LAND commands 2016-04-02 21:29:25 +01:00
Lorenz Meier
e832f7dbf5 Fix reporting on broadcast address 2016-04-02 00:04:26 +02:00
Julian Oes
f4f1f5f027 commander: raise stack of low prio thread
The accel calibration sometimes lead to a crash. Raising the stack size
resolved the issue.
2016-04-01 15:12:08 +02:00
tumbili
08be5b3f3a fixed formatting 2016-04-01 13:54:47 +02:00
tumbili
4da93a316d ekf2 replay logic:
support recent change in ekf2 module which made it only publish the output
when an ekf update was occuring. in case the ekf2 module does not update
the replay module will be informed and will thus not wait for an update
but continue preparing the next sample of sensor data
2016-04-01 13:54:46 +02:00
Julian Oes
994947ea84 Makefile/cmake/Tools: add easy Snapdragon upload
This adds a a target `make eagle_default` to build both the POSIX and
the QURT side in one command. Also, it adds an upload target for both to
push the files over adb to the device. This doesn't just push the
executables and lib files, but also the startup config files.
2016-04-01 11:36:27 +02:00
tumbili
2f48317a9e ekf2: publish indicated airspeed in control state topic 2016-03-31 14:03:42 +02:00
Andreas Antener
ffb72d3fae added battery current sensor offset 2016-03-30 21:07:31 +02:00
Andreas Antener
4a4ab13bfe log both actuator groups 0 and 1 again 2016-03-30 20:59:28 +02:00
Lorenz Meier
76a9ee2618 MAVLink app: Limit to max updaate rate 2016-03-30 20:56:11 +02:00
Felix Hu
3295b29bf9 fix code style issues 2016-03-30 19:45:39 +02:00
Felix Hu
bd580e09bf supports MindPXv2 borad which is a product from AirMind. 2016-03-30 19:45:39 +02:00
Daniel Agar
adab451013 fw defaults param fix 2016-03-30 18:30:22 +02:00
Julian Oes
56585082ec mavlink: look up broadcast address, don't guess it 2016-03-30 17:36:04 +02:00
Julian Oes
a7e9bc8ba5 mavlink: copyright and author update 2016-03-30 17:36:04 +02:00
Julian Oes
df24852366 mavlink: fix broadcast on Snapdragon
Instead of using 255.255.255.255 as the broadcast address, go through
the network interfaces and and try to use a broadcast in the local
network such as 192.168.1.255.
2016-03-30 17:36:04 +02:00
Julian Oes
f776a3dc37 mavlink: better broadcast failed error description 2016-03-30 17:36:04 +02:00
Julian Oes
4a68946b62 DriverFramework: update submodule
This lowers the MPU9250 sampling rate from 1kHz to 500 Hz.
2016-03-30 17:35:02 +02:00
CarlOlsson
6f6795160d updated ecl 2016-03-30 17:33:37 +02:00
CarlOlsson
23d084dbc9 adopted logging 2 2016-03-30 17:33:37 +02:00
CarlOlsson
3244808ca8 Adopted logging 2016-03-30 17:33:37 +02:00
CarlOlsson
1bb07ff50c adopted ekf2_params.c 2016-03-30 17:33:37 +02:00
CarlOlsson
3af01a8c5e adopted ekf2_main.cpp 2016-03-30 17:33:37 +02:00
Julian Oes
9a5aa4f112 commander: pass PreflightCheck on Snapdragon
The tests don't work properly on Snapdragon yet, so just report happy
for now. Otherwise users get messages such as "No Gyro found" which is
wrong.
2016-03-30 10:00:22 +02:00
Roman
99723975a6 ekf2 replay: apply parameter values from log at the beginning 2016-03-30 07:45:54 +02:00
Lorenz Meier
bc39cae5a3 Revert argc change reqquired for NuttX 2016-03-29 22:47:48 +02:00
Julian Oes
3464648533 sdlog2: fix segfault when starting without args
`sdlog2 start` lead to a segfault.
2016-03-29 22:43:20 +02:00
Julian Oes
4179ed6c19 sdlog2: don't free the logbuffer after disarm
Only free the logbuffer if you exit sdlog2. After disarming, just reset
the pointers. This way, we don't take any risks doing malloc and free.

The actual "double free" was caused by trying to free the perf counter
inside logbuffer_free.
2016-03-29 22:43:20 +02:00
Julian Oes
7ce297be59 sdlog2: add logbuffer_reset to reset pointers
This allows resetting of the logbuffer without having to free and malloc
again.
2016-03-29 22:43:20 +02:00
Lorenz Meier
3981f06d42 Reject arming timeout 2016-03-29 22:42:57 +02:00