Giter Club home page Giter Club logo

Comments (8)

mjxu96 avatar mjxu96 commented on July 16, 2024

Hi, if you want to convert any data format to XVIZ format and visualize them in the browser, you might find following links usable.

  1. [Official repo of XVIZ protocol and its js/python implementation] https://github.com/uber/xviz
  2. [My cpp implementation of XVIZ] https://github.com/wx9698/xviz

from carlaviz.

GwangRyul avatar GwangRyul commented on July 16, 2024

Thank you for your reply.
The ultimate goal is to customize the carlaviz-proxy code to match the sensor data of the vehicle.
In the process, I would like to ask a few questions to confirm the compatibility of our data.

  1. I would like to know the code that stores the object of raw data of several types of sensors in the carla-simulator. I would like to modify the format of the sensor data to match the ros message topic.
  2. When exchanging sensor data from carla-simulator(world) through server, I would like to know the code that generates sensor data for objects and structures type, not pointer or reference.
    "According to our research on ""Radar data"", the following is the result."

backend/src/backend/proxy/carla_proxy.cpp
backend/third_party/LibCarla/source/carla/sensor/s11n/RadarDat
backend/third_party/LibCarla/source/carla/sensor/s11n/SensorHeaderSerializer

from carlaviz.

mjxu96 avatar mjxu96 commented on July 16, 2024

Hi,

It seems that all related codes are in the Carla's cpp library and I just copy their codes to this repo. You might need to ask Carla team about this

from carlaviz.

GwangRyul avatar GwangRyul commented on July 16, 2024

Thank you
We've looked at 'XVIZ' before.
We found it difficult to show data about real-time autonomous driving. So I found 'caraviz' while I was looking for a UI suitable for autonomous'. I wonder if carla-simulator can be replaced by real-time self-driving in caraviz.

from carlaviz.

mjxu96 avatar mjxu96 commented on July 16, 2024

Yes, of course. CarlaViz just accepts real time carla data, packages them and sends them to the frontend.

from carlaviz.

GwangRyul avatar GwangRyul commented on July 16, 2024

I'm sorry. I think I communicated the meaning wrongly.
Is it possible to remove the 'carla-simulator' from the 'carlaviz' and receive the 'ros topic' in real time and send them to the fronted?

from carlaviz.

mjxu96 avatar mjxu96 commented on July 16, 2024

Yes, but you need to change a lot of codes in CarlaViz to meet your needs. CarlaViz acts like a "convertor" which converts the data in Carla's format to XVIZ format. If you change the part which accepts Carla data to something accepting ROS data, you can then visualize your ROS data.

You can also use the libraries I mentioned above to convert any types of data to XVIZ data.

The frontend of CarlaViz can accept any data in the XVIZ protocol and visualize them.

from carlaviz.

GwangRyul avatar GwangRyul commented on July 16, 2024

Thank you for solving what I want to know!

from carlaviz.

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.