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

Car Goes Crazy #38

Open
rollinsjw opened this issue Oct 11, 2017 · 3 comments
Open

Car Goes Crazy #38

rollinsjw opened this issue Oct 11, 2017 · 3 comments

Comments

@rollinsjw
Copy link

Hello!

I am currently working on a self driving car project with the drive-sdk!

Unfortunately, if the car leaves the track at all, it tends to go crazy (it seems to be searching for the track), would it be possible to change this/would could it be possible to get a hint as to where in the code this would be located?

I appreciate the help!

@rollinsjw
Copy link
Author

Also, there was a stack overflow (according to valgrind) occurring in vehicle_cmd.c: get_turn_type_by_name so I fixed it locally. Now the turn command no longer crashes the vehicle-tool. Let me know if you would like the fix :)

@BenDuan
Copy link

BenDuan commented Feb 19, 2018

Hello, I get the same trouble, How to solve this problem?

Thank you for the help!

@albertjc
Copy link

A work around is to note the car's outputs when it is off the track. I am working on this from Python so whenever it cannot detect a track piece, it throws a Key Error in a specific function of mine which checks for position, in which case I tell the car to stop moving as well as printing a message in the console.

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

3 participants