Skip to content

Commit

Permalink
fix uninitialized params build-error (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadanand1120 authored May 16, 2023
1 parent dc34f2a commit a2828db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/RosClientNode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ class RosClientNode : public QObject {
sub_msg.topic_regex = topic;
TopicParams params;
params.no_drop = true;
params.priority = 1.0;
params.rate_limit = 1.0;
encode_ros_msg<amrl_msgs::RobofleetSubscription>(
sub_msg,
ros::message_traits::DataType<amrl_msgs::RobofleetSubscription>()
Expand Down

0 comments on commit a2828db

Please sign in to comment.