-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
How to run on PC / Desktop #38
Comments
Yes, you need to run them parallely in 3 seperate terminals. |
Thanks Mankaran. One more thing.. This is what i am getting when try to run . `(flowpilot) che7@che7-w30871:~/flowpilot$ ./CarlaUE4.sh -RenderOffScreen che7@che7-w30871:~/flowpilot$ ./launch_flowpilot.sh che7@che7-w30871:~/flowpilot$ python3 tools/sim/bridge.py ` |
(flowpilot) che7@che7-w30871:~/flowpilot$ ./CarlaUE4.sh -RenderOffScreen
4.26.2-0+++UE4+Release-4.26 522 0
Disabling core dumps.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only. Is Carla running properly? |
Not sure, doing it for the first time. |
You will have to make sure carla is running. If you remove the |
Could you please confirm this error. this is OK or, Not ? (flowpilot) che7@che7-w30871:~/flowpilot$ python scripts/dummy_params.py |
I think you compiled (ran |
Got it, thanks Mankaran. |
MankaranSingh - We tried the steps but that did not work for us. Attaching a screenRecording of what we did. Could tell us what was the issue ? jFYI ... Prithiveen from our team tried the steps. Untitled.1.mp4 |
@SrinivasuluCharupally Can you share the output of following command. file tmp.avi |
@RaghavPrabhakar66 |
@MankaranSingh @RaghavPrabhakar66 flowpilot_app_journey.mp4 |
I'd recommed you clean the build using |
@MankaranSingh , @RaghavPrabhakar66 - Could we have short call some time next week to look into the issues ? |
@MankaranSingh @RaghavPrabhakar66 |
@PrithiveenKumaarRamkumar @SrinivasuluCharupally |
@SrinivasuluCharupally the issue is related to the carla-py package provided in this repo. you can try uninstalling that and do |
@MankaranSingh - the segfault occurs when try to import the carla from bridge.py script Steps:
===> this seg fault occur from the line |
BTW - We tried the above steps with |
I also encountered the same problem. Have you solved the problem? If it is resolved, I would like to ask for advice on a solution
I also encountered the same problem. Have you solved the problem? If it is resolved, I would like to ask for advice on a solution |
You can try installing carla like this carla-simulator/carla#1466 (comment) |
@MankaranSingh - could you confirm these steps are correct for each terminal. We are running every thing from the Terminal#1
Terminal#2
Terminal#3
|
Your steps are correct. you just need a working carla-python api. Please check this out carla-simulator/carla#1466 (comment) |
This method won't work |
@MankaranSingh However, activating the flowpilot environment The Carla build documentation https://carla.readthedocs.io/en/latest/build_linux/ and discussions carla-simulator/carla#4519 says that the PythonAPI is supported till python3.8. I am now able to import carla successfully in python3.7 and python3.8 Using python3.8 I was able to generate the build using
|
@PrithiveenKumaarRamkumar for MultiplePublishersError, you'd need to comment out the |
@MankaranSingh Now we are able to run Carla, launch the flowpilot app and run bridge.py from the python3.8 environment but we are not able to "take control of the wheel" in the flowpilot app. Are we missing something here? |
https://github.com/flowdriveai/flowpilot/wiki/Running-On-Simulation see the last step. The input keys would be taken in the |
@MankaranSingh - We are able to control the Carla output with 1, 2 and W-A-D keys. |
@MankaranSingh - could you guide us on this ? |
The video can be specified in |
@MankaranSingh - do we have to launch all the three terminals with the "ROAD_CAMERA_SOURCE" enabled ? Traceback (most recent call last): |
ROAD_CAMERA_SOURCE needs to be disabled to accept stream from carla
simulation. do not run carla or or bridge.py if you want to run on video
…On Sun, Oct 1, 2023 at 2:06 PM Srinivasulu Charupally < ***@***.***> wrote:
@MankaranSingh <https://github.com/MankaranSingh> - do we have to launch
all the three terminals with the "ROAD_CAMERA_SOURCE" enabled ?
The reason is, we noticed following error with ROAD_CAMERA_SOURCE enabled
, you suggested to disable it /comment out.
Traceback (most recent call last):
File "tools/sim/bridge.py", line 28, in
pm = messaging.PubMaster(['roadCameraState', 'roadCameraBuffer',
'wideRoadCameraState',
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKHLNLGCXAN7HSIWLOSQWCLX5ETRHANCNFSM6AAAAAA2YQM3PE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @MankaranSingh - Sorry for the late repose, we were busy with other projects. script:Attaching our "launch_flowpilot.sh" script. steps:pipenv shell outputattaching screen shot |
Hi @MankaranSingh |
The default launchfile when you download it freshly is taking in video input only. you do not need to run bridge.py. |
Thanks @MankaranSingh |
This is an end to end driving model. this dosent outputs bounding boxes |
@MankaranSingh - I have downloaded a video from web, mp4 format, and tried to render the video under flowDrive, but seeing following error. You have any idea ? Video download link : https://www.pexels.com/video/cars-traveling-on-expressway-5382495/ |
convert video to avi format. |
@MankaranSingh - I tried but did not work. |
Hey @MankaranSingh
Is there any hardcoded path like If I comment out |
@piyushmz what is test.avi ? where are you placing it ? |
so I was testing with a downloaded mp4 file which I converted to avi and I placed the path in |
Hi,
I am trying to setup it on PC / Desktop, Intel CPU + Ubuntu 20.04.
I followed the install steps from here : https://github.com/flowdriveai/flowpilot/wiki/Installation#installing-on-desktop
Then I followed "Running on Simulator" steps from here : https://github.com/flowdriveai/flowpilot/wiki/Running-On-Simulation#following-steps-will-help-you-get-carla-simulation---flowpilot-integration-up-and-running
I got confused with these following two steps... Could you help to clarigy
This means, total 3 terminals do i need to launch, one for "./CarlaUE4.sh -RenderOffScreen", one for "./launch_flowpilot.sh" and one for "python tool/sim/bridge.py"
Is that correct ?
and, Do i need to have Camera or SmartPhone to run the application ?
The text was updated successfully, but these errors were encountered: