mirror of
https://github.com/6-robot/wpr_simulation2.git
synced 2025-09-15 12:58:54 +08:00
update demo_5
This commit is contained in:
parent
aaf9a1df49
commit
1831c23351
@ -17,7 +17,7 @@ int main(int argc, char** argv)
|
||||
setlocale(LC_ALL, "");
|
||||
rclcpp::init(argc, argv);
|
||||
|
||||
auto node = std::make_shared<rclcpp::Node>("lidar_data_node");
|
||||
node = std::make_shared<rclcpp::Node>("lidar_data_node");
|
||||
|
||||
auto lidar_sub = node->create_subscription<sensor_msgs::msg::LaserScan>("/scan", 10, LidarCallback);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user