optimal vitural function
This commit is contained in:
@@ -405,8 +405,11 @@ namespace NavigationExample
|
||||
goal.pose.orientation.w = 1.0;
|
||||
|
||||
|
||||
// Console.WriteLine("Docking to docking_point");
|
||||
NavigationAPI.navigation_dock_to(navHandle, "charger", goal);
|
||||
// Docking used to be its own call, navigation_dock_to(navHandle, "charger", goal).
|
||||
// It is a per-leg property of the order now: put `profile: docking` and `marker:
|
||||
// charger` on the leg and send the order, so the leg gets the same mission id,
|
||||
// lifecycle and cancel path as every other leg.
|
||||
NavigationAPI.navigation_move_to(navHandle, goal);
|
||||
|
||||
// NavigationAPI.navigation_move_to_nodes_edges(navHandle, order.nodes, order.nodes_count, order.edges, order.edges_count, goal);
|
||||
|
||||
@@ -414,8 +417,6 @@ namespace NavigationExample
|
||||
NavigationAPI.navigation_set_twist_linear(navHandle, 0.1, 0.0, 0.0);
|
||||
NavigationAPI.navigation_set_twist_angular(navHandle, 0.0, 0.0, 0.2);
|
||||
|
||||
// NavigationAPI.navigation_move_straight_to(navHandle, 1.0);
|
||||
|
||||
while (true)
|
||||
{
|
||||
System.Threading.Thread.Sleep(100);
|
||||
|
||||
Reference in New Issue
Block a user