Git Product home page Git Product logo

Comments (5)

janpaul123 avatar janpaul123 commented on June 20, 2024

Yeah, documentation for development is super lacking at this point. I at least added a bit more info for how to run in #160. But if you want to just use the tool itself with your ROS bags (and don't care about development) you can just use https://webviz.io/try/ and drag in your bags.

from webviz.

asimay avatar asimay commented on June 20, 2024

hi, @janpaul123 , I did as you said, I dragged the bagfile into webviz, but why the camera image cannot show out? I checked the message type is right. is this caused by network issue? we know the images are too large.

image

from webviz.

asimay avatar asimay commented on June 20, 2024

and we don't have internet on host-machine, it is setup on car, so how to deploy your tools on our server?

from webviz.

jtbandes avatar jtbandes commented on June 20, 2024

Hi @asimay,

  • For your camera image — the Image panel currently doesn't support the mono8 encoding. The supported sensor_msgs/Image encodings are here (note that we also allow sensor_msgs/CompressedImage):

    case "yuv422": decodeYUV(rawData, width, height, image.data); break;
    case "bgr8": decodeBGR(rawData, width, height, image.data); break;
    case "32FC1": decodeFloat1c(rawData, width, height, image.data); break;
    case "bayer_rggb8": decodeRGGB(rawData, width, height, image.data); break;
    (And we're going to add the other bayer_*8 variants very soon.) If you're interested in contributing to Webviz, we would welcome a PR to add support for mono8! Otherwise, we'll take note of this feature request, and we can definitely add a better error message in the Image panel so the problem is more obvious 😉

  • For deploying Webviz, currently the best option is npm run build as documented in the readme. That will compile the package with webpack, so it can be run with node. It would be possible to, for example, create a Node.js Docker image that runs the server. Alternatively, the JS bundle could be loaded from a static HTML page, served with any simple web server. (That's exactly what this index.html file is, which is used for https://webviz.io/try. The webpack dev server is configured to serve it here.) Feel free to file a new issue if you get stuck with this.

from webviz.

jtbandes avatar jtbandes commented on June 20, 2024

@asimay mono8 and mono16 encodings are supported now as of #174. Give it a try!

Going to close this issue now as we've updated the documentation a little bit and provided some more deployment info. Feel free to open a new issue if you have a specific question or problem with getting it to run.

from webviz.

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.