Skip to content

Commit

Permalink
add default port in case not declared in yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
hsd-dev committed Jan 29, 2024
1 parent 08f49ed commit c5a2c9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pf_driver/src/ros/ros_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ int main(int argc, char* argv[])

std::string device, transport_str, scanner_ip, port, topic, frame_id, packet_type;
int samples_per_scan, start_angle, max_num_points_scan, watchdogtimeout, num_layers;
port = "0";
num_layers = 0;
bool watchdog, apply_correction = 0;

Expand Down

0 comments on commit c5a2c9e

Please sign in to comment.