Skip to content

Commit

Permalink
Imported upstream version '1.19.0' of 'upstream'
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Jun 6, 2024
1 parent eae036f commit 124215a
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 21 deletions.
3 changes: 3 additions & 0 deletions libmavconn/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package libmavconn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.19.0 (2024-06-06)
-------------------

1.18.0 (2024-03-03)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion libmavconn/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>libmavconn</name>
<version>1.18.0</version>
<version>1.19.0</version>
<description>
MAVLink communication library.
This library provide unified connection handling classes
Expand Down
10 changes: 10 additions & 0 deletions mavros/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
Changelog for package mavros
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.19.0 (2024-06-06)
-------------------
* gps_global_origin: remove LLA to ECEF conversion
gps_global_origin is being published as
geographic_msgs::GeoPointStamped
message, which wants LLA format
https://docs.ros.org/en/api/geographic_msgs/html/msg/GeoPointStamped.html
FIX https://github.com/mavlink/mavros/issues/1381
* Contributors: Beniamino Pozzan

1.18.0 (2024-03-03)
-------------------
* sys_status.cpp: improve timeout code
Expand Down
2 changes: 1 addition & 1 deletion mavros/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>mavros</name>
<version>1.18.0</version>
<version>1.19.0</version>
<description>
MAVROS -- MAVLink extendable communication node for ROS
with proxy for Ground Control Station.
Expand Down
17 changes: 1 addition & 16 deletions mavros/src/plugins/global_position.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,22 +233,7 @@ class GlobalPositionPlugin : public plugin::PluginBase {
g_origin->position.longitude = glob_orig.longitude / 1E7;
g_origin->position.altitude = glob_orig.altitude / 1E3 + m_uas->geoid_to_ellipsoid_height(&g_origin->position); // convert height amsl to height above the ellipsoid

try {
/**
* @brief Conversion from geodetic coordinates (LLA) to ECEF (Earth-Centered, Earth-Fixed)
* Note: "earth" frame, in ECEF, of the global origin
*/
GeographicLib::Geocentric earth(GeographicLib::Constants::WGS84_a(),
GeographicLib::Constants::WGS84_f());

earth.Forward(g_origin->position.latitude, g_origin->position.longitude, g_origin->position.altitude,
g_origin->position.latitude, g_origin->position.longitude, g_origin->position.altitude);

gp_global_origin_pub.publish(g_origin);
}
catch (const std::exception& e) {
ROS_INFO_STREAM("GP: Caught exception: " << e.what() << std::endl);
}
gp_global_origin_pub.publish(g_origin);
}

/** @todo Handler for GLOBAL_POSITION_INT_COV */
Expand Down
3 changes: 3 additions & 0 deletions mavros_extras/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package mavros_extras
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.19.0 (2024-06-06)
-------------------

1.18.0 (2024-03-03)
-------------------
* [camera plugin] Fix image_index and capture_result not properly filled
Expand Down
2 changes: 1 addition & 1 deletion mavros_extras/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>mavros_extras</name>
<version>1.18.0</version>
<version>1.19.0</version>
<description>
Extra nodes and plugins for <a href="http://wiki.ros.org/mavros">MAVROS</a>.
</description>
Expand Down
3 changes: 3 additions & 0 deletions mavros_msgs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package mavros_msgs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.19.0 (2024-06-06)
-------------------

1.18.0 (2024-03-03)
-------------------
* sys_status.cpp: Add a SYS_STATUS message publisher
Expand Down
2 changes: 1 addition & 1 deletion mavros_msgs/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>mavros_msgs</name>
<version>1.18.0</version>
<version>1.19.0</version>
<description>
mavros_msgs defines messages for <a href="http://wiki.ros.org/mavros">MAVROS</a>.
</description>
Expand Down
3 changes: 3 additions & 0 deletions test_mavros/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package test_mavros
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.19.0 (2024-06-06)
-------------------

1.18.0 (2024-03-03)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion test_mavros/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>test_mavros</name>
<version>1.18.0</version>
<version>1.19.0</version>
<description>Tests for MAVROS package</description>

<maintainer email="[email protected]">Vladimir Ermakov</maintainer>
Expand Down

0 comments on commit 124215a

Please sign in to comment.