Comments (12)
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.
from autonomousdrivingcookbook.
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.
from autonomousdrivingcookbook.
@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.
from autonomousdrivingcookbook.
Are you using x360ce to map the inputs to xbox controller inputs? We had to do that.
from autonomousdrivingcookbook.
@mitchellspryn Yes, I tried x360ce to map the inputs, but it still could not work.
from autonomousdrivingcookbook.
from autonomousdrivingcookbook.
Yes, I did as you said. It did not work.
from autonomousdrivingcookbook.
@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.
from autonomousdrivingcookbook.
I found this code in CarPawn.cpp. Seams like it is related to my problems
from autonomousdrivingcookbook.
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...
from autonomousdrivingcookbook.
Actually, I tried both. They had the same problems. I added "PhysXCar" : {
"RC": {
"RemoteControlID": 0
}
} to "AD_Cookbook_Start_AirSim"file and put the x360ce exe in the "AD_Cookbook_AirSim" folder.
from autonomousdrivingcookbook.
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.
from autonomousdrivingcookbook.
Related Issues (20)
- Received an empty batch. Batches should at least contain one item.
- Gear attribute in airsim_rec.txt
- Train Model Keras Issue HOT 1
- no Cooking HOT 2
- ValueError: cannot reshape array of size 1 into shape (0,0,4) HOT 1
- Fails to create test.h5 and eval.h5 in DataExplorationAndPreparation HOT 2
- Modifications for throttle prediciton
- Getting IndexError: list index out of range while running TrainModel.ipynb ([in 5]). HOT 2
- When sending the steering angle to Carclient ,should the predition angle multiply 0.69 ? HOT 1
- JSONDecodeError HOT 1
- Mr. Spryn! How can I change the Generator.py and Cooking.py to store the images in the batches in the same order as they are in the folders and then entered into the model for train?
- Kaggle AirSim End-to-End Learning to share HOT 1
- File not found error
- Help! training not starting! #urgent HOT 6
- AirsimE2EDeepLearning code seems to change the tone of my image data HOT 2
- Dataset link does not work HOT 5
- This repo is missing important files HOT 1
- AD_Cookbook_AirSim.7z download link do not work! help! HOT 3
- Do not suit for uav
- Lane Following and Collision Avoidance for Self-Driving Cars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autonomousdrivingcookbook.