Giter Site home page Giter Site logo

Comments (4)

v-lopez avatar v-lopez commented on September 25, 2024

We actually had some issues with TIAGo and markers that were 8x8cm, and switched to 16x16cm and then it worked perfectly. Ubuntu 16.04, Kinetic and Gazebo 7.12.

Could you post an image of the aruco debug topic?

from aruco_ros.

GuillaumeHauss avatar GuillaumeHauss commented on September 25, 2024

Hi @v-lopez,

I'm using 5-bits Aruco markers, generated by another ROS package. As I want to see them from really far away (15m), they are huge: 30cm wide.

I'm home now, but I'll post a screen shot of the debug topic first thing tomorrow. From what I saw, markers are perfectly visible in it

from aruco_ros.

GuillaumeHauss avatar GuillaumeHauss commented on September 25, 2024

As promised, here is a screenshot of the debug topic (left) and the input image from gazebo (right), both visualized using Rviz
image

I echoed the topic /markers too, to make sure it wasn't a display error, and it's empty.
As you can see, thresholding is really efficient, and markers should be detected.
I tried to mess around with pixel format from Gazebo and openCV, but ultimately, only one combination works:

  • L8 in the Gazebo ROS plugin
  • RGB8 in the ROS node when reading the sensor_msgs::Image (which is weird because it doesn't match the format of the image generated by Gazebo...)
  • RGB8 again in the publishing of the result image (which is not weird as axes are meant to be displayed in color)
  • MONO8 in the publishing of the debug image (which is not weird at all as it's only black and white pixels)

I have a monocamera on the car, so I must test the algorithm with grayscale images by the way

from aruco_ros.

GuillaumeHauss avatar GuillaumeHauss commented on September 25, 2024

Hi,

I found the issue, well my mistake to be correct. I changed the pixel format to RBG8 in the capture of the Image at the beginning of the ROS callback, and somehow that was responsible for the the detector being absolutely inefficient.
I changed it back to MONO8 and now it works fine. However, one nice-to-have feature would be a detection of such misalignment in format between Gazebo and ROS :)
I'll open another issue to know how I can modify the marker identification function to detect N-bits marker. I've tried to changed the wrapper function but this led to some crappy compilation error :/

I'll close this issue now!
have a nice day

from aruco_ros.

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.