Commit Graph
364 Commits
Author SHA1 Message Date
Lorenz Meier 0a597d0d62 MAVLink: Update to version 2 compaat API 2016-05-19 20:13:32 +02:00
Daniel Agar 69c1ce1714 WIP logger serialization 2016-05-14 11:27:07 +02:00
Daniel Agar eb29b33620 use gcc attributes to align and pack 2016-05-14 11:27:07 +02:00
Lorenz Meier ae123d9e20 MAVLink app: Do not accept config commands on wireless links when USB is connected 2016-04-30 09:15:06 +02:00
Andreas Antener f1d86a9064 removed not needed memsets 2016-04-28 13:39:02 +02:00
Andreas Antener a6878fb653 initialize offboard structs 2016-04-28 13:39:01 +02:00
Beat Küng f62324c8a6 mavlink_receiver.cpp: use sizeof(gps_inject_data_topic.data) instead of hardcoded size 2016-04-25 09:48:24 +02:00
Beat Küng 6029551c63 gps & mavlink receiver: use C arrays instead of std::array<> 2016-04-25 09:48:24 +02:00
Beat Küng b427f5c90d mavlink_receiver.cpp: fix coding style 2016-04-25 09:48:24 +02:00
Beat Küng 5b684a77f4 mavlink_receiver.cpp: remove __BEGIN_DECLS, __END_DECLS
This is the wrong usage of the macros and not needed at this place
2016-04-25 09:48:24 +02:00
Beat Küng 5cf351f585 orb: add gps_inject_data message & publish from mavlink 2016-04-25 09:48:24 +02:00
Nicolas de Palezieux 8c246b3219 mavlink_receiver: only publish the distance measurement of the mavlink flow message on uORB if they are valid
On the snapdragon, optical flow is computed in a separate process and sent to the mainapp via mavlink. Distance measurements come from a range sensor and are already published on uORB.
Here we make sure that meaningless distance values in the mavlink optical flow message do not interfere with the ones from other sources.
2016-04-21 18:18:08 +02:00
devbharat e70804c9d0 Removed debug comments 2016-04-18 18:45:50 +02:00
Lorenz Meier 2c2a87cea1 MAVLink app: Read MAVLink transponder report 2016-04-17 17:57:00 +02:00
Lorenz Meier 9dd6327668 Fixed MAVLink app code style 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 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 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
Lorenz Meier 6d42595c79 Fix MAVLink app teardown with mavlink stop-all command 2016-03-25 15:20:32 +01:00
Julian Oes 2d4179a35b mavlink: refactor mavlink_log
This moves the mavlink_log interface from ioctl to uORB and enables the
mavlink statusmessage output for Snapdragon. The API changes will lead
to changes in all modules that are using it.
2016-03-24 13:09:16 +01:00
Andreas Antener f3a1abf659 added support for SP type idle 2016-03-21 20:32:19 +01:00
Andreas Antener 664b0ee0a9 read setpoint type from type mask in offboard 2016-03-21 20:32:19 +01:00
Andreas Antener 46ad873d00 add nan protection to attitude and actuator targets 2016-03-21 20:32:19 +01:00
Andreas Antener b1ee89b5ca add nan protection for position target local 2016-03-21 20:32:18 +01:00
Joep Linssen 38b09031a0 Fixed a typo that caused a uORB publication to fail 2016-03-19 11:24:40 +04:00
Kabir Mohammed 309212b52b px4flow : rotate gyro readings as well 2016-03-08 08:52:08 +01:00
Lorenz Meier ebeb9eba4b Cleaned up target system handling for some commands 2016-02-11 11:58:06 +01:00
ChristophTobler 519a7e2c8e added different distance_sensor_pub pointers for flow, hil and lidar 2016-02-10 09:24:39 +01:00
Lorenz Meier 3e02bb1070 MAVLink: Improve network handling 2016-02-09 12:51:05 +01:00
Lorenz Meier 56cd54ab71 MAVLink app: Fix network code to always prefer localhost, work still with remote targets 2016-01-31 20:16:26 +01:00
Lorenz Meier e2fd2f466e UDP testing for Linux folks 2016-01-24 11:13:47 +01:00
Lorenz Meier 83e45a1564 Re-instate UDP handling for MAVLink app 2016-01-20 10:59:25 +01:00
Lorenz Meier 7ead4050d6 Hotfix for sock addr, but this is merely a workaround 2016-01-18 13:08:35 +01:00
Andreas Antener 11ed5169cc don't use default source address for onboard udp link, wait on remote 2016-01-04 23:58:05 +01:00
Andreas Antener d39e313768 use the proper check to prevent multiple mavlink instances on the same udp port, added warning when different remote than localhost connects to udp 2015-12-31 11:50:52 +01:00
Lorenz Meier 6a567cd911 Fix MAVLink compile error 2015-12-21 14:43:09 +01:00
Lorenz Meier 43aa6f64d9 MAVLink: Use correct multi-instance syntax 2015-12-21 14:18:38 +01:00
Andreas Antener 08a1797eec changed isnan checks and cmake compiler condition for apple machines 2015-12-03 15:39:41 +01:00
Lorenz Meier c4ed598dff MAVLink app: Do not decode buttons when they are not true mode switches 2015-12-02 23:00:53 +01:00
Nate Weibley 4e4f780ecc Add support for switching to auto modes via SET_MODE 2015-12-02 13:38:44 +01:00
Lorenz Meier 5f9da470bb Do not redefine GNU source in modules 2015-12-01 13:49:55 +01:00
Lorenz Meier 895747825c MAVLink app: Include task header 2015-12-01 13:10:57 +01:00
Lorenz Meier f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
Lorenz Meier 05d5292641 MAVLink receiver: Set thread name 2015-12-01 11:56:49 +01:00
Erik de Castro Lopo fb4bf7c59c MAVLink: Fix call to orb_advertise_multi
Previously, pointer to an uninitialized int was being passed as the
instance pointer. Now we pass a NULL pointer instead and the code
being called will use the default instance value of zero.
2015-11-27 17:51:12 +11:00