Skip to content

About

Estimates robot pose by fusing detections from multiple ArUco markers using a ROS2 node.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

multi_marker_robot_pose_estimation

Overview

This repository provides the multi_marker_robot_pose_estimation package, which can be used to estimate the robot pose based on a multiple ArUco markers.

Authors: Jasper van Brakel, Wouter Caarls, Nithish Kumar (SAM XL)

Maintainers: Wouter Caarls, W.Caarls@tudelft.nl

This package hase been developed and tested under ROS2 Jazzy and Ubuntu 24.04 (Noble).

Installation

Building

To build from source, clone the latest version from this repository into your workspace:

cd ros_ws/src
git clone https://github.com/sam-xl/multi_marker_robot_pose_estimation.git

Use vcstool to clone other project packages and complete the project workspace:

cd ros_ws/src
vcs import < multi_marker_robot_pose_estimation/.repos

Install the dependencies of the cloned packages using rosdep:

cd ros_ws/src
rosdep install --from-paths . --ignore-src -y

Finally, build all packages in the workspace:

colcon build

Usage

To run the pose_estimator node run the following command

ros2 run multi_marker_robot_pose_estimation pose_estimator

To run the mm_pose_estimator node run the following command

ros2 run multi_marker_robot_pose_estimation mm_pose_estimator --ros-args -r image:=/camera/camera/color/image_raw -r camera_info:=/camera/camera/color/camera_info -p tf_frame_id:=base_link_estimated

Nodes

pose_estimator

Provides a service to estimate the pose based on a single specified ArUco marker.

Subscribed Topics

Services

mm_pose_estimator

Provides robot pose estimation based on all available aruco marker reference TFs. All TF frames ending in aruco_ref_XXX are used, with XXX being the ArUco marker ID. The node can publish the pose of any frame connected to the camera (default base_link) in any frame connected to the aruco markers (default world). It can optionally publish this pose as a TF under a chosen name.

Subscribed Topics

Published Topics

Parameters

  • marker_size (double)
    Size of the markers in meters. Defaults to 0.2.

  • aruco_dictionary_id (string)
    Dictionary that was used to generate markers. Defaults to DICT_ARUCO_MIP_36h12

  • world_frame_id (string)
    Frame in which to publish pose. Defaults to world. All aruco marker reference positions must be convertible to this frame.

  • base_frame_id (string)
    Frame of which to publish pose. Defaults to base_link. The detected camera pose is converted to this frame.

  • tf_frame_id (string)
    Frame as which to publish TF. If empty, no TF is published. This is useful if another node is already publishing the actual world->base_frame_id transformation.

  • tf_alpha (double)
    Parameter of EMA filter for TF broadcaster. Defaults to 0.85. This increases accuracy by averaging over multiple frames, provided that the robot is stationary.

  • fps (double)
    Maximum frames per second to process. Defaults to 5.

  • debug (bool)
    Publish ~/debug_image to debug pose estimation.

Bugs & Feature Requests

Please report bugs and request features using the Issue Tracker.

About

Estimates robot pose by fusing detections from multiple ArUco markers using a ROS2 node.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages