Skip to content
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

Reading the data live from CARLA Server #5

Open
werewolfdev opened this issue Nov 22, 2021 · 4 comments
Open

Reading the data live from CARLA Server #5

werewolfdev opened this issue Nov 22, 2021 · 4 comments

Comments

@werewolfdev
Copy link

Hi @MrMushroom I am trying to retrieve data live still and not successful. The latest versions of CARLA provides record argument with scenario runner to record the frame into a log file in binary string format and then extract the relevant data using metrics manager module. However I would like to send this data as and when we receive it from Server . The data we receive from server will be in binary string format if Iam not wrong. SO basic idea which Iam thinking is to receive the binary string data from Server for each frame convert it to get usable info and send to the ADTF side. But Iam not able to implement this idea and any insights from your side will be really helpful. Thanks a lot in advance.

@MrMushroom
Copy link
Owner

Hi!
I am not familiar with the ScenarioRunner module! I only followed its early development, as it was ongoing in parallel to my work. I also had a telco with the Carla guys and gave them some recommendations, including my code. Put simply, they are just more people, then me back then as a sole masters student ...

So I cannot answer specifics of the scenario runner. Also I'm still only using the Carla Python API. In this case, I can just say that basically for the API every vehicle/pedestrian/etc. is an actor. And from the actor you can get location via get_location.

HTH!

@werewolfdev
Copy link
Author

werewolfdev commented Nov 22, 2021 via email

@MrMushroom
Copy link
Owner

Ah okay, yea, if its also python based, then you can do that in parallel ... syncing might be an issue, but that should be solvable!

@werewolfdev
Copy link
Author

werewolfdev commented Nov 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants