Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Use rclcpp::Time for stamping transforms #20

Merged
merged 2 commits into from
Jun 10, 2019
Merged

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented May 23, 2019

The motivation is that right now, robot_state_publisher doesn't respect use_sim_time at all.

The motivation is that right now, `robot_state_publisher` doesn't respect
`use_sim_time` at all.
@cottsay cottsay added the enhancement New feature or request label May 23, 2019
@cottsay cottsay requested a review from Karsten1987 May 23, 2019 17:28
@cottsay cottsay self-assigned this May 23, 2019
@Karsten1987
Copy link

nice. I won't have time to look at it before next week though. @chapulina could you give this a try and see if the laser update rate in RViz could be enhanced with it? THis might also be interesting for Karsten1987/confbot_robot#19

@chapulina
Copy link

I don't think this will fix that issue, because I think @cottsay is still having the same issue even with this PR.

@chapulina
Copy link

FWIW, the changes here LGTM

@Karsten1987
Copy link

is this targeted for dashing or a patch release?

@nuclearsandwich
Copy link
Member

is this targeted for dashing or a patch release?

This has missed the window for Dashing's initial release.

@@ -99,6 +99,7 @@ class RobotStatePublisher
std_msgs::msg::String model_xml_;
bool description_published_;
rclcpp::Publisher<std_msgs::msg::String>::SharedPtr description_pub_;
rclcpp::Clock::SharedPtr clock_;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks ABI by changing the size of RobotStatePublisher. This is fine for Eloquent, but is an issue for including in a dashing patch release. This bug might be important enough to warrant breaking ABI.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It probably makes sense to break ABI and release this to Dashing, see also #21.

@clalancette clalancette merged commit 24f91ed into ros2 Jun 10, 2019
@delete-merged-branch delete-merged-branch bot deleted the ros2_rclcpp_time branch June 10, 2019 19:07
clalancette pushed a commit that referenced this pull request Jun 12, 2019
* Use rclcpp::Time for stamping transforms

The motivation is that right now, `robot_state_publisher` doesn't respect
`use_sim_time` at all.

* Use std::chrono constructor to represent 0.5 sec
clalancette pushed a commit that referenced this pull request Jun 12, 2019
* Use rclcpp::Time for stamping transforms

The motivation is that right now, `robot_state_publisher` doesn't respect
`use_sim_time` at all.

* Use std::chrono constructor to represent 0.5 sec
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants