Skip to content

Commit

Permalink
updating the bringup too
Browse files Browse the repository at this point in the history
Signed-off-by: PRP <[email protected]>
  • Loading branch information
padhupradheep committed Feb 8, 2024
1 parent 20d9044 commit c2486ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion nav2_bringup/rviz/nav2_default_view.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ Panels:
Expanded:
- /Current View1
Name: Views
Splitter Ratio: 0.5
Splitter Ratio: 0.3333333432674408
- Class: nav2_rviz_plugins/Navigation 2
Name: Navigation 2
- Class: nav2_rviz_plugins/Selector
Name: Selector
Visualization Manager:
Class: ""
Displays:
Expand Down
2 changes: 1 addition & 1 deletion nav2_rviz_plugins/src/selector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void Selector::pluginLoader(

// Wait for the service to be available before calling it
bool server_unavailable = false;
while (!parameter_client->wait_for_service(1s)) {
while (!parameter_client->wait_for_service(3s)) {
if (!rclcpp::ok()) {
RCLCPP_ERROR(node->get_logger(), "Interrupted while waiting for the service. Exiting.");
rclcpp::shutdown();
Expand Down

0 comments on commit c2486ff

Please sign in to comment.