Git Product home page Git Product logo

Comments (10)

pschillinger avatar pschillinger commented on June 15, 2024 1

In case it happens again to someone that no state definitions are found, can you please try the following steps:

  • Make sure that the FlexBE App is on the latest version, preferably checkout the develop branch
  • Go to "Configuration"
  • Select the "Python" state parser
  • Click "Force Discover"
  • Let me know what happens

from flexbe_app.

pschillinger avatar pschillinger commented on June 15, 2024

Is the workspace sourced in your bashrc? Does this also happen when your run

roscd flexbe_states
rosrun flexbe_app run_app -o  # in the same terminal

In general, the way that the FlexBE App looks for state packages is the same that is used for roscd, so I am not sure what might be the problem here. The only difference is that only ROS packages which export "flexbe_states" in their package.xml are listed.

from flexbe_app.

cjue avatar cjue commented on June 15, 2024

I once had a similar "states not found" issue after I changed the catkin package name of a flexbe states package. Everything worked fine again after I changed the name back.

To my understanding this happened because the python module name of the states was different from the catkin package name of my state package and this code relies on them being the same:
https://github.com/FlexBE/flexbe_app/blob/master/src/ros/ros.js#L108

from flexbe_app.

pschillinger avatar pschillinger commented on June 15, 2024

from flexbe_app.

zengxiaolei avatar zengxiaolei commented on June 15, 2024

The workspace is sourced. This also happens when I follow your steps.
flexProblem

@pschillinger

from flexbe_app.

zengxiaolei avatar zengxiaolei commented on June 15, 2024

I uninstalled ubuntu16.04, installed ubuntu18.04 and ROS melodic, now flexbe state is all right.

from flexbe_app.

Sinchiguano avatar Sinchiguano commented on June 15, 2024

Well, I will leave here my query and also my answer to the problem about this issue.
In melody is working fine. But my goal was to run it in Kinetic. I tried my best to just run the example behavior, but it said that it is unable to find state definition for;
LogState
and WaitState,
If you have any solution about this problem, I would be more than grateful.

//////////////////////////////////////
Answer
////////
Clone the following repo
flexbe_app
flexbe_behavior_engine
generic_flexbe_states
Create a demo using:
rosrun flexbe_widget create_repo ur_robot

Install ros packages by:
sudo apt-get install ros-kinetic-flexbe-*

And finally
roslaunch flexbe_app flexbe_full.launch

With those steps I was able to use the example behavior in order to test the installation. The goal is to use FlexBe in kinetic since the following repo :

https://github.com/CNURobotics/flexible_manipulation ,
seems to be suitable for my application. I did try with melody, but I could not compile successfully since it is developed in ROS kinetic.

Best regards,
Cesar

Screenshot from 2019-12-05 19-04-12

from flexbe_app.

pschillinger avatar pschillinger commented on June 15, 2024

Still not sure what could be the issue for not finding states in kinetic...

Regardless of this, @Sinchiguano I would recommend you to use melodic if possible. @dcconner any idea why flexible_manipulation would not work in melodic?

from flexbe_app.

MariusBeul avatar MariusBeul commented on June 15, 2024

I had a similar issue where FlexBE couldn't find the states provided by the flexbe_behavior_engine/flexbe_states package. States provided by other packages (e.g. generic_flexbe_states) were found. The suggestion in #42 (comment) solved the issue.

from flexbe_app.

dcconner avatar dcconner commented on June 15, 2024

We will be releasing a melodic version of the flexible_manipulation package in the next week or so. Apologies for missing the earlier tag.

Making note of above comment about need for catkin package and module names to be the same

from flexbe_app.

Related Issues (20)

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.