Comments (16)
In the meantime we figured out the issue: You have to set the "Package" at least once, although it does already have a selection. It seems as the app didn't initialize the internal value from the drop down menu initially.
from flexbe_app.
We are seeing this as well. As a work around if we "touch new_behavior_sm.py" and create an empty file first, then it seems to work OK afterwards.
from flexbe_app.
Sometimes we don't get any output to the terminal log screen, but sometimes we get "Code Generation completed" and "Manifest generation completed", but then error
"file new_behavior_sm.py not found in specified folder" (where new_behavior was our test name) and no files are actually created (confirmed in master and develop branches)
from flexbe_app.
There was a bug preventing to create a new behavior if the onboard engine was running and the app was connected to it.
David, the error which shows no terminal output has a different reason, but should be fixed now as well.
Please let me know if there is still another problem with creating behaviors I am not aware of.
from flexbe_app.
We tested with latest change, and it saves behavior but when we try to run
[ERROR] [WallTime: 1491867753.906567] bad callback: <bound method BehaviorLauncher._callback of <flexbe_widget.behavior_launcher.BehaviorLauncher object at 0x7f9d2345c990>>
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 720, in _invoke_callback
cb(msg)
File "/home/cpsc495_team1/Desktop/cpsc495/src/flexbe_behavior_engine/flexbe_widget/src/flexbe_widget/behavior_launcher.py", line 38, in _callback
be_id, behavior = self._behavior_lib.find_behavior(msg.behavior_name)
TypeError: 'NoneType' object is not iterable
If we exit FlexBE then restart, then the new behavior is waiting on us and works.
from flexbe_app.
Ok, makes sense. The behavior library of the launcher only updates once when being started. I will fix this.
from flexbe_app.
Updating the flexbe_behavior_engine repo should fix the above error, at least it works for me now.
from flexbe_app.
I have tried to update the two packages, switching to feature/flexbe_app in flexbe_behavior_engine and switching to develop in flexbe_app but when I try to save my behavior nothing happens, terminal does not give me any response. Furthermore if I try to push the Start Execution in Runtime Control nothing starts.
Am I missing something?
FIXED: It was not clear that I should have had to disconnect the ROS master to create a new behavior
from flexbe_app.
It should not be necessary to disconnect ROS. As I wrote above:
There was a bug preventing to create a new behavior if the onboard engine was running and the app was connected to it.
Consequently, it was a workaround to disconnect ROS. But this should not be required anymore. Since I am not able to reproduce what you describe, can you give me a few more details regarding your workspace setup and the behavior which fails to save such that I can try to reproduce?
from flexbe_app.
Well behavior is quite simple, I just have one state regarding opening and closing of the gripper (I am using this one in another behavior and it works). When i save I have no errors however if I try to push the button start execution nothing happens. As I said before if I disconnect the master the behavior saves and I can access to it the next time I will open the app, on the other hand if I save it w/out disconnecting i will not find it in the list.
The behaviors I am using are in folder youbot_behaviors antecedently downloaded from the github repository youbot_behaviors.
And here some pic of the setup.
from flexbe_app.
Thank you! One thing that looks surprising to me is that on the flexbe_conf screenshot it looks like youbot_flexbe_states (which contains the gripper state) is not detected as state package. The youbot_behaviors repo has not been converted to the new flexbe_app format, did you do this yourself? Maybe something related to this is causing the issue.
I tested it and pushed a new feature/flexbe_app branch on youbot_behaviors. Can you try again on this branch and the current version of flexbe_behavior_engine and flexbe_app? In the App, the version indicator (top right corner) should be green.
from flexbe_app.
Except from initial errors now seems to work, probably one thing missing is the possibility to delete a behaviour.
from flexbe_app.
Hey,
we are using FlexBE App in our lecture. Many students (myself included) have the described issue above. It works usually, but sometimes FlexBE App refuses to save. There is neither an error message nor any strange visible behavior. The app pretends to have saved but indeed didn't.
Any guess?
from flexbe_app.
Which of the issues discussed above?
It works usually, but sometimes FlexBE App refuses to save.
Have you observed any difference between the cases where it worked and where not? For example, if a ROS connection is active, the kind of changes before saving, etc?
It is hard to make a guess without any context...
from flexbe_app.
@astumpf I started to look into this, but cannot reproduce it. Can you confirm you were using a version which included the commit 68d8257?
from flexbe_app.
@astumpf I'm facing the same problem. How could you manage to set the Package? My package dropdown menu is empty, so I can't set it.
from flexbe_app.
Related Issues (20)
- 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
- Can't install flexbe_app on ubuntu 20.04 ROS version Noetic HOT 4
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.