Skip to content

Commit

Permalink
Updated Framework Definition
Browse files Browse the repository at this point in the history
- Added a service interface for a future Motion Inbetweening service
- Extended the CoSimulationAccess service with methods forwarding
   CheckPrerequisites and GetBoundaryConstraints
  • Loading branch information
jsprenger2 committed Jun 28, 2023
1 parent 4d66359 commit 93636cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Framework-Definition/mmi/cosim.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include "core.thrift"
include "avatar.thrift"
include "mmu.thrift"
include "services.thrift"
include "constraints.thrift"


///Struct that is used for the Co-Simulation access
Expand Down Expand Up @@ -45,6 +46,13 @@ service MCoSimulationAccess extends services.MMIServiceBase

//Aborts a list of instructions
core.MBoolResponse AbortInstructions(1: list<string> instructionIDs),

//Returns constraints which are relevant for the transition
list<constraints.MConstraint> GetBoundaryConstraints(1:mmu.MInstruction instruction),

//Check whether the instruction can be executed given the current state
core.MBoolResponse CheckPrerequisites(1:mmu.MInstruction instruction),


//Get the history
list<MCoSimulationEvents> GetHistoryFromTime(1: double startTime, 2: double endTime, 3: string eventType, 4: string avatarID),
Expand Down
4 changes: 4 additions & 0 deletions Framework-Definition/mmi/services.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ service MPostureBlendingService extends MMIServiceBase
list<avatar.MAvatarPostureValues> BlendMany (1: avatar.MAvatarPostureValues startPosture, 2: avatar.MAvatarPostureValues targetPosture, 3: list<double> weights, 4: map<avatar.MJointType, double> mask, 5:map<string,string> properties)
}

service MMotionInbetweening extends MMIServiceBase
{
list<avatar.MAvatarPostureValues> Blend (1: avatar.MAvatarPostureValues start, 2: avatar.MAvatarPostureValues target, 3: double duration)
}

//Interface of the path planning service
service MPathPlanningService extends MMIServiceBase
Expand Down

0 comments on commit 93636cd

Please sign in to comment.