Coder Social home page Coder Social logo

Comments (8)

mitchellspryn avatar mitchellspryn commented on September 22, 2024

I do seem to recall seeing this error when using the steering wheel.

@shrimalmadhur : did we ever get a fix for this?

@mnpica : Does this happen with the builds in the AirSim repo? Also, which tutorial are you doing? I don't think we've written one yet for Hawaii.

from autonomousdrivingcookbook.

mnpica avatar mnpica commented on September 22, 2024

This problem doesn't happen in those five environments.
After I finished the "Autonomous Driving using End-to-End Deep Learning: an AirSim tutorial", I want to collect data manually because I don't know how to clone the car behavior.
I can't go backwards with xbox controller in 'Neighbourhood' .There are some cars and shadows on the road making lots of collisions, and so does 'Mountain Landscape.'
I decided to collect data in 'Hawaii' with keyboard. The trained model isn't very well cause the steering angle was -1 ,0 ,or 1 only.
I would appreciate it if you have any advice for me.

from autonomousdrivingcookbook.

mitchellspryn avatar mitchellspryn commented on September 22, 2024

I'm still a bit unclear; what do you mean by "clone the car behavior?"

If you are trying to train a new end-to-end model for the Hawaii environment by manually collecting data, then you should be OK using the official airsim binary. Just record your driving using the record button, and drive around for a few hours. Then, you should be able to use the code in the tutorial to train the end to end model on that dataset, and then test it in the Hawaii environment.

from autonomousdrivingcookbook.

mnpica avatar mnpica commented on September 22, 2024

I've already collected data manually by using record button. The steering angle is -1 ,0 or 1 if I use keyboard for input. So I want to know how to setting the xbox controller or steering wheel.
2.
The tutorials seem to have two well-trained models to collect data from API. I thought the "behavior cloning" is that let the computer automatically generate data. I'm new to this , so I can't do it by now.

from autonomousdrivingcookbook.

mitchellspryn avatar mitchellspryn commented on September 22, 2024

Collecting with the keyboard will give you only 1,0,-1 labels because a key is only down or up. If you use the controller or the steering wheel, you will get continuous values. You may look into using something like x360ce if it doesn't work out of the box.

I do not understand what you are saying with the second point. The E2E tutorial trains a model based on the data provided. There is no "generation" of data. If you change the data, you will get a different model. I'm suggesting that you might have success by changing the dataset from ours (which was collected on the Mountain environment) with a dataset collected from the Hawaii environment.

from autonomousdrivingcookbook.

mnpica avatar mnpica commented on September 22, 2024

Thanks for advise.
I'll working on x360ce with Hawaii environment to check whether there is same problem or not.
If there is a fix for this environment with steering wheel or xbox controller, please let me know. Thank you!

from autonomousdrivingcookbook.

mitchellspryn avatar mitchellspryn commented on September 22, 2024

@mnpica : Does this work with the official builds downloaded from the airsim repo?

from autonomousdrivingcookbook.

mitchellspryn avatar mitchellspryn commented on September 22, 2024

Closing due to inactivity.

from autonomousdrivingcookbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.