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

Update readme #17

Open
MaxJohnsen opened this issue Nov 20, 2018 · 12 comments
Open

Update readme #17

MaxJohnsen opened this issue Nov 20, 2018 · 12 comments

Comments

@MaxJohnsen
Copy link
Owner

README.md is not updated with the latest changes from the model driver repository.

@MaxJohnsen
Copy link
Owner Author

The driving log image also needs to be updated.

@morningsky
Copy link

@MaxJohnsen So the latest version can runs on which version of carla? 0.9.x?

@MaxJohnsen
Copy link
Owner Author

Hi, this repository only works for Carla 0.8.*.

For 0.9.5, we use this repository: https://github.com/MaxJohnsen/carla

It is, however, not appropriately documented - so it may be hard to navigate in the code. It is mainly used to capture data and to test the models we have trained. Anything specific you are trying to achieve?

@MaxJohnsen
Copy link
Owner Author

See https://github.com/MaxJohnsen/carla/tree/master/PythonAPI/custom for the custom code we have written.

@morningsky
Copy link

@MaxJohnsen Thanks very much. I want to capture data on my agent. But I don't know how to write the custom control rule to control the my agent. So I want to learnt it on your code. Thanks! And I have a question about what's the driving rule of the car when it runs on 'autopilot' mode? I know you are familiar about Carla, maybe you can help me... Thanks!

@MaxJohnsen
Copy link
Owner Author

I am happy to help. Just tell me if there is something about the code that is unclear. Carla currently have two separated autopilots:

When the server autopilot is active, the carla server (i.e, the c++ code) controls the hero vehicle, and overrides any control commands sent to the server. When you spawn other (non-player) vehicles in carla, they are all controlled by this server autopilot. Currently, you cannot control this autopilot in any way. It will determine it's route randomly realtime.

With the latest carla versions, the developer introduced a client autopilot written in Python. This autopilot receives information about the world from the server, and calculates a control signal based on a a route calculated by a A* algorithm (given a start and destination waypoint). You can customize this autopilot to fit your need, but be aware that the autopilot is not complete, and doesn't work as good as the server autopilot in all situations. The most important thing is that you set a fixed FPS for the server, so that the client are able to calculate control signals with the required frequency for stable driving.

Maybe we should move this dialog to email instead? My email is [email protected].

@morningsky
Copy link

@MaxJohnsen Thank you! I have already contacted you by email.

@ImtiazUlHassan
Copy link

I am happy to help. Just tell me if there is something about the code that is unclear. Carla currently have two separated autopilots:

When the server autopilot is active, the carla server (i.e, the c++ code) controls the hero vehicle, and overrides any control commands sent to the server. When you spawn other (non-player) vehicles in carla, they are all controlled by this server autopilot. Currently, you cannot control this autopilot in any way. It will determine it's route randomly realtime.

With the latest carla versions, the developer introduced a client autopilot written in Python. This autopilot receives information about the world from the server, and calculates a control signal based on a a route calculated by a A* algorithm (given a start and destination waypoint). You can customize this autopilot to fit your need, but be aware that the autopilot is not complete, and doesn't work as good as the server autopilot in all situations. The most important thing is that you set a fixed FPS for the server, so that the client are able to calculate control signals with the required frequency for stable driving.

Maybe we should move this dialog to email instead? My email is [email protected].

Hello do you have updated it for 0.9.11 0r 0.9.10 ?

@abdeslem2019
Copy link

@MaxJohnsen Can i ask you some questions about the code?

@MaxJohnsen
Copy link
Owner Author

@MaxJohnsen Can i ask you some questions about the code?

Of course!

@abdeslem2019
Copy link

can i have your email?

@MaxJohnsen
Copy link
Owner Author

can i have your email?

[email protected]

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

4 participants