Git Product home page Git Product logo

cartographer_utils's Introduction

cartographer_utils

A set of utilities for ROS 2 cartographer package.

Installation

rosdep install --from-paths src --ignore-src -y
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=On --packages-up-to cartographer_utils

Pose Twist Fusion

A node for fusing pose and twist data from different sources. It may be useful for localization pipelines, where odometry topic type is required, since cartographer ROS 2 API provides only pose topic as an output.

Usage

ros2 launch cartographer_initializer cartographer_initializer.launch.py configuration_directory:=/path/to/dir configuration_basename:=filename.lua

API

Input

Name Type Description
pose geometry_msgs::msg::PoseStamped Input pose topic.
pose_with_covariance geometry_msgs::msg::PoseWithCovarianceStamped Input pose with covariance topic.
twist geometry_msgs::msg::TwistStamped Input twist topic.
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped Input twist with covariance topic.

Output

Name Type Description
odometry nav_msgs::msg::Odometry Output odometry topic.

Parameters

Name Type Description
odom_rate double Output odometry rate.
frame_id str Output odometry frame id.
child_frame_id str Output odometry child frame id.
pose.is_with_cov bool Wheter input pose topic is WithCovariance msg type.
pose.override_cov bool Wheter to override input pose topic covariance (if contains).
pose.cov list[36] Covariance matrix for output pose of odometry topic.
twist.is_with_cov bool Wheter input twist topic is WithCovariance msg type.
twist.override_cov bool Wheter to override input twist topic covariance (if contains).
twist.cov list[36] Covariance matrix for output twist of odometry topic.

Pose Initializer

A node for setting up vehicle ego pose via /initialpose (rviz tool) topic using cartographer ROS 2 API.

Usage

ros2 launch cartographer_utils pose_initializer.launch.py configuration_directory:=/path/to/dir configuration_basename:=filename.lua

API

Input

Name Type Description
/initialpose geometry_msgs::msg::PoseWithCovarianceStamped Requested vehicle ego pose from rviz tool.

Output

Name Type Description
get_trajectory_states cartographer_ros_msgs::srv::GetTrajectoryStates Service to get trajectory states from cartographer.
finish_trajectory cartographer_ros_msgs::srv::FinishTrajectory Service to finish cartographer's trajectory.
start_trajectory cartographer_ros_msgs::srv::StartTrajectory Service to start cartographer's trajectory.

Parameters

Name Type Description
configuration_directory str Path to lua config directory.
configuration_basename str File name of lua config.

References / External links

cartographer_utils's People

Contributors

amadeuszsz avatar

Watchers

 avatar

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.