Rafiki Front Bumber icon Rafiki Front Bumber Rafiki front bumper plugin: reads 4 proximity sensors via serial, updates ARC variables, blocks motor movement toward detected obstacles for SLAM Try it →
 

Setnavigationstatustonavigating

SetNavigationStatusToNavigating()

Description

Instruct the navigator in NMS Level #1 to continue navigating if previously paused. The variable $NavigationStatus will also update to Navigating.

*Note: the NMS Level #1 robot skill must support this function. Verify with its manual that this feature is supported. There should also be an option in the respective robot skill for support pausing with close distances.

Example NMS Level #1 controls are:

Example

// Pause navigating if the ping sensor detects an object less than 100 distance and continue if greater
if (Ping.get(d0, d0) < 100)
  Navigation.SetNavigationStatusToPause();
else
  Navigation.SetNavigationStatusToNavigating();