GithubHelp home page GithubHelp logo

jingxixu / lcsr_tf_tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jhu-lcsr/lcsr_tf_tools

0.0 1.0 0.0 39 KB

This package contains a bunch of utilities that have been created in the aim to fill some usability gaps in TF.

Makefile 0.11% Python 50.08% C++ 46.67% CMake 3.14%

lcsr_tf_tools's Introduction

LCSR TF Tools

This package contains a bunch of utilities that have been created in the aim to fill some usability gaps in TF.

Tools

Interactive Transform Publisher

This program creates a TF frame based off of an interactive marker which can be manipulated in RViz.

For example, to create an interactive tf frame, you can run this script, and then add an "Interactive Marker" display to an instance of RViz.

rosrun lcsr_tf_tools interactive_transform_publisher 0 0 0  0 0 0 /world /cmd_frame 10

Twist Frame Integrator

This script integrates geomatry_msgs/TwistStamped messages and broadcasts a TF frame of a given name.

Paramters:

  • ~frame_id
  • ~child_frame_id
  • ~linear_multiplier
  • ~angular_multiplier
  • ~broadcast_rate
  • ~body_fixed

Multi-Static Publisher

This node listens on a topic for static transforms to publish, and then re-publishes them as batch messages when it can do so. It will publish at the highest common period of the requested frames.

The publisher itself has no arguments, but instead it is controlled by running two other scripts:

  • set_multi_static.py
  • del_multi_static.py

This is a stop-gap until TF2's static transforms are better supported.

Usage:

set_multi_static.py [-h] [--node-name node_name] [-xyz x y z]
                           [-aa x y z t | -ypr yaw pitch roll | -quat qx qy qz qw]
                           frame_id child_frame_id period

Set frames being broadcast by a multi_static_transform_publisher

positional arguments:
  frame_id              The frame_id of the frame in which new new frame is
                        defined.
  child_frame_id        The frame_id of the new frame.
  period                Publish period in ms.

optional arguments:
  -h, --help            show this help message and exit
  --node-name node_name
                        The name of the multi publisher that should publish
                        this transform. Default is 'multi_tf_pub'
  -xyz x y z            Position in x, y, z)
  -aa x y z t           Orientation in axis/angle x, y, z, theta
  -ypr yaw pitch roll   Orientation in yaw, pitch, roll
  -quat qx qy qz qw     Orientation in quaternion

Usage:

del_multi_static.py [-h] [--node-name node_name]
                           frame_id [frame_id ...]

Delete frames being broadcast by a multi_static_transform_publisher

positional arguments:
  frame_id              The frame_ids of each frame to stop broadcasting.

optional arguments:
  -h, --help            show this help message and exit
  --node-name node_name
                        The name of the multi publisher that should publish
                        this transform. Default is 'multi_tf_pub'

lcsr_tf_tools's People

Contributors

jbohren 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.