fix bug docking

This commit is contained in:
2026-03-20 11:24:00 +07:00
parent e90a84c229
commit aa63caa188
2 changed files with 6 additions and 4 deletions

View File

@@ -406,9 +406,9 @@ namespace NavigationExample
// Console.WriteLine("Docking to docking_point");
// NavigationAPI.navigation_dock_to_order(navHandle, order, "charger", goal);
NavigationAPI.navigation_dock_to(navHandle, "charger", goal);
NavigationAPI.navigation_move_to_nodes_edges(navHandle, order.nodes, order.nodes_count, order.edges, order.edges_count, goal);
// NavigationAPI.navigation_move_to_nodes_edges(navHandle, order.nodes, order.nodes_count, order.edges, order.edges_count, goal);
// NavigationAPI.navigation_move_to_order(navHandle, order, goal);
NavigationAPI.navigation_set_twist_linear(navHandle, 0.1, 0.0, 0.0);