Skip to content

Commit

Permalink
resolved conflicts (#590)
Browse files Browse the repository at this point in the history
Signed-off-by: Rein Appeldoorn <rein.appeldoorn@nobleo.nl>
  • Loading branch information
reinzor authored Aug 29, 2024
1 parent e93fc7d commit a89ad55
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions ros_gz_bridge/src/factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,21 +118,15 @@ class Factory : public FactoryInterface
rclcpp::PublisherBase::SharedPtr ros_pub,
bool override_timestamps_with_wall_time)
{
<<<<<<< HEAD
std::function<void(const GZ_T &,
const gz::transport::MessageInfo &)> subCb =
[this, ros_pub](const GZ_T & _msg, const gz::transport::MessageInfo & _info)
[this, ros_pub, override_timestamps_with_wall_time](const GZ_T & _msg,
const gz::transport::MessageInfo & _info)
{
// Ignore messages that are published from this bridge.
if (!_info.IntraProcess()) {
this->gz_callback(_msg, ros_pub);
this->gz_callback(_msg, ros_pub, override_timestamps_with_wall_time);
}
=======
std::function<void(const GZ_T &)> subCb =
[this, ros_pub, override_timestamps_with_wall_time](const GZ_T & _msg)
{
this->gz_callback(_msg, ros_pub, override_timestamps_with_wall_time);
>>>>>>> 6daea2c (Stamp all outgoing headers with the wall time if parameter override_timestamps_with_wall_time is set to true (#562))
};

node->Subscribe(topic_name, subCb);
Expand Down

0 comments on commit a89ad55

Please sign in to comment.