-
Notifications
You must be signed in to change notification settings - Fork 221
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
changes to avoid deprecated API's #399
Conversation
Signed-off-by: William Woodall <william@osrfoundation.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that a follow-up changing the class would be good. LGTM
rviz_default_plugins/src/rviz_default_plugins/displays/camera/camera_display.cpp
Show resolved
Hide resolved
rviz_default_plugins/src/rviz_default_plugins/displays/map/map_display.cpp
Show resolved
Hide resolved
rviz_default_plugins/src/rviz_default_plugins/displays/marker/marker_display.cpp
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -66,7 +66,7 @@ void GoalTool::updateTopic() | |||
{ | |||
// TODO(anhosi, wjwwood): replace with abstraction for publishers once available | |||
publisher_ = context_->getRosNodeAbstraction().lock()->get_raw_node()-> | |||
template create_publisher<geometry_msgs::msg::PoseStamped>(topic_property_->getStdString()); | |||
template create_publisher<geometry_msgs::msg::PoseStamped>(topic_property_->getStdString(), 10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In these cases an explicit local variable for the numeric parameter might be more readable, like https://github.com/ros2/rosidl_python/blob/c66c3b7075a8e9c9ef01826f547d7996e0c6c604/rosidl_generator_py/resource/_msg_support.c.em#L623-L624
This certainly doesn't need to be addressed to get this merged - it is merely a thought.
Connects to ros2/rclcpp#713