Bob-F
a9bb274001
Renamed mavlink wifi interface name and enabled land_detector
2018-08-06 13:32:36 +02:00
Bob-F
627ea3b23e
update according to pull request review comments
2018-08-06 13:32:36 +02:00
Bob-F
7c62fe885d
Fixed an issue of documentation inconsistency
2018-08-06 13:32:36 +02:00
Bob-F
adf411fdd8
Fixed style issue with Astyle 3.1
2018-08-06 13:32:36 +02:00
Bob-F
2ece14bad1
Port PX4 to BeagleBone Blue Board using library librobotcontrol instead of a submodule
2018-08-06 13:32:36 +02:00
Daniel Agar
da68ea0d11
estimator_status delete unused nan_flags
2018-08-03 17:42:48 -04:00
Mark Sauder
002b8b6a9c
Mavlink: add SCALED_IMU2 and SCALED_IMU3 ( #9556 )
...
- correct a gyro variable type, and add magnetometer values to ScaledIMU messages.
2018-08-03 09:33:17 -04:00
Daniel Agar
99b9eaea68
mavlink timesync avoid unintended integer divide
...
- fixes Coverity CID 306260
2018-08-02 08:06:08 +02:00
TSC21
ca42483794
update msgs fields from camelCase to snake_case so rosidl_generate_interfaces() is able to generate code for ROS IDL files
2018-07-30 21:40:28 +02:00
Roman
37f59ad4f5
mavlink: fixed nullptr dereferencing in case unknown mavlink message is
...
forwarded
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-27 18:41:51 +02:00
Julian Oes
462cf131d5
mavlink: add sysid to UUID
...
To avoid that multiple SITL instances have the same UUID we add the
mavlink system ID to the UUID which is sent via mavlink.
This should resolve the case where multiple vehicles show up with the
same UUID in simulation.
Note that the UUID show in `ver` will still be the same for all
instances.
2018-07-27 11:49:28 +02:00
Beat Küng
97fe5f928a
mavlink_orb_subscription: remove unneeded checks
...
not needed anymore after the previous commit
2018-07-23 22:32:17 +02:00
Daniel Agar
b1d3bb0403
stop ignoring Wmissing-field-initializers and fix ( #9912 )
2018-07-22 12:45:52 -04:00
Dennis Mannhart
1fb8eaf6c6
mavlink_messages: add yawspeed to local position setpoint sent over mavlink
2018-07-20 09:26:18 +02:00
Martina
24413c6192
mavlink_messages: rename MavlinkStreamTrajectory -> MavlinkStreamTrajectoryRepresentationWaypoints
2018-07-18 05:12:39 -04:00
Martina
c9d27b65ef
mavlink_main: stream trajetcory_presententation_waypoints instead of trajectory
2018-07-18 05:12:39 -04:00
Martina
02d360c33a
update trajectory message to trajectory_representation_waypoint as in mavlink
2018-07-18 05:12:39 -04:00
Beat Küng
43c2970fb9
vehicle_gps_position: add heading field
2018-07-16 12:18:37 +02:00
Daniel Agar
0c0b761c87
mavlink update POSITION_TARGET_GLOBAL_INT publish
...
- publish continuously in position control mode when there's a valid
setpoint
- optionally fill in the velocity and acceleration setpoints when
available
- fixes #9841
2018-07-13 15:30:25 +02:00
Daniel Agar
1ea63e4955
mavlink MOUNT_ORIENTATION use math::degrees
2018-07-13 15:30:06 +02:00
Daniel Agar
f26c3ac014
mavlink properly wrap heading fields
...
- fixes #9867
2018-07-13 15:30:06 +02:00
Martina
e7cf2c5675
remove unused trajectory_bezier message
2018-07-12 16:36:11 -04:00
Martina
f42095af8f
mavlink_messages: refactor to use vehicle_trajectory_waypoint instead of trajectory_waypoint message
2018-07-12 16:36:11 -04:00
Martina
2a40d001de
mavlink_receiver: refatcor to use vehicle_trajectory_waypoint
2018-07-12 16:36:11 -04:00
Martina
87cd110044
mavlink_receiver: make format
2018-07-12 16:36:11 -04:00
Martina
f3ce7be1e3
mavlink_messages: stream TRAJECTORY mavlink message with data from
...
uORB trajectory_waypoint as input path to a obstacle avoidance node
2018-07-12 16:36:11 -04:00
Martina
5ef26dd862
mavlink_receiver: decode mavlink message TRAJECTORY in uORB msgs
...
trajectory_waypoint or trajectory_bezier depending on the mav trajectory
representation type
2018-07-12 16:36:11 -04:00
Beat Küng
e1a7472738
MavlinkOrbSubscription::update: improve performance & fix corner case
...
- reorders operations, such that the most expensive one (orb_copy) is done
only when really needed.
- corner case: when the topic was not advertised yet, orb_stat() would fail
and then update() was called, which succeeds for the first advertisement.
In that case the timestamp was incorrectly set to 0 and true was
returned.
The next call would again return true, because the timestamp was updated,
but the topic data was still the same.
Reduces CPU load by ~2% on a Pixracer.
2018-07-12 21:31:38 +02:00
Beat Küng
060b130128
mavlink: add optional disable_sharing flag to add_orb_subscription
...
This is a more generic solution for 532a97041 , and also enables it for
vehicle_command_ack's.
In addition it avoids using a timestamp for subscription update checking,
because it does not work well together with orb queuing.
2018-07-12 21:31:38 +02:00
Oleg Kalachev
532a970410
mavlink: fix transmitting vehicle commands
2018-07-05 22:38:02 +02:00
Daniel Agar
9ce83f2208
fix all sign-compare warnings
2018-07-01 09:36:55 +00:00
Daniel Agar
cf74166801
double promotion warning fix or ignore per module
2018-07-01 09:36:55 +00:00
Daniel Agar
02d4405a62
c++11 default destructors
2018-06-30 19:55:08 -04:00
acfloria
17df184953
Fix sending first High Latency message
2018-06-29 16:49:30 +00:00
acfloria
ca1f7a4a19
Reenable the MissionManager for the Iridium mavlink instance
...
The MissionManager handles the MAVLINK_MSG_ID_MISSION_SET_CURRENT command which should also be supported for SatCom.
2018-06-29 16:49:30 +00:00
Florian Achermann
02116c0a80
mavlink: Indicate if the instance did not start correctly ( #9744 )
2018-06-29 10:11:27 -04:00
Beat Küng
ddde968a6f
mavlink: allow resetting streams to their default via 'mavlink stream' command
2018-06-25 12:19:56 +02:00
Beat Küng
ec15fc333b
mavlink: add 'mavlink status streams' command
...
Displays all enabled streams and their configured rates.
Example output:
instance #1 :
Name Rate Config (current) [Hz] Message Size (if active) [B]
HEARTBEAT 1.00 (1.000) 21
STATUSTEXT 20.00 (6.320)
COMMAND_LONG unlimited
ALTITUDE 1.00 (0.316)
ATTITUDE 25.00 (7.900) 40
ATTITUDE_TARGET 10.00 (3.160) 49
ESTIMATOR_STATUS 1.00 (0.316) 44
EXTENDED_SYS_STATE 1.00 (0.316) 14
GLOBAL_POSITION_INT 10.00 (3.160) 40
GPS_RAW_INT 1.00 (0.316) 62
HOME_POSITION 0.50 (0.158)
RC_CHANNELS 5.00 (1.580)
SERVO_OUTPUT_RAW_0 1.00 (0.316) 49
SYS_STATUS 5.00 (1.580) 43
SYSTEM_TIME 1.00 (0.316) 24
VFR_HUD 25.00 (7.900) 32
WIND_COV 2.00 (0.632)
2018-06-25 12:19:56 +02:00
Beat Küng
84841236cb
mavlink: allow resetting mavlink streams to default via MAV_CMD_SET_MESSAGE_INTERVAL
...
This implementation does not need more resources.
It's not super efficient in terms of runtime, but it's also not something
that is called often.
2018-06-25 12:19:56 +02:00
Beat Küng
333fd9cf45
mavlink: improve status output
...
- add datarate
- add UDP remote port
- add partner IP
2018-06-25 12:19:56 +02:00
Beat Küng
f59412ba65
mavlink: only enable HIL_ACTUATOR_CONTROLS in hil if link has enough bandwidth
...
Plus correct return value.
Iridium links are below that.
2018-06-25 12:19:56 +02:00
Beat Küng
4553992760
mavlink: refactor get_client_source_address() to return a reference instead of a pointer
2018-06-25 12:19:56 +02:00
Daniel Agar
d21cf7123e
version library add ECL
2018-06-22 08:46:30 +02:00
Julien Lecoeur
c73944c7a2
Mavlink: initialize _ping_stats
...
Uninitialized `_ping_stats.last_ping_time` caused ping statistics to be printed even when no ping was received.
2018-06-19 13:00:36 +02:00
Oleg Kalachev
23cd6adbe7
precland: put land precision parameter to MAVLink mission item
2018-06-13 23:32:51 -04:00
Beat Küng
08064c2b71
mavlink_main: remove nonexisting streams
...
Removes SITL startup warnings:
WARN [mavlink] stream SCALED_IMU2 not found
WARN [mavlink] stream SCALED_IMU3 not found
Introduced in 9122725052
2018-06-13 15:54:45 +02:00
David Sidrane
8aa1d4d68d
BUGFIX hardfault FMUv5 List was used before being initalized.
...
_uavcan_open_request_list was accessed before it was initalized.
2018-06-12 13:44:04 -07:00
Daniel Agar
20aabd3566
move systemlib/airspeed to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
d73d20bcce
systemlib delete unused systemlib.h
2018-06-12 09:06:30 +02:00
Daniel Agar
d0bde9ab2a
replace geo _wrap_pi with matrix::wrap_pi
2018-06-12 09:00:52 +02:00