-
Notifications
You must be signed in to change notification settings - Fork 562
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
Steering angle values have not been completely recorded. #27
Comments
What are you using to control the car? If you're using the keyboard to drive, then there will only be -1, 0, 1 steering angles, as a key is only ever up or down. We used this steering wheel when generating data. You can also use an xbox controller as input, and you will get continuous steering angles if you map the steering controls to one of the sticks. |
@mitchellspryn Thanks for the reminder! Yes I used keyboard to drive. I tried the Logitech G29 steering wheel before, but it could not use on Airsim. Which is another unsolved issue, haha. |
Are you using x360ce to map the inputs to xbox controller inputs? We had to do that. |
@mitchellspryn Yes, I tried x360ce to map the inputs, but it still could not work. |
Did you put the x360ce exe in the same directory as the AirSim binary? I
think I recall having to do that.
…On Sat, Apr 7, 2018, 7:21 AM BrianN92 ***@***.***> wrote:
@mitchellspryn <https://github.com/mitchellspryn> Yes, I tried x360ce to
map the inputs, but it still could not work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATWPw7M-b8CNptID3927FdOSutW3e3_iks5tmMt4gaJpZM4TEUYM>
.
|
Yes, I did as you said. It did not work. |
@mitchellspryn I bought the steering wheel you mentioned above. It did not work. Every time I connect the steering wheel with Airsim, the vehicle keep turning left with the "steering value: -1.25". The "Accel" value was 0.5 all the time. I cannot use the wheel to control car's direction, but I can do it by pushing the braking panels. Besides, there was no values of "steering', "throttle" or "break" inside the "rec.txt" file. It was so weird, so could you tell me how did you use this steering wheels to control the car? Thank you! I did put the x360ce exe in the same directory as the AirSim binary. |
Hm. Are you using the binary that we provided, or the one from the AirSim page? The version we've tested with is a few iterations behind, and doesn't have that code... |
Actually, I tried both. They had the same problems. I added "PhysXCar" : { |
Wait. What? Adding that json to the powershell script should either do nothing or cause a syntax error. You need to put the x360ce in the same directory as the binary that is running. I think that would be $/AD_Cookbook_AirSim/JustAssets/Binaries/Win64, not the root directory. Also, make sure that when you push buttons on the steering wheel, the corresponding buttons light up in the x360ce GUI. |
Fixed!! I deleted that json and put the x360ce in the correct directory. Now I can use the steering wheel to control the car! Thank you so much! I could have a good sleep now. |
I tried to run this Autonomous driving cookbook on other maps like the neighborhood. However, the steering angle values in " airsim_rec.txt" only have three values: -1, 0, and 1. I have attached one file below.
airsim_rec.txt
Don't know how to deal with it. Has anyone ever met this issue? Thank you!
The text was updated successfully, but these errors were encountered: