Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge iron ➡️ jazzy #569

Merged
merged 77 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from 76 commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
591b8b5
Fix humble branch names in humble branch (#388)
mjcarroll May 5, 2023
846323f
Add actuator_msgs to humble bridge. (#394)
bperseghetti May 23, 2023
b64df31
0.244.11
mjcarroll May 23, 2023
18b3403
Backport: Add missing rosidl_cmake dep to ros_gz_bridge (#391) (#396)
mjcarroll May 23, 2023
8aa41ed
0.245.0
mjcarroll May 23, 2023
1893dec
Fix incorrect subscription on demo (#405)
arjo129 Jun 6, 2023
277a2f2
Fix incorrect subscription on demo (#405) (#407)
ahcorde Jun 8, 2023
bac02a3
Update README.md (#411)
topguns837 Jun 12, 2023
f0479c2
Update README.md (#411)
topguns837 Jun 12, 2023
1b330a5
Added more topic to the bridge (#422)
ahcorde Jun 16, 2023
942e5ae
Added more topic to the bridge (#422) (#423)
ahcorde Jun 20, 2023
f923bcf
Merge pull request #424 from gazebosim/ahcorde/humble/bp/422
ahcorde Jun 20, 2023
a3071cf
[backport Iron] Added Altimeter msg bridging (#413) (#414)
ahcorde Jun 21, 2023
0f8e223
Merge pull request #421 from gazebosim/ahcorde/humble/backport/411
ahcorde Jun 21, 2023
9b76826
Merge branch 'iron' into ahcorde/iron/backport/411
ahcorde Jun 21, 2023
e80ee5b
Merge pull request #420 from gazebosim/ahcorde/iron/backport/411
ahcorde Jun 21, 2023
bdfe874
[backport Iron] Added Altimeter msg bridging (#413) (#414) (#426)
ahcorde Jun 21, 2023
115aa6b
[backport iron] SensorNoise msg bridging (#417) (#425)
ahcorde Jun 21, 2023
6d12a72
[backport iron] SensorNoise msg bridging (#417) (#425)
ahcorde Jun 21, 2023
c09b704
Merge pull request #427 from gazebosim/ahcorde/humble/backport/417
ahcorde Jun 22, 2023
4a42e94
Add link to project template (#428)
azeey Jun 22, 2023
fc3d05f
Add link to project template (#428)
azeey Jun 22, 2023
3348a9c
Merge pull request #429 from gazebosim/ahcorde/iron/backport/428
ahcorde Jun 22, 2023
a587cfa
Merge pull request #430 from gazebosim/ahcorde/humble/backport/428
ahcorde Jun 22, 2023
d7b7235
Fixed install instructions (#435) (#436)
ahcorde Jul 17, 2023
eb63bce
Fixed install instructions (#435) (#437)
ahcorde Jul 17, 2023
4a5972b
Improved docs (#438)
ahcorde Jul 18, 2023
f5af9be
Improved Iron documentation (#439)
ahcorde Jul 18, 2023
0ed5e2c
Update README.md to fix humble from source instructions (#431)
djsamseng Aug 22, 2023
151d3d8
Fix double wait in ros_gz_bridge (#347) (#450)
ahcorde Sep 13, 2023
e93c35d
Fix double wait in ros_gz_bridge (#347) (#449)
ahcorde Sep 13, 2023
0585429
set on_exit_shutdown argument for gz-sim ExecuteProcess (#355) (#451)
mjcarroll Sep 21, 2023
bc4f777
set on_exit_shutdown argument for gz-sim ExecuteProcess (#355) (#452)
mjcarroll Sep 21, 2023
2733a3e
Changelog
ahcorde Nov 2, 2023
2e6b408
0.247.0
ahcorde Nov 2, 2023
55eebea
Added messages for 2D Bounding Boxes to ros_gz_bridge (#458)
wittenator Nov 9, 2023
4cf2da6
Added messages for 2D Bounding Boxes to ros_gz_bridge (#458) (#460)
wittenator Nov 13, 2023
514d53c
Add support for Harmonic/Humble pairing (#462)
azeey Nov 15, 2023
1205938
Merge humble into iron
azeey Dec 1, 2023
4b3ee9e
Backport: Add conversion for geometry_msgs/msg/TwistStamped <-> gz.ms…
azeey Dec 12, 2023
c22e289
Merge pull request #467 from gazebosim/azeey/fwd_humble
azeey Dec 13, 2023
ced7387
Backport: Add conversion for geometry_msgs/msg/TwistStamped <-> gz.ms…
azeey Dec 13, 2023
d598e13
Changelog
azeey Dec 13, 2023
78d3398
0.244.12
azeey Dec 13, 2023
bdf138e
Add tip about non-parallel builds to README (#477) (#479)
ahcorde Jan 3, 2024
f09a391
Add tip about non-parallel builds to README (#477) (#478)
ahcorde Jan 3, 2024
84d5d27
Additional tip for limiting number of cpus (#480) (#481)
ahcorde Jan 4, 2024
9e04831
Additional tip for limiting number of cpus (#480) (#482)
ahcorde Jan 4, 2024
6810c20
0.254.0 (#485)
azeey Jan 9, 2024
d36e371
populate imu covariances when converting (#488)
ejalaa12 Jan 23, 2024
3abc34f
backport pr 374 (#489)
ejalaa12 Jan 23, 2024
60ac078
Changelog
ahcorde Jan 23, 2024
6af4c0a
0.244.13
ahcorde Jan 23, 2024
b5dffde
Add option to change material color from ROS. (#486)
bperseghetti Feb 1, 2024
8233fbd
Add a virtual destructor to suppress compiler warning (#502) (#504)
ahcorde Feb 23, 2024
3a3d22a
Add a virtual destructor to suppress compiler warning (#502) (#505)
ahcorde Feb 23, 2024
0367d9a
Correctly export ros_gz_bridge for downstream targets (#503) (#507)
mjcarroll Feb 23, 2024
a6f58b6
Correctly export ros_gz_bridge for downstream targets (#503) (#506)
mjcarroll Feb 23, 2024
13e5592
Support `<gazebo_ros>` in `package.xml` exports (#492)
azeey Mar 11, 2024
0b7c5e9
Add ROS namespaces to GZ topics (#512)
Kotochleb Mar 20, 2024
b986388
[forward iron] Add ROS namespaces to GZ topics (#516)
ahcorde Mar 25, 2024
d37b806
Add option to change material color from ROS. (#520)
bperseghetti Mar 27, 2024
c91acf5
Added conversion for Detection3D and Detection3DArray (#523)
wittenator Apr 1, 2024
409a941
Added conversion for Detection3D and Detection3DArray (#523) (#526)
ahcorde Apr 2, 2024
c9a5a73
Clean humble Ci (#527)
ahcorde Apr 2, 2024
58b6cbf
Changelog
ahcorde Apr 8, 2024
2699e3f
0.244.14
ahcorde Apr 8, 2024
9e11a66
Changelog
ahcorde Apr 8, 2024
c3e7939
0.254.1
ahcorde Apr 8, 2024
d87d63d
[backport Iron] Create bridge for GPSFix msg (#316) (#537)
ahcorde Apr 16, 2024
a348c07
[backport Humble] Create bridge for GPSFix msg (#316) (#538)
ahcorde Apr 16, 2024
eb96258
update actions/checkoutv4 (#541)
ahcorde Apr 29, 2024
9377674
populate imu covariances when converting (#375) (#540)
wittenator Apr 30, 2024
6abafad
Merge humble -> iron
azeey Jun 21, 2024
02ea7f6
Merge pull request #564 from azeey/humble_to_iron
azeey Jun 24, 2024
8175530
Merge iron into jazzy
azeey Jun 25, 2024
13f238a
Merge remote-tracking branch 'origin/jazzy' into iron_to_jazzy
azeey Jun 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ Foxy | Edifice | [foxy](https://github.com/gazebosim/ros_gz/tree/foxy) | only fr
Galactic | Edifice | [galactic](https://github.com/gazebosim/ros_gz/tree/galactic) | https://packages.ros.org
Galactic | Fortress | [galactic](https://github.com/gazebosim/ros_gz/tree/galactic) | only from source
Humble | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | https://packages.ros.org
Humble | Garden | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | only from source
Iron | Fortress | [iron](https://github.com/gazebosim/ros_gz/tree/iron) | https://packages.ros.org
Iron | Garden | [iron](https://github.com/gazebosim/ros_gz/tree/iron) | only from source
Iron | Harmonic | [iron](https://github.com/gazebosim/ros_gz/tree/iron) | only from source
Jazzy* | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | only from source
Humble | Garden | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | [gazebo packages](https://gazebosim.org/docs/latest/ros_installation#gazebo-garden-with-ros-2-humble-iron-or-rolling-use-with-caution-)[^1]
Humble | Harmonic | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | [gazebo packages](https://gazebosim.org/docs/harmonic/ros_installation#-gazebo-harmonic-with-ros-2-humble-iron-or-rolling-use-with-caution-)[^1]
Iron | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/iron) | https://packages.ros.org
Iron | Garden | [humble](https://github.com/gazebosim/ros_gz/tree/iron) | only from source
Iron | Harmonic | [humble](https://github.com/gazebosim/ros_gz/tree/iron) | only from source
Jazzy* | Garden | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
Jazzy* | Harmonic | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | https://packages.ros.org
Rolling | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | https://packages.ros.org
Rolling | Garden | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
Rolling | Harmonic | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source

[^1]: Binaries for these pairings are provided from a the packages.osrfoundation.org repository. Refer to https://gazebosim.org/docs/latest/ros_installation for installation instructions.

* ROS 2 Jazzy Jalisco is slated for release on May 23rd, 2024. [Full ROS 2 release information is available in REP-2000.]

For information on ROS(1) and Gazebo compatibility, refer to the [noetic branch README](https://github.com/gazebosim/ros_gz/tree/noetic)
Expand Down Expand Up @@ -91,7 +93,7 @@ Install either [Edifice, Fortress, or Garden](https://gazebosim.org/docs).
Set the `GZ_VERSION` environment variable to the Gazebo version you'd
like to compile against. For example:

export GZ_VERSION=edifice
export GZ_VERSION=edifice # IMPORTANT: Replace with correct version

> You only need to set this variable when compiling, not when running.

Expand Down
6 changes: 3 additions & 3 deletions ros_gz_bridge/ros_gz_bridge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ def ign_string(self):
return f'ignition.msgs.{self.gz_message_name}'

def ign_type(self):
# Return GZ type of a message (eg ignition::msgs::Bool)
return f'ignition::msgs::{self.gz_message_name}'
# Return GZ type of a message (eg gz::msgs::Bool)
return f'gz::msgs::{self.gz_message_name}'

def gz_string(self):
# Return GZ string version of a message (eg ignition.msgs.Bool)
return f'gz.msgs.{self.gz_message_name}'

def gz_type(self):
# Return GZ type of a message (eg ignition::msgs::Bool)
# Return GZ type of a message (eg gz::msgs::Bool)
return f'gz::msgs::{self.gz_message_name}'

def unique(self):
Expand Down
2 changes: 1 addition & 1 deletion ros_gz_bridge/src/convert/gps_msgs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ convert_gz_to_ros(
ros_msg.track = atan2(gz_msg.velocity_north(), gz_msg.velocity_east());
ros_msg.climb = gz_msg.velocity_up();

// position_covariance is not supported in Ignition::Msgs::NavSat.
// position_covariance is not supported in gz::msgs::NavSat.
ros_msg.position_covariance_type = gps_msgs::msg::GPSFix::COVARIANCE_TYPE_UNKNOWN;
ros_msg.status.status = gps_msgs::msg::GPSStatus::STATUS_GBAS_FIX;
}
Expand Down
2 changes: 1 addition & 1 deletion ros_gz_bridge/src/convert/sensor_msgs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ convert_gz_to_ros(
ros_msg.longitude = gz_msg.longitude_deg();
ros_msg.altitude = gz_msg.altitude();

// position_covariance is not supported in Ignition::Msgs::NavSat.
// position_covariance is not supported in gz::msgs::NavSat.
ros_msg.position_covariance_type = sensor_msgs::msg::NavSatFix::COVARIANCE_TYPE_UNKNOWN;
ros_msg.status.status = sensor_msgs::msg::NavSatStatus::STATUS_FIX;
}
Expand Down
4 changes: 3 additions & 1 deletion ros_gz_bridge/test/utils/gz_test_msg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,9 @@ void compareTestMsg(const std::shared_ptr<gz::msgs::SensorNoise> & _msg)
gz::msgs::SensorNoise expected_msg;
createTestMsg(expected_msg);

EXPECT_EQ(expected_msg.type(), gz::msgs::SensorNoise_Type::SensorNoise_Type_GAUSSIAN_QUANTIZED);
EXPECT_EQ(
expected_msg.type(),
gz::msgs::SensorNoise_Type::SensorNoise_Type_GAUSSIAN_QUANTIZED);
EXPECT_EQ(expected_msg.mean(), _msg->mean());
EXPECT_EQ(expected_msg.stddev(), _msg->stddev());
EXPECT_EQ(expected_msg.bias_mean(), _msg->bias_mean());
Expand Down
2 changes: 1 addition & 1 deletion ros_gz_image/test/publishers/gz_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main(int /*argc*/, char **/*argv*/)
gz::transport::Node node;

// gz::msgs::Image.
auto image_pub = node.Advertise<ignition::msgs::Image>("image");
auto image_pub = node.Advertise<gz::msgs::Image>("image");
gz::msgs::Image image_msg;
ros_gz_image::testing::createTestMsg(image_msg);

Expand Down
18 changes: 9 additions & 9 deletions ros_gz_image/test/test_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <chrono>
#include <string>
#include <thread>
#include <ignition/msgs.hh>
#include <gz/msgs.hh>

namespace ros_gz_image
{
Expand Down Expand Up @@ -142,7 +142,7 @@ namespace testing

/// \brief Create a message used for testing.
/// \param[out] _msg The message populated.
void createTestMsg(ignition::msgs::Header &_msg)
void createTestMsg(gz::msgs::Header &_msg)
{
auto seq_entry = _msg.add_data();
seq_entry->set_key("seq");
Expand All @@ -156,9 +156,9 @@ namespace testing

/// \brief Compare a message with the populated for testing.
/// \param[in] _msg The message to compare.
void compareTestMsg(const ignition::msgs::Header &_msg)
void compareTestMsg(const gz::msgs::Header &_msg)
{
ignition::msgs::Header expected_msg;
gz::msgs::Header expected_msg;
createTestMsg(expected_msg);

EXPECT_EQ(expected_msg.stamp().sec(), _msg.stamp().sec());
Expand All @@ -183,24 +183,24 @@ namespace testing

/// \brief Create a message used for testing.
/// \param[out] _msg The message populated.
void createTestMsg(ignition::msgs::Image &_msg)
void createTestMsg(gz::msgs::Image &_msg)
{
ignition::msgs::Header header_msg;
gz::msgs::Header header_msg;
createTestMsg(header_msg);

_msg.mutable_header()->CopyFrom(header_msg);
_msg.set_width(320);
_msg.set_height(240);
_msg.set_pixel_format_type(ignition::msgs::PixelFormatType::RGB_INT8);
_msg.set_pixel_format_type(gz::msgs::PixelFormatType::RGB_INT8);
_msg.set_step(_msg.width() * 3);
_msg.set_data(std::string(_msg.height() * _msg.step(), '1'));
}

/// \brief Compare a message with the populated for testing.
/// \param[in] _msg The message to compare.
void compareTestMsg(const ignition::msgs::Image &_msg)
void compareTestMsg(const gz::msgs::Image &_msg)
{
ignition::msgs::Image expected_msg;
gz::msgs::Image expected_msg;
createTestMsg(expected_msg);

compareTestMsg(_msg.header());
Expand Down
Loading
Loading