Git Product home page Git Product logo

matlab-carla-interface's People

Contributors

darkscyla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

matlab-carla-interface's Issues

IMU

Hello, give advice on how to write IMU.m in which we could receive data from the accelerometer, gyroscope and compass. I tried data = np.frombuffer(_image.accelerometer , dtype="float")\n'); , but Matlab gives TypeError: a bytes-like object is required, not 'float'

Unable to resolve client class:If not in the active function, the number of named parameters cannot be returned

Hi there,

I found your work very interesting and I appreciate the efforts in open-sourcing the codes. But I'm having trouble use python from MATLAB itself on my Windows machine. I followed the instructions (Writing your first MATLAB script for Carla using the Python interface), but I keep getting an error message when i Getting to step 3 ( client.set_timeout(2.0);). The client class is successfully created in the workspace, but cannot be used further. Here's the error message I'm seeing:

Error using py.carla.libcarla.Client/set_timeout
If not in the active function, the number of named parameters cannot be returned.

But I can actually run the third demo you provided (Getting sensors data in Simulink), and i have the same problem run the first demo. I've tried searching for a solution online, but haven't been able to find anything that works. Can anyone help me troubleshoot this issue? Thank you.

My Software Version:

  • Matlab version: R2021b
    `
    PythonEnvironment - :

        Version: "3.7"
     Executable: "D:\Anaconda\envs\carla013\python.exe"
        Library: "D:\Anaconda\envs\carla013\python37.dll"
           Home: "D:\Anaconda\envs\carla013"
         Status: NotLoaded
        ExecutionMode: InProcess`
    
  • Carla version: 0.9.13

The implementation of senFunc

Hi, @darkscyla , thank you for the code!
I am trying to reuse the CarlaDataAcquisition.m, however, senFunc seems not exist.
Could you tell me how to implement senFunc.getData function?

I read carla documentation and it seems there's only listen function to get Image data.
However, listen takes a lambda as argument and I don't know how to use Python lambda in Matlab.

Matlab Crash after Simulation

I tried your Code and it works great.
However, after the Simulation Matlab crashes.
I tried it in 2 different configurations and got the same problem twice.

  • config 1: Carla 0.9.11, Matlab 2018b, Python 3.6
  • config 2: Carla 0.9.13, Matlab 2021b, Python 3.8

Do you maybe have some kind of idea why this is happening and how to solve the problem?!

Attribute Error - ss_rgb

Hi, Farid here. I'm new here and new to Carla too. I just installed it but I'm facing error "Python error: AttributeError: module 'ss_rgb' has no attribute 'array' ". Please refer to attach screenshot of those error.

I couldnt find where was the problem and appreciate for your help on this. Thank you very much.

Error

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.