Code Monkey home page Code Monkey logo

Comments (8)

nsubiron avatar nsubiron commented on May 20, 2024

Yes, you are right, there is a bug in the current Python implementation. We will fix it asap. Sorry about this

from carla.

Tak-Au avatar Tak-Au commented on May 20, 2024

Is there anything i can help to solve this problem?

from carla.

nsubiron avatar nsubiron commented on May 20, 2024

Hey, thanks for offering! At the moment we are discussing how to fix this, so not much you can help, but it's appreciated :) we'll come with a solution soon

from carla.

Tak-Au avatar Tak-Au commented on May 20, 2024

I edited the carla_manual_control.py to allow for image and data recording. I am currently after imitation learning. My goal is for be able to interface with Keras model to allow for the model to drive the car.

from carla.

naveen7v avatar naveen7v commented on May 20, 2024

@nsubiron I am unable to save the images too... what is the work-around to get the images ...

Thank you

from carla.

nsubiron avatar nsubiron commented on May 20, 2024

Hi @naveen7v,

You can check the client_example.py to see how is done. You can save the images there by running with the -i switch

$ ./client_example.py -i

Internally, the images received from the simulator have a member function to save the image as png

measurements, sensor_data = client.read_data()

for name, measurement in sensor_data.items():
    measurement.save_to_disk('filename.png')

from carla.

naveen7v avatar naveen7v commented on May 20, 2024

@nsubiron

Dear sir...the client_example.py is as you say and i ran it with the -i switch,
but the client.read_data() returns a empty sensor_data dict... but measurements are there

I just have rgb camera sensor enabled...is it a problem in my side?

Edit:

When i ran the carla server using the build from source method ...the sensor data are saved to disk

Thank you

from carla.

vnmr avatar vnmr commented on May 20, 2024

here

from carla.

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.