-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional properties for flexbe states #32
Comments
As far as I analyzed your code now, I would try to add a function |
Sounds very useful, likely also for others.
I agree with your suggestion regarding behaviors, although I would let the
behavior merely delegate collecting the properties to the root state
machine and actually implement it there. This better reflects the
hierarchical character in the case of embedded state machines.
Regarding the states (and also state machines) my concept was adding
different features by inheritance, ie the EventState adds event
functionality, the OperatableState adds operator interaction functionality,
etc. As such, I would recommend to add a new class like PropertyState with
a static method as you suggested to be overwritten by state
implementations. I would put it between the OperatableState and the
PreemptableState, ie inherit from PreemptableState and let OperatableState
inherit from PropertyState. The same for state machines.
Yes, sorry for the documentation... Did you take a look into my Master
Thesis? It is for example linked on the FlexBE homepage. Of course it is
not meant as documentation, but it gives some overview and might be
helpful. Of course, let me know if you have further questions and thanks
for your effort and interest!
|
Thanks for you reply. I will have a look into your thesis, especially as I am not yet completely familiar with what is transfered between GUI and onBoard and over which protocol (file-system vs. ROS msg).
Thats actually exactly what I already did. Works so far. But now for the GUI: I learned to hate this Java stuff from previous projects (: |
`mrl-7` at `mojin-le-2`
Hi Phillipp,
first of all: Thanks for you efforts in creating / maintaining such a helpful project!
Now for my question: I would like to add additional properties to states, so that they get parsed, when a behavior is loaded (in the GUI as well as onboard for execution).
The result should be a list of the properties of all states in the behavior.
The idea is to build a coarse "semantic" check, to decide if a behavior can be executed on robot A or if it requires skills of robot B.
Could you give me a short hint, where to start implementing such a feature? Flexbe has quite some source files and I was hoping that I do not have to analyze all your (nicely documented) code...
Thanks! Andy
The text was updated successfully, but these errors were encountered: