Commit Graph

7054 Commits

Author SHA1 Message Date
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 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
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
Julian Oes 4e64382ba5 sdlog2: fixes for Snapdragon 2016-03-29 09:55:29 +02:00
Lorenz Meier a66cf2a658 MAVLink app hotfix: Enable MAVLink daemon on default port 2016-03-28 17:30:43 +02:00
Lorenz Meier e26c5bb590 Do not receive anything in OSD mode 2016-03-28 12:37:03 +02:00
Nic b600e3ee93 added descend into navigation using existing land helper, downstream logic handles ignoring position setpoints (despite being populated), tested with multirotor in gazebo 2016-03-28 12:27:20 +02:00
James Goppert 5418e17a99 Navigator mavlink_fd rename fix. 2016-03-27 15:35:47 -04:00
Lorenz Meier 039d1e4e2f Fix wrong header location 2016-03-27 12:52:47 +02:00
Julian Oes f718c25dbe commander: remove QURT workaround
Timestamps didn't exist when commander was run on the Linux side.
However, commander is now always run on the QURT side, so the hack is no
longer needed.
2016-03-27 12:40:10 +02:00
Lorenz Meier 4aceb21d19 Mission: Be less chatty 2016-03-27 12:26:33 +02:00
Andreas Antener d9cabde13e reset mission after vehicle was in mission and then disarms 2016-03-27 12:25:47 +02:00
Jimmy Johnson fbd2edaae5 fixing possible safety issue with altitude 2016-03-27 12:10:57 +02:00
Lorenz Meier ed2029b5d4 Navigator: Fix header code style 2016-03-27 12:10:57 +02:00
Lorenz Meier 88b2349241 Code style fixes 2016-03-27 12:10:57 +02:00
Lorenz Meier 9dd6327668 Fixed MAVLink app code style 2016-03-27 12:10:57 +02:00
Lorenz Meier b3472d6cc8 Fixed follow target code style 2016-03-27 12:10:57 +02:00
Lorenz Meier 737ad045b2 Fix up formatting in mc pos control 2016-03-27 12:10:57 +02:00
Jimmy Johnson f2777cb6ee making code more robust 2016-03-27 12:10:57 +02:00
Jimmy Johnson 6ff1b2d896 Replacing SETPOINT_TYPE_VELOCITY use with velocity and position valid
booleans in setpoint struct
2016-03-27 12:10:57 +02:00
Jimmy Johnson 38c40d5601 fixing var change after rebase, setting min mission takeoff altitude to 10m for safety 2016-03-27 12:10:57 +02:00
Jimmy Johnson 3ce7d13c51 fixing structure initalization 2016-03-27 12:10:57 +02:00
Jimmy Johnson 3aaad68c76 fixed position tracking overshoot 2016-03-27 12:10:57 +02:00
Jimmy Johnson 142884bcd8 fixing code style and enter/exit radius logic 2016-03-27 12:10:57 +02:00
Jimmy Johnson dfc2d9b5e0 more clean up 2016-03-27 12:10:57 +02:00
Jimmy Johnson 515882ac0e more clean up 2016-03-27 12:10:57 +02:00
Jimmy Johnson 8829db8844 code clean up complete 2016-03-27 12:10:57 +02:00
Jimmy Johnson 26cb645ee0 follow me working 2016-03-27 12:10:57 +02:00
Jimmy Johnson 01e971b342 Tests 2016-03-27 12:10:57 +02:00
Jimmy Johnson 0797c7fc21 velocity smoothing 2016-03-27 12:10:57 +02:00
Jimmy Johnson 554d1ac013 making first setpoint on follow target activation loiter in place 2016-03-27 12:10:57 +02:00
Jimmy Johnson 69351675b6 follow target mode working 2016-03-27 12:10:57 +02:00
Jimmy Johnson bbc8eaefd7 Adding new follow target navigation and main states. New follow target
topic added. New follow fsm added to the navigator
2016-03-27 12:10:57 +02:00
Bo Liu e697998828 fix sdlog2 self deadlock bug 2016-03-26 13:59:33 -05:00