Beat Küng
fe0c2d1352
mavlink autopilot_version: add vendor version
2019-03-28 08:47:32 +01:00
Oleg Kalachev
319723a1ec
mavlink_receiver: ignore BATTERY_STATUS of other system
2019-03-23 15:18:46 -04:00
Ilya Petrov
15c2473eda
mavlink_main.cpp - add fix for Cygwin (Windows)
...
fix for issue https://github.com/PX4/Firmware/issues/11030 - "getting required buffer size failed" on jmavsim simulation on Windows 10
2019-03-21 22:48:11 +01:00
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
2019-03-16 11:47:15 -04:00
Daniel Agar
f3533d31f8
mavlink update to latest and enable address-of-packed-member warning
2019-03-14 09:56:09 +01:00
Claudio Micheli
fb990d7de3
Removed subscribtion to multiple _telemetry_status instances.
...
Since commander handles all telemetry_status the same there is no need to subscribe to multiple instances.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
b85cceebe9
mavlink_receiver: Ignore heartbeats coming from other vehicles.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
baumanta
a98f5d2ab2
suggestion for treating obstacle avoidance heartbeats
2019-03-12 11:24:33 +01:00
Daniel Agar
6dec451bab
HEARTBEAT and commander failsafe handling cleanup
2019-03-12 11:24:33 +01:00
mcsauder
2773fe6a54
Deprecate _hil_frames and _old_timestamp member vars and dead logic from MavlinkReceiver class.
2019-03-11 08:03:37 +01:00
mcsauder
1f65887982
Migrate a few more var initializations from the Mavlink class constructor list to the respective declarations.
2019-03-09 14:53:24 -05:00
mcsauder
7b3482adf0
Whitespace formatting in mavlink_main.cpp/h and begin work of some variable initialization at declaration in mavlink_main.h.
2019-03-09 13:32:26 -05:00
mcsauder
cb49ed55fe
Delete unnecessary #includes from mavlink_main.cpp and relocate a few #defines to mavlink_main.h for future variable initialization work.
2019-03-08 22:10:11 -05:00
mcsauder
9f3937e2d2
Formatted and edited a few comments in mavlink_receiver.h.
2019-03-02 23:39:25 -05:00
mcsauder
d42bb01e0c
Standardize method definition newlines in mavlink_receiver.cpp.
2019-03-02 13:09:41 -05:00
Daniel Agar
e2bf4b1894
List container improvements and testing
...
- support range based for loops
- add remove() method to remove a node
- add clear() to empty entire list and delete nodes
- add empty() helper
2019-03-01 21:01:04 -05:00
Mark Sauder
c04147c53c
Mavlink receiver: Move most variable initializations out of the constructor to the variable declarations
2019-02-26 11:48:02 -05:00
sfalexrog
9355324209
mavlink/MavlinkReceiver: Use hrt_absolute_time for distance_sensor timestamps
2019-02-25 12:07:53 +01:00
Oleg Kalachev
fbc8d01a7e
Rename distance_sensor.covariance to variance
2019-02-22 18:31:27 +00:00
Oleg Kalachev
8ba7569852
mavlink_messages: fill DISTANCE_SENSOR.covariance correctly
2019-02-22 18:31:27 +00:00
Oleg Kalachev
ec3f1fd5c2
mavlink_receiver: fix DISTANCE_SENSOR covariance handling
2019-02-22 18:31:27 +00:00
mcsauder
6762f09490
Move variable initializations to header file that were no longer in the correct order in the constructor list.
2019-02-21 09:22:01 -05:00
mcsauder
8a6a5cc310
Deprecate #defines that are not needed, format whitespace and minor (incomplete) alphebetization of a few lists.
2019-02-21 09:22:01 -05:00
Anna Dai
3db901b238
add mavlink mode external vision MAVLINK_MODE_EXTVISION
...
the mode can be used for VIO algorithms and obstacle avoidance to close the loop
2019-02-21 09:18:23 +01:00
Daniel Agar
7c3999e00e
update mavlink and sitl_gazebo to latest with odometry velocity covariance
2019-02-10 16:32:59 -05:00
Beat Küng
d8b013355c
PRINT_MODULE_USAGE_PARAM_{INT,FLOAT}: add support to ignore the default value
2019-02-08 09:29:46 +01:00
Julian Oes
b17c0a11ab
mavlink: improve comments about message forwarding ( #11323 )
...
This removes the confusing ugly magic number of 233 introduced as part
of https://github.com/PX4/Firmware/pull/7670 .
Also, the convoluted if is cleaned up using 3 separate bools with some
comments to explain what's going on.
This should not change anything function-wise except that the flight
controller could now potentially also use system ID 233 and not break
forwarding.
2019-02-05 10:33:49 -05:00
mcsauder
dc5f18bdcd
ToneAlarm class refactoring to implement an interface for hardware specific methods and a single ToneAlarm class.
2019-01-28 18:58:04 -08:00
Matthias Grob
504372f551
MAVLink: RC_CHANNELS_OVERRIDE generate correct RC channel count ( #11219 )
...
* mavlink_receiver: generate rc channel count
* mavlink_receiver: zero out ignored rc channels, add comments
2019-01-25 12:15:01 -05:00
Daniel Agar
d49f6a3aca
mavlink increase STACK_MAIN and STACK_MAX
...
- needed if NuttX networking enabled
2019-01-25 06:32:37 -08:00
Daniel Agar
2ffb49b734
delete px4_includes.h header and update boards/ to use syslog
2019-01-23 18:25:18 -05:00
Julian Oes
e1472818dc
mavlink_mission: round lat/lon
...
This avoids casting errors. An alternative to `std::round` would be to
add 0.5 before casting for positive values and subtract 0.5 before
casting for negative values.
2019-01-22 09:49:24 -05:00
Daniel Agar
ce5fbc7751
mavlink simple analyzer remove <limits> usage
...
- <limits> isn't available in the NuttX c++ standard library
2019-01-21 09:27:10 -05:00
Daniel Agar
63097bd8a1
mavlink sort message defaults and float literal consistency
2019-01-14 14:46:13 -05:00
Daniel Agar
8c88aa6416
mavlink move simple getters to header and mark const
2019-01-01 22:21:02 +00:00
Daniel Agar
f60bfd0020
mavlink add tx loop interval perf counter
2019-01-01 22:21:02 +00:00
Daniel Agar
55e3f80bab
mavlink handle MAV_ODOM_LP parameter in main
...
- fixes #11125
2019-01-01 22:21:02 +00:00
bazooka joe
1560364c04
fix home position timestamp to be the timestamp that the home was set and not when the message was sent
2018-12-27 11:04:24 -05:00
bazooka joe
f6cf95cee0
mavlink: fix uninitialized messages fields
...
zeroed uninitialized fields on home_position, mavlink_rc_channels_override, mavlink_mission_item, mavlink_mission_item_int
2018-12-27 11:04:24 -05:00
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
2018-12-22 10:32:18 +01:00
Nuno Marques
cfd1be584e
Feature: VIO: add ODOMETRY stream ( #11084 )
...
* mavlink_messages: remove LOCAL_POSITION_NED_COV stream
* mavlink_messages.cpp: add ODOMETRY stream
* add MAV_ODOM_LP parameter to activate odometry loopback
* EKF2: add vehicle_odometry publisher
* Replace VISION_POSITION_ESTIMATE loopback with ODOMETRY
* LPE: add vehicle_odometry publisher
* set vehicle_odometry local_frame field
* mavlink_messages.cpp: ODOMETRY frame_id depends on MAV_ODOM_LP
2018-12-21 12:54:04 -05:00
Matthias Grob
f8171f999b
mavlink: initialize orbit struct
2018-12-19 18:22:08 +01:00
Matthias Grob
d4a40f5d99
px4_custom_mode: add custom sub mode orbit
2018-12-18 14:40:07 +01:00
Matthias Grob
e708e82425
mavlink: lower orbit status frequency 5Hz
2018-12-18 14:40:07 +01:00
Matthias Grob
25aa2b9c8c
orbit: fix telemetry message content
2018-12-18 14:40:07 +01:00
Matthias Grob
14b83f7bfc
mavlink: add orbit to the normal messages
...
It is only actually sent out when the orbit is running.
2018-12-18 14:40:07 +01:00
Alessandro Simovic
10913a66b4
orbit: sending telem via mavlink
2018-12-18 14:40:07 +01:00
Daniel Agar
3e0a3559a9
cmake use standard mechanisms for settings flags
2018-11-26 14:40:14 -08:00
Daniel Agar
f692ad04d0
boards organization
2018-11-26 14:40:14 -08:00
Roman Bapst
bef8b6b949
mavlink hash check: return early in case of hash check parameter ( #10861 )
...
* a request for setting the '_HASH_CHECK' parameter is handled differently
than the same request for a standard parameter. Make sure we don't actually
try to set the parameter.
Signed-off-by: Roman <bapstroman@gmail.com >
2018-11-25 14:01:23 -05:00