Apollo provides developers with a cloud-terminal integrated simulation platform for Autopilot. Apollo studio provides a variety of typical traffic flow scenarios and vehicle dynamics models. Developers can use Scenario management, Scenario editing, dynamics models and other operations. Apollo's local Visualization Tool Dreamview can download scenarios and dynamics models from cloud through Studio Profile, Thus, the debugging of Apollo open source code (planning&decision&control) is realized based on the local PNC Simulation container. In addition, Apollo Studio also provides a simulation evaluation function based on safety rules and somatosensory characteristics to help users improve the efficiency of automatic driving development.
Please ensure your apollo version is 8.0.
- Sign in Apollo Studio.
- Click Simulation > Scenario Management.
- In Scenario Management, select Scenario Set, and click Add a Scenario Set.
- Edit the information of your new scenario, choose Offline simulation type, and click NEXT.
- Select the required scenario to complete the scenario Set Adding.
- Click Persional Information in the upper right corner on Apollo Studio.
- Choose Service Rights > Simulation.
- Click Generate in the Plugin Installation to generate the Dreamview plug-in.
- Copy the link of the plug-in and install it to the local environment.
- Start Dreamview in your local environmen http://localhost:8888.
- Enable Sim Control in Tasks.
Download your Scenario Set in Profile and choose a Scenario Set in Scenario Profiles.
Click Profile to go to the Profile interface and select the required dynamic model. The dynamic model characteristics are as follows: *Simulation Perfect Control: perfect control, no dynamic model, *MKZ Modell: kinematics model, applicable to MKZ models, *Point Mass Model: kinematics model, applicable to all models.
Enable Planning, Control, and Routing in Module Controller. The Routing module searches the feasible path in the map. The planning module guides the vehicle to plan, make decisions, and move forward. The red line is the path searched by the routing module in the map, and the blue track is the local path planned by the planning module.
Let us add point of interest and send routing request to set the route.
- In Dreamview,click Routing Editing.
- Click Add Point of Interest, and select a starting point in the map.
- Select an End Point on the lane.
- Click Send Routing Request to send the added routing point.
Before you select Mkz Model or Point Mass Model, go to the Tasks interface to check whether the mode is AUTO. If not, click Start Auto, and you can see the vehicle running effect under the dynamic model in the interface.