Skip to content

Commit

Permalink
Rename standby topic
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtudela committed Jun 23, 2023
1 parent 2ce18bc commit eef5a17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Driver for the Sick S300 Safety laser scanners.

The laserscan data.

* **`scan_standby`** ([std_msgs/Bool])
* **`scan/standby`** ([std_msgs/Bool])

True if the scanner is in standby mode, false otherwise.

Expand Down
2 changes: 1 addition & 1 deletion src/sicks300_2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ rclcpp_CallReturn SickS3002::on_configure(const rclcpp_lifecycle::State &){
laser_scan_pub_ = this->create_publisher<sensor_msgs::msg::LaserScan>(
scan_topic_, rclcpp::SensorDataQoS());
in_standby_pub_ = this->create_publisher<std_msgs::msg::Bool>(
"scan_standby", rclcpp::QoS(1).transient_local());
scan_topic_ + "/standby", rclcpp::QoS(1).transient_local());
diag_pub_ = this->create_publisher<diagnostic_msgs::msg::DiagnosticArray>(
"/diagnostics", rclcpp::QoS(1));

Expand Down

0 comments on commit eef5a17

Please sign in to comment.