mono2_scenario_example.vi
Description
This example shows how to use the monoDrive client to configure the monoDrive simulator in Closed loop mode with all the sensors.
For technical support contact us at monodrive.support@ni.com
Inputs
-
Throttle: Change the vehicle's throttle (0 - 1)
-
Steering: While driving, move the vehicle right and left (-1 to 1)
-
Brake: When pressed the vehicle stops (False by default)
-
Direction: Move the car forward or backward (move forward by default )
-
Select a map: Select the map to load on the Simulator
-
Scenario Configuration: Select a valid replay file. To change, use the browse button to select a new file. User can find an example by navigating to the monoDrive folder >> trajectories folder >> HighWayExitReplay.json.
-
error in (Error Cluster): Accepts error information wired from previously called VIs. This information can be used to decide if any functionality should be bypassed in the event of errors from other VIs.
Outputs
-
Camera: Shows the camera sensor output
-
Map: Shows a graphic representation of the complete map loaded on the simulator
-
fps: Frames per Second at which the client is running
-
error out (Error Cluster): Accepts error information wired from previously called VIs. This information can be used to decide if any functionality should be bypassed in the event of errors from other VIs.