Skip to content
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

improvements to policy execution #59

Closed
wants to merge 73 commits into from
Closed

improvements to policy execution #59

wants to merge 73 commits into from

Conversation

bfalacerda
Copy link
Contributor

Tackles #57. Now when an unexpected state transition happens, a new policy is recalculated from the new state, using the new data to update the MDP model, and executed afterwards (no more aborting due to this)

Bruno Lacerda and others added 30 commits May 18, 2014 15:09
This new version does not wait to receive a callback from the cancelled action server. This is dangerous in that the next task may start while the previous task is still ending, but there isn't a huge problem with this in our current tasks. A better solution would be to wait a bit, then give up on waiting for the callback, but this is hard in the current design. Probably needs to be reimplemented as a state machine to make this cleaner.
This new version does not wait to receive a callback from the cancelled action server. This is dangerous in that the next task may start while the previous task is still ending, but there isn't a huge problem with this in our current tasks. A better solution would be to wait a bit, then give up on waiting for the callback, but this is hard in the current design. Probably needs to be reimplemented as a state machine to make this cleaner.
This also checks if we get late preempt responses.
Seems clean and robust for now.
1) Made service calls thread safe.
2) Fixed order of calls in cancellation
3) Removed blocking assumption in demand task in scheduler
4) Changed bounding of tasks based on current execution time.
hawesie and others added 26 commits May 27, 2014 16:19
This new version does not wait to receive a callback from the cancelled action server. This is dangerous in that the next task may start while the previous task is still ending, but there isn't a huge problem with this in our current tasks. A better solution would be to wait a bit, then give up on waiting for the callback, but this is hard in the current design. Probably needs to be reimplemented as a state machine to make this cleaner.
This also checks if we get late preempt responses.
Seems clean and robust for now.
1) Made service calls thread safe.
2) Fixed order of calls in cancellation
3) Removed blocking assumption in demand task in scheduler
4) Changed bounding of tasks based on current execution time.
…utive into sm_executor

Conflicts:
	task_executor/src/task_executor/base_executor.py
…utive into hydro-devel

Conflicts:
	task_executor/scripts/task_routine_tester.py
	task_executor/scripts/test_task_action.py
	task_executor/src/task_executor/base_executor.py
…xecutive into sm_executor

Conflicts:
	mdp_plan_exec/scripts/mdp_planner.py
	task_executor/scripts/task_routine_tester.py
	task_executor/scripts/test_task_action.py
	task_executor/src/task_executor/base_executor.py
	task_executor/src/task_executor/sm_base_executor.py
@hawesie
Copy link
Member

hawesie commented Jun 13, 2014

Ignoring this as out of sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants