Git Product home page Git Product logo

vision_msgs_rviz_plugins's Introduction

vision_msgs_rviz_plugins

This repo contains a RVIZ2 plugin to display vision_msgs for ROS 2 humble.

  • Detection3DArray
    • Display ObjectHypothesisWithPose/score
    • Change color based on ObjectHypothesisWithPose/id [car: orange, person: blue, cyclist: yellow, motorcycle: purple, other: grey]
    • Visualization propperties
      • Alpha
      • Line or Box
      • Linewidth
      • Change color map based on provided yaml file
  • Detection3D
    • Display ObjectHypothesisWithPose/score
    • Change color based on ObjectHypothesisWithPose/id [car: orange, person: blue, cyclist: yellow, motorcycle: purple, other: grey]
    • Visualization propperties
      • Alpha
      • Line or Box
      • Linewidth
      • Change color map based on provided yaml file
  • BoundingBox3D
    • Alpha
    • Line or Box
      Since no header in vision_msgs/BonudingBox visualizations uses rviz fixed frame for tf transformation
    • Linewidth
  • BoundingBox3DArray
    • Alpha
    • Line or Box
    • Linewidth

Bounding Box Array

Install and Testing

Install:

  1. Via apt:
sudo apt update && sudo apt install ros-$ROS_DISTRO-vision-msgs-rviz-plugins
  1. From source:
$ cd ros2_ws/src && git clone https://github.com/NovoG93/vision_msgs_rviz_plugins -b humble
$ cd ros2_ws && rosdep install --from src --ignore-src -r -y \
  && colcon build --symlink-install --packages-select vision_msgs_rviz_plugins

Testing:

$ ros2 launch vision_msgs_rviz_plugins test_all.launch.py 

vision_msgs_rviz_plugins's People

Contributors

dependabot[bot] avatar novog93 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

Watchers

 avatar

vision_msgs_rviz_plugins's Issues

Old markers persist in detection3DArray marker view.

Thanks for this plugin.

Tested this out on a node and the detection visualisations work fine with edges only view, however on the marker view I get boxes that persist for quite some time, I'm guessing these are with ID's that don't get replaced with the same ID. Since these are detections and if users try to set the ID to the class of detections I think the old markers need to me cleared before publishing new ones? I'd written a node previously for this issue: it would publish a remove marker before any other markers.

I've tried adding

m_marker_common->clearMarkers();
// also
m_marker_common->deleteAllMarkers();

below but doesn't seem to help.

ostream has no member named 'str'

Hi, thank you for your package.

I'm getting a build error in my ROS2 Humble container. There are 3 of the same error in different places. I'm only showing one for brevity.

vision_msgs_rviz_plugins/include/vision_msgs_rviz_plugins/detection_3d_common.hpp:441:98: error: ‘std::basic_ostream<char>::__ostream_type’ {aka ‘class std::basic_ostream<char>’} has no member named ‘str’
  441 |             marker->text = (std::ostringstream{} << std::fixed << std::setprecision(2) << score).str();

Any help would be greatly appreciated.

Correct way to install this

What is the correct way to install this plugin?

I have cloned the repo into my workspace and ran colcon build.

ros2 run vision_msgs_rviz_plugins Detection3DArray.py

produces no output. I must have done something wrong.

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.