Commit Graph

312 Commits

Author SHA1 Message Date
Lorenz Meier 9647f0622c MAVLink: Comment lied 2015-11-03 09:11:12 +01:00
Lorenz Meier c934286f6c MAVLink app: Do not try to fill the complete buffer, just try to get a complete message 2015-11-03 09:11:12 +01:00
Lorenz Meier 8a6e9d17ba MAVLink: Do a better job at receive rate limiting 2015-11-03 09:11:12 +01:00
Lorenz Meier 3edf532e90 MAVLink receiver: Fix HIL handling 2015-11-01 18:26:30 +01:00
Lorenz Meier a3552896ca Fix bug in accel integrator handling in mavlink interface 2015-10-15 09:32:13 +02:00
Lorenz Meier 96d90c0fe6 Improve HIL data input 2015-10-13 10:07:05 +02:00
Lorenz Meier e685ef3c95 MAVLink receiver: Fix HIL msg reception 2015-10-12 15:02:49 +02:00
Lorenz Meier 2402f1fbdf MAVLink receiver: Add missing integrals for gyro and accel topics 2015-10-12 14:17:48 +02:00
Lorenz Meier 96e0ac4581 Merge branch 'sensor_load' into cmake-2 2015-09-27 18:10:18 +02:00
Lorenz Meier afb68cb0ab MAVLink: Switch to HOME_POSITION message 2015-09-27 18:06:53 +02:00
Lorenz Meier 6ef94e0dfb Merged master into cmake-2 2015-09-20 10:33:39 +02:00
Lorenz Meier c29e47b3fc MAVLink: POSIX adjustments 2015-09-11 21:49:06 +02:00
Lorenz Meier d532e372ac Merge branch 'master' into ekf_voting 2015-09-05 17:41:21 +02:00
Lorenz Meier 86d1e38f7a MAVLink: Improve switch handling 2015-09-04 19:58:04 +02:00
Lorenz Meier f63dd12952 Fix MAVLink MANUAL_CONTROL simulation mode handling 2015-09-04 19:11:40 +02:00
tumbili 4fae86b5ac mavlink socket: stream to localhost before actually receiving packets 2015-09-04 15:02:04 +02:00
Lorenz Meier 6e9a460c17 MAVLink receiver: Clean up joystick interface 2015-09-04 14:57:51 +02:00
tumbili 95af5fc3d0 do not run mavlink receiver before app is fully booted when using sockets 2015-09-02 10:25:10 +02:00
Lorenz Meier f539246e4f MAVLink app: Set gyro timestamp in HIL 2015-08-30 11:37:28 +02:00
Lorenz Meier caacb4f777 MAVLink: Update to new sensors combined topic 2015-08-30 11:37:27 +02:00
Lorenz Meier f69480fbc3 MAVLink app: Update to uORB changes 2015-08-20 10:48:56 +02:00
Lorenz Meier 16cb9edf19 Converted telemetry status topic to generated topic 2015-08-10 15:35:19 +02:00
Lorenz Meier ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier 09f6b88651 MAVLink app: Implement switch toggling for simulated RC link 2015-08-01 16:12:03 +02:00
Lorenz Meier bc5cf50f1a Merge pull request #2361 from TSC21/mocap_support_restruct
MOCAP support on firmware [new PR]
2015-07-01 14:52:32 +02:00
Lorenz Meier 6638729af7 Update orb advert type in mavlink, by @boosfelm 2015-06-29 15:47:19 +02:00
Lorenz Meier 454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
Lorenz Meier c2127f9501 mavlink app: Fix POSIX UDP transfer issues on larger packets 2015-06-25 08:46:26 +02:00
tumbili c4d92ff05b enable receiving data over network port 2015-06-19 18:39:04 +02:00
Lorenz Meier e08dc0df40 Add support for RC_CHANNELS_OVERRIDE in addition to normal message 2015-06-18 11:03:32 +02:00
TSC21 dccd4df7bc mocap_support: added support for mocap data on firmware 2015-06-13 17:03:31 +01:00
Lorenz Meier c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00
Elikos default a0176474c7 fix NaN yaw breaking attitude setpoints when going back into posctl from offboard 2015-06-13 00:02:17 +02:00
Elikos default 9605df75da fix NaN yaw breaking attitude setpoints when going back into posctl from offboard 2015-06-11 20:28:47 -04:00
Lorenz Meier 9af8ba49ac HIL fix: Also publish filtered airspeed 2015-06-06 11:35:09 +02:00
Lorenz Meier d8aebc805f MAVLink app: Further improvements on simulated RC scaling 2015-05-28 18:49:02 -07:00
Lorenz Meier c62ae87c69 Merge release_v1.0.0 into master 2015-05-28 18:08:31 -07:00
Lorenz Meier aab379cde9 MAVLink app: Fix yaw scaling for joystick input 2015-05-28 17:41:03 -07:00
Lorenz Meier 5ac5fae020 MAVLink app: better yaw scaling 2015-05-28 11:50:18 -07:00
Lorenz Meier d39db2eba8 MAVLink app: better yaw scaling 2015-05-28 11:49:57 -07:00
Lorenz Meier 1c6127b192 MAVLink app: Update command struct 2015-05-27 15:21:34 -07:00
Lorenz Meier 2f5e40e6d0 Update MAVLink app with topic updates 2015-05-27 15:21:32 -07:00
Lorenz Meier 1a9d402feb mavlink receiver: fix topic handle initialization of manual control topic 2015-05-27 15:36:05 -07:00
Lorenz Meier 4565f57468 Merged release_v1.0.0 into master 2015-05-27 15:28:41 -07:00
Mark Charlebois 1ca05aaa64 orb_advert_t changed to void * and checks changed to nullptr
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.

Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:42:49 -07:00
Mark Charlebois a734fc96d1 extensive orb_advert_t fixes
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.

The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.

Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:41:33 -07:00
TSC21 0d1bc2cd0b mavlink: added multi advertise for distance_sensor in mavlink receiver 2015-05-26 23:35:45 +01:00
Lorenz Meier 009815deb0 Improve config and mapping 2015-05-24 20:11:51 +02:00
Lorenz Meier 2bb655c46c mavlink app: Improved mapping to RC input 2015-05-24 20:11:51 +02:00
Lorenz Meier 01fd84e4dc mavlink and commander app: Add support for manual input, either directly or via remote control 2015-05-24 20:11:50 +02:00