Thursday, June 13, 2013
Working replanning
Fixing the doors also enabled me to test a longer plan which allowed testing of replanning when a step later in the plan is invalidated. For the most part, this seems to work as well.
Working cost
For my initial basic test, cost seems to be working now with the new and improved doors.
Doors
The biggest problem was with the implementation of doors. I fixed it now, so it just sets binary masks for which doors the character can cross. This has fixed cost.
Past two weeks
These past two weeks I have been working on three core ideas: automatic replanning if and only if a user disrupts a state that affects the current plan, anywhere along it, having the planner create the path of least cost, and finally determining whether adjacent actions in an already created plan can be executed in parallel.
Monday, June 10, 2013
Future plans
Next week:
- Fix door interaction
- Fix comparison of actions
- Figure out what's going wrong with replanning
Long term goals
- Roles
- Cost
- Marketplace
- Speed
Past week(s)
Over the last few weeks, I have solved an important issue I ran into with the planner. About three weeks ago, I tried to introduce more complexity by having a second person's state added to the statespace. The goal was to force the planner to bring the second person into the correct spot for a handshake, instead of hardcoding that into the handshake interaction itself. The problem was the planner was initializing actions from the first state, so it did not remember changes made two actions ago. Therefore it would always think either person one or two could not reach the handshake location. After trying many things, I finally got it to work by keeping track of changes, but making copies not references to states and actions.
Summary of work so far
Over this past semester I have begun to develop a real-time planner to create sequences of actions of AI agents, which can adjust their plans based on user interactions. I used ADAPT and behavior trees to create a couple simple interactions such as shaking hands and opening a door. The interactions have preconditions and postconditions which enable a planner to see ahead and keep track of what the states of each object or agent will be. These actions, along with the statespace, are passed into an A* path finder algorithm which computes the lowest cost path.
Subscribe to:
Posts (Atom)