Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
  • Loading branch information
Teo Koon Peng committed Jan 31, 2024
1 parent 452cc7c commit 671f733
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions rmf_visualization_rviz2_plugins/src/SchedulePanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ SchedulePanel::SchedulePanel(QWidget* parent)
_param_pub = _node->create_publisher<RvizParamMsg>(
_param_topic.toStdString(), rclcpp::SystemDefaultsQoS().keep_last(10));
_cancel_pub = _node->create_publisher<NegotiationRefusal>(
rmf_traffic_ros2::NegotiationRefusalTopicName, rclcpp::SystemDefaultsQoS().keep_last(10));
rmf_traffic_ros2::NegotiationRefusalTopicName,
rclcpp::SystemDefaultsQoS().keep_last(10));

// Create layout for output topic and map_name
QHBoxLayout* layout1 = new QHBoxLayout;
Expand Down Expand Up @@ -130,14 +131,16 @@ SchedulePanel::SchedulePanel(QWidget* parent)
SIGNAL(clicked()), this, SLOT(cancel_negotiation()));

_notice_sub = _node->create_subscription<NegotiationNotice>(
"/rmf_traffic/negotiation_notice", rclcpp::SystemDefaultsQoS().keep_last(10),
"/rmf_traffic/negotiation_notice", rclcpp::SystemDefaultsQoS().keep_last(
10),
[&](const NegotiationNotice::UniquePtr msg)
{
this->recieved_notification(*msg);
});

_conclusion_sub = _node->create_subscription<NegotiationConclusion>(
"/rmf_traffic/negotiation_conclusion", rclcpp::SystemDefaultsQoS().keep_last(10),
"/rmf_traffic/negotiation_conclusion", rclcpp::SystemDefaultsQoS().keep_last(
10),
[&](const NegotiationConclusion::UniquePtr msg)
{
this->recieved_conclusion(*msg);
Expand Down

0 comments on commit 671f733

Please sign in to comment.