Giter Club home page Giter Club logo

generic_flexbe_states's Issues

AttributeError: type object 'Logger' has no attribute 'logerror'

Logger.logerror('Unable to get parameter: /robot_description_semantic')

When using the srdf_state_to_moveit.py and the move group times out the code should throw an error. However, the code now utilizes Logger.logerror which should be Logger.logerr

ile "/home/maarten/catkin_ws/src/generic_flexbe_states/flexbe_manipulation_states/src/flexbe_manipulation_states/srdf_state_to_moveit.py", line 63, in init
Logger.logerror('Unable to get parameter: /robot_description_semantic')

AttributeError: type object 'Logger' has no attribute 'logerror'

Add timeout parameter to get_joint_values states

For GetJointValuesState and GetJointValuesDynState a state can block indefinitely if parameter values are not published.

I propose adding an optional time out parameter (default: None) that will return a 'timeout' outcome.
If no timeout value is given, then will block indefinitely.

I propose doing this in a kinetic_devel branch to avoid conflicts with existing indigo code.

Naming inconsistencies

There are several files with similar names in manipulation_states that operate differently.

I propose to implement the following changes in a kinetic_devel branch

  1. GetJointsFromSrdfGroup --> GetJointNamesFromSrdfGroupState
  • Add srdf_name parameter that defaults to "/robot_description_semantic"
  • Name as "State" for consistency with other implementations
  1. GetJointsFromSrdfState --> GetJointValuesFromSrdfFileState
  • Specify that this is reading from file
  • Specify we are getting joint values from named configuration
  1. Create new GetJointValuesFromSrdfState
  • Use srdf_name and read from parameter server (otherwise same as 2)

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.