Commit Graph

7601 Commits

Author SHA1 Message Date
Daniel Agar 2487dbfc92 remove Wpacked and cleanup unused warning flags 2016-05-19 21:49:34 +02:00
Daniel Agar f58596bbcd vtol_att_control astyle 2016-05-19 21:49:34 +02:00
Daniel Agar 3d1713f79e vtol remove Wno-write-strings 2016-05-19 21:49:34 +02:00
Lorenz Meier 56e887c6c7 MAVLink app: Return result of network operation 2016-05-19 20:13:32 +02:00
Lorenz Meier 84800dfd87 MAVLink: Update complete app to support MAVLink 1 & MAVLink 2. Add MAV_PROTO_VER param to switch between them 2016-05-19 20:13:32 +02:00
Lorenz Meier 55750a0e7c Fix GCC compile error 2016-05-19 20:13:32 +02:00
Lorenz Meier 0a597d0d62 MAVLink: Update to version 2 compaat API 2016-05-19 20:13:32 +02:00
Lorenz Meier 6eccfe3d14 MAVLink 2.0: Take a first stab at integration, enable heartbeat packets 2016-05-19 20:13:32 +02:00
Kabir Mohammed 1bd4dca266 Fix RPI2 defines 2016-05-19 15:41:50 +02:00
Roman Bapst 02ba3317e9 WIP: Manual attitude setpoint for large heading errors (#4564)
* mc pos control: in manual mode calculate attitude setpoint
such that it reflects the users intuition of roll and pitch
for any given heading error

* added some comments on the new manual attitude setpoint generation

* make calculation shorter
2016-05-19 15:28:04 +02:00
Beat Küng fd0f52bebd orb macros: cleanup some unused code (#4576) 2016-05-19 11:08:37 +02:00
Paul Riseborough 83cc9ef496 ekf2: Enable tuning of initial tilt alignment uncertainty 2016-05-18 12:44:04 +10:00
Paul Riseborough 7d2d15643d ekf2: Add tuning for IMU switch-on bias errors 2016-05-18 12:44:04 +10:00
Pavel Kirienko a268845f1d Cleaned up UAVCAN ioctl codes 2016-05-17 08:56:02 +02:00
Jimmy Johnson bf6dff3e99 raising follow target filter responsiveness to tested value 2016-05-16 15:12:50 -07:00
Jimmy Johnson 8e3720ca9a adding clamp for yaw smoothing 2016-05-16 15:12:50 -07:00
Jimmy Johnson 59296e0a49 adding user parameters, simplifying dynamic gps filter, adding yaw smoothing 2016-05-16 15:12:50 -07:00
Jimmy Johnson bb79d14cb1 adding lpf based on confidence of linear movement 2016-05-16 15:12:50 -07:00
Jimmy Johnson 38b4278998 minimum follow target alt of 8 m added, protecting against nan values in pos controller, fixing ci build error 2016-05-16 15:11:57 -07:00
Jimmy Johnson 42e04d4c11 fixing travis CI build 2016-05-16 15:11:57 -07:00
Jimmy Johnson 55f023b771 adding params for offset, and side to track, fixing velocity tracking bug 2016-05-16 15:11:57 -07:00
Jimmy Johnson f5c90a2d64 adding new follow target parameter 2016-05-16 15:11:57 -07:00
Jimmy Johnson 94f3c50f83 follow target safety updates 2016-05-16 15:11:57 -07:00
Lorenz Meier f3ee22b22c Battery lib: Set valid flag 2016-05-15 15:38:20 +02:00
Lorenz Meier 55c879a0ab MAVLink: Use valid flag to initialize fields 2016-05-15 15:38:01 +02:00
Lorenz Meier 69f702fb6a MAVLink: Remove unused function definitions 2016-05-15 14:27:59 +02:00
Lorenz Meier 237bdfdb61 EKF: Be less verbose, avoid floating ng point printing stack smashing 2016-05-14 18:22:34 +02:00
CarlOlsson ee33f21303 added airspeed to ekf2 replay 2016-05-14 11:32:11 +02:00
Daniel Agar 97bcea292e logger.cpp fix style 2016-05-14 11:27:07 +02:00
Daniel Agar 9c32792017 param_test link libmsg_gen 2016-05-14 11:27:07 +02:00
Beat Küng d082060429 commander: fix wrong #ifdef header guard in state_machine_helper_test.h 2016-05-14 11:27:07 +02:00
Beat Küng 4b8152465d logger: unsubscribe from all topics when logger exits 2016-05-14 11:27:07 +02:00
Beat Küng 0f30bfa0ac logger: fix -e parameter (logger immediately stopped again after start) 2016-05-14 11:27:07 +02:00
Beat Küng fcf7e8b78c logger: -e option only logs until disarm, add -f option to log until shutdown 2016-05-14 11:27:07 +02:00
Beat Küng fc51f81bf5 logger: add free space check (need at least 50MB to start) 2016-05-14 11:27:07 +02:00
Beat Küng 501544520f logger: change some PX4_WARN to PX4_INFO and PX4_ERR 2016-05-14 11:27:07 +02:00
Beat Küng fe2b80ffb8 logger: add '-t' option to use GPS date/time for file and dir name 2016-05-14 11:27:07 +02:00
Beat Küng 9da2eac3d3 logger: remove unneeded start parameters (-x & -a) 2016-05-14 11:27:07 +02:00
Beat Küng d9ced9730b logger: remove unnecessary MODULE_CFLAGS from CMakeLists.txt 2016-05-14 11:27:07 +02:00
Beat Küng ec6c53eb60 logger: correct cleanup in case 'logger start' fails 2016-05-14 11:27:07 +02:00
Beat Küng da1e63eaf3 logger: fix resource leaks in LogWriter 2016-05-14 11:27:07 +02:00
Julian Oes d3a9930b50 logger: get paths working on Snapdragon 2016-05-14 11:27:07 +02:00
Beat Küng a0beef3204 logger: output error on failed to get log file name 2016-05-14 11:27:07 +02:00
Beat Küng 693703de1e logger: initialize logger_ptr with null 2016-05-14 11:27:07 +02:00
Beat Küng cfa491467e logger: fix 'logger stop' when nothing has been logged yet
when executing 'logger stop' and the logger did not log yet, _running was
false, so log_writer thread would never exit.
2016-05-14 11:27:07 +02:00
Beat Küng d7f0808316 logger: create _vehicle_status_sub & _parameter_update_sub on stack
Since it's only used in run().
2016-05-14 11:27:07 +02:00
Beat Küng 4f0573d612 logger: reset _write_dropouts after status output 2016-05-14 11:27:07 +02:00
Beat Küng d5dcbf01d0 logger: add copyright to files 2016-05-14 11:27:07 +02:00
Beat Küng 04f301619f refactor LogWriter: remove friend class Logger and use the public interface 2016-05-14 11:27:07 +02:00
Beat Küng dde96dd4d7 logger: allocate _vehicle_status_sub & _parameter_update_sub on the logger thread
This makes sure the file descriptors are closed in the right thread.
Before on NuttX, when stopping the logger, orb unsubscribe failed due to
this.
2016-05-14 11:27:07 +02:00