Comments (10)
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.
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.
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.
from flexbe_app.
The workspace is sourced. This also happens when I follow your steps.
from flexbe_app.
I uninstalled ubuntu16.04, installed ubuntu18.04 and ROS melodic, now flexbe state is all right.
from flexbe_app.
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
from flexbe_app.
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.
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.
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)
- Stuck on "waiting for behaviour" HOT 7
- Can I run flexbe_app at remote PC and connect ROS master on host? HOT 2
- Flexbe_app does not see code changes on states since 2.3.0 HOT 1
- FlexBE app wont recognize second subclass from EventState class HOT 2
- Is it on the roadmap to make FlexBE App a web service? HOT 4
- Behavior "Polymorphism" almost working but behavior list points to same package. HOT 6
- Installed behavior packages in workspace HOT 2
- Behavior SM generation does not quote string parameters HOT 1
- Nested concurrent containers get stuck HOT 4
- ROS2 OCS does not launch behavior HOT 2
- can't load the new state package in flexbe HOT 8
- Unable to run flexbe on ROS-Galactic HOT 1
- Problem with managing Behaviours in FlexBE HOT 4
- Issue downloading NWJS with Kinetic
- semantic version label correction for humble-devel and ros2-devel branches HOT 1
- ConcurrencyContainer not working on branch "ros2-devel"? HOT 9
- Unexpected Behavior if State and Outcome have identical Names on branch "ros2-devel" HOT 1
- [Noetic] flexbe_app fails to build: missing libraries HOT 5
- Discrepancy between CMakelists.txt and package.xml for ROS2
- Onboard Status: disconnected HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flexbe_app.