-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Scenario Editor with Apollo3.0. #1322
Comments
I have send the map to Apollo3.0 Dreamview , but could not send the destinationPoint of json file to Dreamview. |
Apollo 3.0 is not supported with the VSE runner sorry. |
thanks. But I want to know the communication between Apollo5.0 and VSE, and I maybe solve this problem. Can you give me a hand? Thank you very much! |
The api's for 3.0 might not be available. I'll need @hadiTab or @lemketron to confirm |
Can you explain exactly what you're trying to do? It sounds like you have created and saved a scenario with VSE, and you are trying to run that scenario with Apollo 5.0 (or previously Apollo 3.0)? To do this you would need to use the VSE runtime template as documented here: As noted in the documentation, VSE is only supported with Apollo 5.0 (certainly not older Apollo 3.x, though newer Apollo like 6.0 may also work). Are you trying to do something with Python API and Dreamview API as well? You cannot use the saved VSE scenario JSON file with Python API but must run it with the VSE runtime template as described in the above documentation link. |
Hi @EricBoiseLGSVL , @lemketron Is this tutorial wrong: https://www.svlsimulator.com/docs/archive/2020.06/apollo-instructions/ ? Please take a look on this issue: #1475 |
Are you running the 2020.06 release and assets with this tutorial? |
The issue is that the bridge bridge does not run: About the release I am using the latest 2021. But the issue is regarding the Ros pkgs missing in the repo from tutorial. As I explained here #1475 @EricBoiseLGSVL Could you please provide me a tutorial to run Apollo 3.0 with SVL Simulator or LGSVL? I am using SVL because I can use Python API to define Agents and use the ROS bridge for the EGO vehicle simultaneously. The LGSVL does not have this functionality right? LGSVL pyhton API just offer integration with Python for EGO vehicle but does not work alongside the Bridge for the EGO vehicle right? |
Why are you on 06 release working with apollo 3.0? This is a fairly old tutorial. |
Because SVL provides PYTHON API to work alongside the Bridge, therefore I can define the AGENTS of the Environment with Python and afterwards I can use the Apollo Bridge to send planners cmd for the EGO vehicle control. In LGSVL is one (BRIDGE) Or another (API ONLY) . I do not have option to use both simulateneously right? |
Ah I see. Yes you should be able to use python and apollo. You set the bridge in the python script. |
Yes you got the point. What I mean is maybe better to explain visually: For example in LGSVL we can have integration with Python and simulator just running Python Scripts with a chosen code editor. After run the python scripts the simulator opens with the Agents that you defined there. However the EGO vehicle will move in this scenario, following the commands we sent to the EGO vehicle in Python script (move x, turn theta degrees, etc). This is not what I wish! In a summarize @EricBoiseLGSVL SVL has 2 options: To have my car controlled by the bridge and launch files I need the PythonAPI application interface. Which is just provided by SVL, not LGSVL. Or not? |
Why do you need the pythonapi interface? ApiOnly can do the same thing. Set the autopilot host and port. DV. apis can be accessed there unless I am missing something @hadiTab @lemketron |
Hummm I was imagining that the PythonApi didn't let me control the EGO VEHICLE through the AD stacks Bridge (autopilot). I thought it blocked the interface with the bridges due the port connection be already busy (9090) by API Only application, therefore when the bridge tries to communicate using this port, the connection would be refused. |
PythonAPI is bugged at the moment. I would use ApiOnly. @lemketron @hadiTab |
Ok good to know. Thanks! |
Hello:
I have implemented the communication among Apollo3.0 , Python API and Dreamview API, but could not run a simulation with a json scenario created by VSE.
thanks.
The text was updated successfully, but these errors were encountered: