Open marc-hanheide opened 5 years ago
I don't see any old parameter on that link, is it correct?
But the line you linked first is just me setting the server as aborted when there is no policy, was that what you intended to link?
Looking at the code, I think it's needed: https://github.com/strands-project/strands_executive/blob/kinetic-devel/mdp_plan_exec/scripts/mdp_robot_policy_executor.py#L101
The boolean variable linked above ensures the robot does a navigation action before it executes any other action.
But what does starting_exec
do? That looks related to me, and wasn't present in the old code.
it ensures ensures the robot does a navigation action before it executes any other action, i.e., exactly the opposite of what is intended. I don't understand exactly what is old and what is new code. The most up to date code in terms of the logic for navigating (or not) before executing an action is the one in https://github.com/strands-project/strands_executive/blob/deprecated-kinetic-devel/mdp_plan_exec/scripts/mdp_policy_executor_extended.py#L38
I didnt merge the param thing to the fork we were using, that might be why this is confusing.
I'm a bit lost. Let's chat in person.
@francescodelduchetto is this still an open issue for you? We haven't provided any kind of fix, but before I start trying to puzzle through the messages I wanted to check you still cared.
Hi @hawesie, yes it is still an open issue. We are using my fork of this repo for the robot now, but I guess it would be nice if we can return to the upstream one
I guess that the main problem and the reason I started to use my fork is what described in here https://github.com/strands-project/strands_executive/issues/307#issuecomment-451978391 .
The nav_before_action_exec
feature was implemented by @bfalacerda in https://github.com/bfalacerda/strands_executive/blob/a8e8ce2483680bb4417c560e90f82157876ac363/mdp_plan_exec/scripts/mdp_policy_executor_extended.py but then disappeared when the script was replaced by https://github.com/strands-project/strands_executive/blob/kinetic-devel/mdp_plan_exec/scripts/mdp_robot_policy_executor.py
Thanks, that's super useful. So the task for me is to put back the nav_before_action_exec
option?
Yes, I think so. Thank you!
Ok, @bfalacerda is now in charge of this. It's quite a hard thing to change directly, so this probably won't happen immediately.
@francescodelduchetto please check #319. Should be back to the behaviour you asked for.
@francescodelduchetto and I are a bit lost what the "correct" executor/scheduler would be to use for our museum case.
The problem: We have so far tried to use https://github.com/strands-project/strands_executive/blob/kinetic-devel/task_executor/launch/task-scheduler-top.launch as a simple scheduler. However, that one seems to be deprecated, and lacking recent features (e.g. time critical tasks). Also with that one, we had the following issue:
@francescodelduchetto submitted in private issue https://github.com/LCAS/LindIMP/issues/40:
So, maybe we should be using the MDP scheduler? That one, however, in the current version uses the a door config file: https://github.com/strands-project/strands_executive/blob/74d4d03754c59c0c90758b54a3aa4238e4c8ab23/task_executor/launch/mdp-executor.launch#L9-L11
And it doesn't seem to work properly. Can @bfalacerda or @hawesie suggest what the correct launch file would be for a "simple" (no doors, no adaptation, no bells and whistles), but robust and full-featured scheduling? I feel we are doing something stupid here. If it helps, I can invite you guys to the private repo to understand our situation better. Simple first questions: Which launch file should we be using?