Giter Club home page Giter Club logo

ros-challenges's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

rhemarobotics

ros-challenges's Issues

Possible incorrect naming convention for ros static transforms

I'm a part of a research group studying how we can statically detect common errors in ros transforms. In executing our tool on public Github repositories, we noticed a possible naming convention error in several of your static transforms.

This error arises in these two transforms, first taken from Challenge 3/baxterchallenge/src/baxter_challenge/launch/baxter_world.launch [lines 58]:
<node pkg="tf" type="static_transform_publisher" name="base_to_world" args="0 0 0.930000 0 0 0 world base 100" />

and also taken from Challenge 3/baxterchallenge/src/baxter_challenge/launch/challenge.launch [line 3]:
<node pkg="tf" type="static_transform_publisher" name="base_to_world" args="0 0 0.930000 0 0 0 world base 100" />

When using a static_transform_publisher, the parent frame id precedes the child frame id [source], so the names of these static transforms indicate that the transforms go from the child to the parent, which is the inverse of the way they are actually set up.

Violating this naming convention may not lead to any incorrect behavior in these limited challenges, but our concern is that doing so may make future code reuse and maintenance more challenging, especially if the naming convention is violated in more 'mission critical' software.

We would appreciate it if you could please describe any conventions around transforms which you follow in order to maintain consistency in the project.

Thank you!

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.