GithubHelp home page GithubHelp logo

brl_tools's People

Contributors

bgromov avatar

Watchers

 avatar  avatar

brl_tools's Issues

Numerical and string constants

Right now fields of input config can only be a path to a field in input message, however quite often we need to supply constant values, e.g. frame_id's etc.

Change particular fields of input message without modifying the rest of it

To achieve this with current version one has to duplicate a whole structure of the message with necessary modifications.

Simple use case: substitute frame_id's in input message.

To switch to this mode a command-line parameter --values-only can be introduced

Example

Input message (geometry_msgs/PoseStampted)

header: 
  seq: 2126
  stamp: 
    secs: 1370264149
    nsecs: 610554802
  frame_id: odom
pose: 
  pose: 
    position: 
      x: 32.3999266916
      y: 93.7854657316
      z: -0.0162693364091
    orientation: 
      x: 0.0
      y: 0.0
      z: 0.100334211173
      w: 0.994953790921

So recompose.py --values-only "{header: {frame_id: 'world_link'}}" would be sufficient to rename odom to world_link.

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.