Merge pull request #1660 from scoutdi/fix-warnings
Fix warnings
mavros_extras: Fix some warnings
Contributors: Morten Fyhn Amundsen, Vladimir Ermakov
1.12.0 (2021-11-27)
extras: distance_sensor: revert back to zero quaternion
Fix #1653
Contributors: Vladimir Ermakov
1.11.1 (2021-11-24)
1.11.0 (2021-11-24)
extras: landing_target: fix misprint
plugin: initialize quaternions with identity
Eigen::Quaternion[d|f] () does not initialize with zeroes or identity.
So we must initialize with identity vector objects that can be left
unassigned.
Related to #1652
Merge pull request #1651 from Jaeyoung-Lim/pr-image-capture-plugin
Add camera plugin for interfacing with mavlink camera protocol
Merge pull request #1652 from scoutdi/avoid-uninit-orientation
distance_sensor: Initialize sensor orientation quaternion to zero
Use meters for relative altitude
distance_sensor: Initialize sensor orientation quaternion to zero
Without this, you'll get random garbage data for the quaternion field
of the DISTANCE_SENSOR MAVLink messages sent to the autopilot.
The quaternion field should be set to zero when unused, according to the
MAVLink message's field description.
Address review comments
Add camera plugin for interfacing with mavlink camera protocol
Add camera image captured message for handling camera trigger information
Contributors: Jaeyoung-Lim, Morten Fyhn Amundsen, Vladimir Ermakov
1.10.0 (2021-11-04)
Merge pull request #1625 from scoutdi/tunnel-plugin
Plugin for TUNNEL messages
Tunnel: Check for invalid payload length
mavros_extras: Create tunnel plugin
Contributors: Morten Fyhn Amundsen, Vladimir Ermakov
1.9.0 (2021-09-09)
Merge pull request #1621 from amilcarlucas/pr/mount-control-spelling
Spelling corrections
Spelling corrections
Merge pull request #1615 from amilcarlucas/pr/erase-logs
This adds functionality to erase all logs on the SD card via mavlink
Merge pull request #1618 from amilcarlucas/pr/GPS_INPUT-plugin
Added GPS_INPUT plugin
This adds functionality to erase all logs on the SD card via mavlink
Added GPS_INPUT plugin
Merge pull request #1606 from BV-OpenSource/master
Add Mount angles message for communications with ardupilotmega.
Merge branch 'master' into master
Update esc_status plugin with datatype change on MAVLink.
ESC_INFO MAVLink message was updated to have negative temperates and also at a different resolution. This commit updates those changes on this side.
Convert status data from cdeg to rad.
Publish quaternion information with Mount Status mavlink message.
Add missing subscription.
Remove Mount_Status plugin. Add Status data to Mount_Control plugin. Remove Mount_Status message.
distance_sensor: Fill horizontal_fov, vertical_fov, quaternion
Contributors: Alexey Rogachevskiy, Vladimir Ermakov
1.7.1 (2021-04-05)
1.7.0 (2021-04-05)
1.6.0 (2021-02-15)
Fixed a bug in mavros_extras/src/plugins/odom.cpp by switching lines 175 and 180.
Rationale: The pose covariance matrix published to the /mavros/odometry/in topic is exclusively zeros. This is because the transformation matrix r_pose is initialised as zeros (line 140), then applied to the covariance matrix cov_pose (line 176) and then populated (line 180). Clearly the latter two steps should be the other way around, and the comments in the code appear to suggest that this was the intention, but that lines 175 and 180 were accidentally written the wrong way around. Having switched them, the pose covariance is now published to /mavros/odometry/in as expected.
JohnG897
Contributors: John Gifford
1.5.2 (2021-02-02)
bugfix - add estimator type in odom message
Add missing estimator_type field in Odometry message.
Issue #1524
Contributors: Ashwin Varghese Kuruttukulam
1.5.1 (2021-01-04)
Initialise message structures
Uninitialised Mavlink 2 extension fields were sent if the fields were
not later set. Initialising the fields to zero is the default value for
extension fields and appears to the receiver as though sender is unaware
of Mavlink 2.
Instances were found with regex below, more may exist:
mavlink::[^:]+::msg::[^:={]+ ?[^:={]*;
Contributors: Rob Clarke
1.5.0 (2020-11-11)
mavros_extras: Fix member initialization order
mavros_extras: Add override specifiers
mavros_extras: distance_sensor: Don't publish data when orientation configuration does not match incomming data.
fake_gps: Fix assignment typo
This colon should probably be an equals sign.
With the colon, this assignment becomes a label instead,
and _gps_rate after the colon becomes an unused
expression result.
Contributors: Kristian Klausen, Morten Fyhn Amundsen
fake_gps.cpp: add initial support for GPS_INPUT MAVLink message
fake_gps.cpp: uncrustify
Add gps_status plugin to publish GPS_RAW and GPS_RTK messages from FCU.
The timestamps for the gps_status topics take into account the mavlink time and uses the convienence function
uncrustify gps_rtk plugin
adding support for publishing rtkbaseline msgs over ROS
Contributors: CSCE439, Dr.-Ing. Amilcar do Carmo Lucas, Ricardo Marques
1.2.0 (2020-05-22)
Revert "extras: odom: Hardcode BODY_FRD enum_value to fix compilation"
This reverts commit 1a898dea2202ee1af56d698bd40d40994346c5cb.
Change odometry subscription queue to 1 to avoid buffering.
Contributors: James Goppert
0.33.4 (2019-12-12)
obstacle_distance: Fill both increment and increment_f fields
obstacle_distance: Fix wrong angle increment
The computation req->angle_increment * RAD_TO_DEG correctly computes
angle increment in degrees as a float, but the increment field of the
OBSTACLE_DISTANCE MAVLink message is a uint8, so the float value gets
truncated. So if your real increment is 10 degrees, you may a floating
point value of something like 9.999999, which results in the integer value
9 getting written to the increment field.
An improvement would be to round properly, with something like
static_cast<uint8_t>(increment_deg_float),
but a better solution is to allow non-integer degree values for the
increment, which is supported by the increment_f field. According
to the MAVLink reference, increment_f is used instead of increment
whenever increment_f is nonzero.
Contributors: Morten Fyhn Amundsen
0.33.3 (2019-11-13)
package: fix 6fa58e59 - main package depends on trajectory_msgs, not extras
Contributors: Vladimir Ermakov
0.33.2 (2019-11-13)
Add trajectory_msg as dependency
Contributors: Jaeyoung-Lim
0.33.1 (2019-11-11)
Merge pull request #1297 from dayjaby/feature/mount_orientation
adding mount orientation to mount_control plugin
landing_target: Fix cartesian to displacement bug
I think these four conditionals are buggy:
The first is (x and y) > 0
and should be (x > 0) and (y > 0)
(This one actually works the way it's written.)
The second is (x < 0 and y) > 0
and should be (x < 0) and (y > 0)
The third is (x and y) < 0
and should be (x < 0) and (y < 0)
The fourth is (x < 0 and y) < 0
and should be (x > 0) and (y < 0)
obstacle distance plugin: Add ROS param for mavlink frame
Makes it possible to specify the 'frame' field in the MAVLink
OBSTACLE_DISTANCE message sent by this plugin. Previously the
frame was not defined, which means it defaulted to MAV_FRAME_GLOBAL.
(See https://mavlink.io/en/messages/common.html#OBSTACLE_DISTANCE)
The default frame is therefore still MAV_FRAME_GLOBAL.
resolved merge conflict
adding mount orientation to mount_control plugin
Contributors: David Jablonski, Morten Fyhn Amundsen, Vladimir Ermakov
0.33.0 (2019-10-10)
CleanUp
Odom Plugin, enforcing ROS convetion, less options but clearer to use
Fix service namespace with new nodehandle
Add mount configure service
use header.stamp to fill mavlink msg field time_usec
use cog for copy
adapt message and plugin after mavlink message merge
rename message and adjust fields
add component id to mavros message to distinguish ROS msgs from different systems
component_status message and plugin draft
Contributors: Jaeyoung-Lim, baumanta, kamilritz
0.32.2 (2019-09-09)
clean up
fix obstacle distance plugin
Contributors: baumanta
0.32.1 (2019-08-08)
0.32.0 (2019-07-06)
use direclty radians in yaml files
add mav_cmd associated with each point in trajectory plugin
extras: mavros_plugins.xml: fix malform on XML file
landing_target: use m_uas
visualization: set the frame and child frame id back to map and base_link
general fixup to update the landing_target codebase
extras: landing target: improve usability and flexibility
ident correction
landing_target: use Eigen::Quaterniond::Identity()
visualization: small correction on cb
landing_target: ident correct
landing_target: ident correction
renamed copter_visualization to just visualization
landing_target: target orientation: assess it is not possible
copter_visualization: add target_size and landing_target subscriber in copter_visualization node, so to publish a marker of the target
uas_stringify: changed UAS::idx_frame() to UAS::frame_from_str()
landing_target: removed child_frame_id
landing_target: minor code tweak/restructure
landing_target: small correction on math
landing_target: uncrustify code
landing_target: updated to TF2 and Eigen math
landing_target: adapted to latest master code
landing_target: corrected pkt parser order
landing_target: added stringify usage on code
landing_target: added timestamp and target size fields [!Won't compile unless a new mavlink release!]
landing_target: removed PoseWithCovarianceStamped include
landing_target: remove the need of local_position subscription
landing_target: fixed local_position subscriber topic name
landing_target: updated notation and applied correct math to conversions
landing_target: first commit
Contributors: TSC21
0.30.0 (2019-05-20)
Fixed an issue when the laser scan topic contains NaN values they where being sent as 0 distances. (#1218)
extras #1223: Add eigen aligned allocators to plugin classes.
gps_rtk: fix multi segment messages
Update the readme
Contributors: Dr.-Ing. Amilcar do Carmo Lucas, Jaime Machuca, Vladimir Ermakov
0.29.2 (2019-03-06)
extras: odom: update velocity covariance fields from 'twist' to 'velocity_covariance'
Contributors: TSC21
0.29.1 (2019-03-03)
All: catkin lint files
cmake: fix #1174: add msg deps for package format 2
mavros_extras: Convert source files to Unix line endings
Contributors: Pierre Kancir, Vladimir Ermakov, sfalexrog
0.29.0 (2019-02-02)
obstacle_distance: align comments
obstacle_distance: fixup items after peer review
changes include using size_t instead of int for loop variables
scale_factor calculation ensures argument are floating point
remove unnecessary n variable
obstacle_distance: combine sensor distances to fit within outgoing message
gps_rtk: documentation fixes
Fix broken documentation URLs
added tf2_eigen to dependencies, so that building with catkin tools does not fail anymore
Merge branch 'master' into param-timeout
mavros_extras: Wheel odometry plugin updated according to the final mavlink WHEEL_DISTANCE message.
mavros_extras: mavros_plugins.xml fix after bad merge.
ENU<->ECEF transforms fix. (#847)
* ENU<->ECEF transforms fix.
* Changes after review. Unit tests added.
Contributors: pavloblindnology
0.21.3 (2017-10-28)
mavteleop: Move from iteritems to items for python3 support
Items work with python3 and python2.7
Signed-off-by: Patrick Jose Pereira <patrickelectric@gmail.com>
extras: Configurable base frame id on distance_sensor
Fix #835
debug_msgs: fix typo
debug_msgs: fix typo
extras: Use cog to reduce common msg filler code
add debug plugin
Contributors: Nuno Marques, Patrick Jose Pereira, TSC21, Vladimir Ermakov
0.21.2 (2017-09-25)
odom: fix typo
odom: general fixes and code tighting
Use tf2 for odom plugin and set reasoable defaults for local pos cov.
Contributors: James Goppert, TSC21
0.21.1 (2017-09-22)
0.21.0 (2017-09-14)
IMU and attitude: general clean-up
Using tabs as the file does
Updating comments for PX4Flow
Removing copter_visualization from the yaml files.
Adding odometry to apm_config
Changing frame_id to base_link for vibration
Update the apm_config and px4flow_config files
Update configuration from mavros_extras
Contributors: Alexis Paques, TSC21
0.20.1 (2017-08-28)
0.20.0 (2017-08-23)
Extras: Distance sensors add RADAR and UNKNOWN type
Extras: distance sensor don't spam when message are bounce back from FCU
Extras: add ardupilot rangefinder plugin
[WIP] Plugins: setpoint_attitude: add sync between thrust and attitude (#700)
* plugins: setpoint_attitude: add sync between throttle and attitude topics to be sent together
* plugins: typo correction: replace throttle with thrust
* plugins: msgs: setpoint_attitude: replaces Float32Stamped for Thrust msg
* plugins: setpoint_attitude: add sync between twist and thrust (RPY+Thrust)
* setpoint_attitude: update the logic of thrust normalization verification
* setpoint_attitude: implement sync between tf listener and thrust subscriber
* TF sync listener: generalize topic type that can be syncronized with TF2
* TF2ListenerMixin: keep class template, use template for tf sync method only
* TF2ListenerMixin: fix and improve sync tf2_start method
* general update to yaml config files and parameters
* setpoint_attitude: add note on Thrust sub name
* setpoint_attitude: TF sync: pass subscriber pointer instead of binding it
extras: fake_gps: use another method to throttle incoming msgs
extras: fake_gps: compute vector2d.norm()
frame tf: move ENU<->ECEF transforms to ftf_frame_conversions.cpp
extras: fake_gps: use rate instead of period
extras: fake_gps: style fix
extras: mocap_fake_gps->fake_gps: generalize plugin and use GeographicLib possibilites
extras: odom: Minor fixes
extras: Add odom plugin
Contributors: James Goppert, Nuno Marques, TSC21, Vladimir Ermakov, khancyr
0.19.0 (2017-05-05)
extras: fix package link
extras: Fix adsb plugin
extras: Add ADSB plugin
Add frame transform for vibration levels (#690)
* add frame transform for accel vibration levels
* use vectorEigenToMsg
* unscrustify
Contributors: Nuno Marques, Vladimir Ermakov
0.18.7 (2017-02-24)
vision plugin : Add missing transform
Contributors: Kabir Mohammed
0.18.6 (2017-02-07)
0.18.5 (2016-12-12)
0.18.4 (2016-11-11)
Code clean-up
code style fix
markup changes
Fake gps plugin
Update README for all packages
Contributors: Vilhjalmur, Vladimir Ermakov, vilhjalmur89
0.18.3 (2016-07-07)
0.18.2 (2016-06-30)
0.18.1 (2016-06-24)
0.18.0 (2016-06-23)
extras #560: remove cv_bridge and image_transport deps
plugin api #241: remove global private node handle.
Now all plugins should define their local node handle (see dummy.cpp).
Also partially does #233 (unmerge setpoint topic namespace).