|
AGX Dynamics
2.37.2.0
|
Class for computing forces/torques which can be used to reach a desired configuration. More...
#include <InverseDynamics.h>
Inheritance diagram for agxModel::InverseDynamics:Classes | |
| struct | MoveOperation |
| Struct for defining a move operation during one call to one of the solve functions of InverseDynamics. More... | |
Public Types | |
| enum | InverseDynamicsStatus { ID_SUCCESS, ID_INVALID_TIME, ID_BAD_ARGUMENTS, ID_BODY_NOT_FOUND, ID_VALID_POSE_NOT_FOUND, ID_COLLISION_OCCURRED } |
| Enumeration with status values returned from InverseDynamics. More... | |
| typedef agx::Vector< InverseDynamics::MoveOperation > | MoveOperationVector |
| enum | SyncLevel { INTERNAL = 0, MOTION = 1 << 0, DYNAMIC = 1 << 1, FULL = MOTION + DYNAMIC } |
Public Member Functions | |
| InverseDynamics (const agxSDK::Simulation *sim, const agx::RigidBodyRefVector &bodies, const agx::ConstraintRefVector &constraints) | |
| Create an InverseDynamics instance holding structures matching the input bodies and constraints. More... | |
| InverseDynamics (const agxSDK::Simulation *sim, const agx::RigidBodyRefVector &bodies, const agx::ConstraintRefVector &constraints, const agx::ConstraintRefVector &otherConstraints) | |
| This constructor is similar to the three argument constructor but also includes an additional vector with constraints. More... | |
| InverseDynamics (const agxSDK::Simulation *sim, const agx::RigidBodyRefVector &bodies, const agx::ConstraintRefVector &constraints, const agxPowerLine::PowerLineRefVector &powerlines, const agxPowerLine::UnitRefVector &units) | |
| Create an InverseDynamics instance holding structures matching the input bodies, constraints and powerlines. More... | |
| InverseDynamics (const agxSDK::Simulation *sim, const agx::RigidBodyRefVector &bodies, const agx::ConstraintRefVector &constraints, const agx::ConstraintRefVector &otherConstraints, const agxPowerLine::PowerLineRefVector &powerlines, const agxPowerLine::UnitRefVector &units) | |
| Create an InverseDynamics instance holding structures matching the input bodies, constraints and powerlines. More... | |
| agx::Real | computeRotationalDifference (const agx::RigidBody *body) const |
| Compute the rotational difference between body and the matching internal clone that is used in dynamics computations. More... | |
| agx::Real | computeRotationalDifference (const agx::RigidBody *body, const agx::AffineMatrix4x4 &transform) const |
| Compute the rotational difference between input transform and the internal body used for dynamics computation matching the input body. More... | |
| agx::Real | computeTranslationalDifference (const agx::RigidBody *body) const |
| Compute the translational difference between body and the matching internal clone that is used in dynamics computations. More... | |
| agx::Real | computeTranslationalDifference (const agx::RigidBody *body, const agx::AffineMatrix4x4 &transform) const |
| Compute the translational difference between input transform and the internal body used for dynamics computation matching the input body. More... | |
| InverseDynamics::InverseDynamicsStatus | finalizeAdaptiveSolveN () |
| End the adaptive solve. More... | |
| void | forceStepDynamicsSimulation () |
| Will step the dynamics simulation one time step. More... | |
| void | forceStepMotionSimulation () |
| Will step the motion simulation one time step. More... | |
| agx::UInt | getCurrentFrameIndex () const |
| Return the internal frame count. More... | |
| const agxSDK::Assembly * | getDynamicsData () const |
| Fetch the internal Collection holding the cloned bodies and constraints that are used for dynamics/force/torque computations. More... | |
| IDJointValueView | getJointAngles (size_t frameIndex) |
| If solve saved angles, fetch the values for specified frame. More... | |
| IDJointValueView | getJointForces (size_t frameIndex) |
| Fetch joint forces produced by solve call or gravityCompensation. More... | |
| agx::Real | getLastDynamicsTimeStamp () const |
| Returns the last timestamp reached during the force computations. More... | |
| agx::AffineMatrix4x4 | getLastDynamicsTransform () |
| Return the last transform the solve method reached during the force computations. More... | |
| agx::Real | getLastTrajectoryTimeStamp () const |
| Returns the last timestamp used during trajectory computation. More... | |
| agx::AffineMatrix4x4 | getLastTrajectoryTransform () |
| Return the last transform the solve method reached during the trajectory computation. More... | |
| const agxSDK::Assembly * | getMotionData () const |
| Fetch the internal Collection holding the cloned bodies and constraints that are used for motion/trajectory computations. More... | |
| size_t | getNumFrames () const |
| Return the number of frames worth of force data that is available. More... | |
| IDUnitValueView | getPowerLineValues (size_t frameIndex) |
| Fetch possible values for agxPowerLine Units. More... | |
| const agxSDK::Assembly * | getSourceData () const |
| Fetch the internal Collection holding the input bodies and constraints. More... | |
| InverseDynamicsStatus | gravityCompensation () |
| Compute joint forces needed to compensate for gravity. More... | |
| InverseDynamics::InverseDynamicsStatus | initializeAdaptiveSolveN (const InverseDynamics::MoveOperationVector &moves, agx::Real time) |
| Initialize a solve for N bodies, with desired end transforms. More... | |
| bool | setMotionControl (const agx::RigidBody *body, agx::RigidBody::MotionControl mc) |
| Update the motion control to specified value for the internal bodies that are mirroring the specified body. More... | |
| InverseDynamicsStatus | solve (const agx::RigidBody *body, agx::AffineMatrix4x4 transform, agx::Real time, agx::Real positionThreshold, agx::Real rotationThreshold, const bool stopAtCollision=false, const bool onlyMotionSimulation=false) |
| Try to find a pose for the structure so the specified body has the requested transform after the specified delta time has elapsed. More... | |
| InverseDynamicsStatus | solve (const agx::RigidBody *body, const agx::AffineMatrix4x4Vector &transforms, const agx::RealVector ×tamps, agx::Real positionThreshold, agx::Real rotationThreshold, const bool stopAtCollision=false, const bool onlyMotionSimulation=false) |
| Similar to solve, but with a series of transforms and delta timestamps. More... | |
| InverseDynamicsStatus | solveLinear (const agx::RigidBody *body, agx::AffineMatrix4x4 transform, agx::Real time, agx::Real positionThreshold, agx::Real rotationThreshold, const bool stopAtCollision=false, const bool onlyMotionSimulation=false) |
| Try to find a pose for the structure so the specified body has the requested transform after the specified delta time has elapsed. More... | |
| InverseDynamics::InverseDynamicsStatus | solveLinearN (const InverseDynamics::MoveOperationVector &moves, agx::Real time, const bool stopAtCollision=false, const bool onlyMotionSimulation=false) |
| This solve method will try to move the specified bodies along individual linear paths, where feasible, between the initial pose and the end pose. More... | |
| InverseDynamics::InverseDynamicsStatus | stepAdaptiveSolveN () |
| Step the adaptive solve one timestep. More... | |
| bool | sync (agxModel::InverseDynamics::SyncLevel level=agxModel::InverseDynamics::FULL) |
| This method will synchronize transforms and velocities so that solve calls operate on data that is in a known state. More... | |
| InverseDynamics::InverseDynamicsStatus | updateAdaptiveSolveN (const InverseDynamics::MoveOperationVector &moves, agx::Real time) |
| This update will define new target transforms for the moves already assigned at intitializeAdaptiveSolveN. More... | |
Public Member Functions inherited from agx::Referenced | |
| Referenced () | |
| Default constructor. More... | |
| Referenced (const Referenced &) | |
| template<typename T > | |
| T * | as () |
| Subclass casting. More... | |
| template<typename T > | |
| const T * | as () const |
| template<typename T > | |
| T * | asSafe () |
| Safe subclass casting, return nullptr if template type does not match. More... | |
| template<typename T > | |
| const T * | asSafe () const |
| int | getReferenceCount () const |
| template<typename T > | |
| bool | is () const |
| Subclass test. More... | |
| Referenced & | operator= (const Referenced &) |
| Assignment operator. Will increment the number of references to the referenced object. More... | |
| void | reference (void *ptr=nullptr) const |
| Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| void | unreference (void *ptr=nullptr) const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unreference_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from agx::Referenced | |
| template<typename T > | |
| static bool | ValidateCast (const Referenced *object) |
Protected Member Functions inherited from agx::Referenced | |
| virtual | ~Referenced () |
| Destructor. More... | |
| void | allocateObserverVector () const |
| void | deleteUsingDeleteHandler () const |
Static Protected Member Functions inherited from agx::Referenced | |
| static DeleteHandler * | getDeleteHandler () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More... | |
Protected Attributes inherited from agx::Referenced | |
| Mutex | m_mutex |
| ObserverContainer | m_observers |
| AtomicValue | m_refCount |
Class for computing forces/torques which can be used to reach a desired configuration.
It can also be used to compensate for gravity by computing forces/torques needed to keep current pose and have zero velocity.
This class is intended for use with constrained systems. There is also partial powerline support:
The InverseDynamics class is agnostic to what the powerline units actually represents and how the value and gradient should be used depends on the actual unit.
Definition at line 171 of file InverseDynamics.h.
Definition at line 226 of file InverseDynamics.h.
Enumeration with status values returned from InverseDynamics.
Definition at line 177 of file InverseDynamics.h.
Definition at line 186 of file InverseDynamics.h.
| agxModel::InverseDynamics::InverseDynamics | ( | const agxSDK::Simulation * | sim, |
| const agx::RigidBodyRefVector & | bodies, | ||
| const agx::ConstraintRefVector & | constraints | ||
| ) |
Create an InverseDynamics instance holding structures matching the input bodies and constraints.
Some settings will also be copied from the simulation to be able to have a matching configuration (timestep, collision groups from space).
The source data will not be changed by InverseDynamics when computations are performed.
| sim | The simulation from which settings should be read. |
| bodies | A container with bodies |
| constraints | A container with constraints for which InverseDynamics will find force/torque values |
The following is required for later computations to be valid:
To detect possible problems, check output from the logger or compare the sizes of the containers for bodies and constraints in getSourceData.
| agxModel::InverseDynamics::InverseDynamics | ( | const agxSDK::Simulation * | sim, |
| const agx::RigidBodyRefVector & | bodies, | ||
| const agx::ConstraintRefVector & | constraints, | ||
| const agx::ConstraintRefVector & | otherConstraints | ||
| ) |
This constructor is similar to the three argument constructor but also includes an additional vector with constraints.
The first vector with constraints are "controlled" by InverseDynamics and force/torque values are to be found for these constraints.
The second vector with constraints are included in the internal calculations but the controllers for these constraints are left as is.
This can for example be used for a robot where the end effector is attached to a tool that can perform grasping and the inverse dynamics calculations should not change the fingers.
| sim | The simulation from which settings should be read. |
| bodies | A container with bodies |
| constraints | A container with constraints for which InverseDynamics will find force/torque values |
| otherConstraints | A container with constraints that InverseDynamics will include in the computations, but not adjust the values for the controllers. |
| agxModel::InverseDynamics::InverseDynamics | ( | const agxSDK::Simulation * | sim, |
| const agx::RigidBodyRefVector & | bodies, | ||
| const agx::ConstraintRefVector & | constraints, | ||
| const agxPowerLine::PowerLineRefVector & | powerlines, | ||
| const agxPowerLine::UnitRefVector & | units | ||
| ) |
Create an InverseDynamics instance holding structures matching the input bodies, constraints and powerlines.
Some settings will also be copied from the simulation to be able to have a matching configuration (timestep, collision groups from space).
The source data will not be changed by InverseDynamics when computations are performed.
| sim | The simulation from which settings should be read. |
| bodies | A container with bodies. |
| constraints | A container with constraints. |
| powerlines | A container with powerlines. |
| units | A container with powerline units. |
The following is required for later computations to be valid:
| agxModel::InverseDynamics::InverseDynamics | ( | const agxSDK::Simulation * | sim, |
| const agx::RigidBodyRefVector & | bodies, | ||
| const agx::ConstraintRefVector & | constraints, | ||
| const agx::ConstraintRefVector & | otherConstraints, | ||
| const agxPowerLine::PowerLineRefVector & | powerlines, | ||
| const agxPowerLine::UnitRefVector & | units | ||
| ) |
Create an InverseDynamics instance holding structures matching the input bodies, constraints and powerlines.
Some settings will also be copied from the simulation to be able to have a matching configuration (timestep, collision groups from space).
The source data will not be changed by InverseDynamics when computations are performed.
| sim | The simulation from which settings should be read. |
| bodies | A container with bodies. |
| constraints | A container with constraints. |
| otherConstraints | A container with constraints that InverseDynamics will include in the computations, but not adjust the values for the controllers. |
| powerlines | A container with powerlines. |
| units | A container with powerline units. |
The following is required for later computations to be valid:
| agx::Real agxModel::InverseDynamics::computeRotationalDifference | ( | const agx::RigidBody * | body | ) | const |
Compute the rotational difference between body and the matching internal clone that is used in dynamics computations.
If this method is used directly after solve or solveLinear, the return value is likely a large difference due to one is comparing the body's current transform with the end transform after the solve computations. The other computeRotationalDifference method that has two arguments is suitable for use after solve.
| body | A rigidbody whose transform should be compared with the matching internal dynamics body. |
| agx::Real agxModel::InverseDynamics::computeRotationalDifference | ( | const agx::RigidBody * | body, |
| const agx::AffineMatrix4x4 & | transform | ||
| ) | const |
Compute the rotational difference between input transform and the internal body used for dynamics computation matching the input body.
| body | A rigidbody whose transform should be compared with the input transform |
| transform | The transform to use in the difference computation. |
| agx::Real agxModel::InverseDynamics::computeTranslationalDifference | ( | const agx::RigidBody * | body | ) | const |
Compute the translational difference between body and the matching internal clone that is used in dynamics computations.
If this method is used directly after solve or solveLinear, the return value is likely a large difference due to one is comparing the body's current transform with the end transform after the solve computations. The other computeTranslationalDifference method that has two arguments is suitable for use after solve.
| body | A rigidbody whose transform should be compared with the matching internal dynamics body. |
| agx::Real agxModel::InverseDynamics::computeTranslationalDifference | ( | const agx::RigidBody * | body, |
| const agx::AffineMatrix4x4 & | transform | ||
| ) | const |
Compute the translational difference between input transform and the internal body used for dynamics computation matching the input body.
| body | A rigidbody whose transform should be compared with the input transform |
| transform | The transform to use in the difference computation. |
| InverseDynamics::InverseDynamicsStatus agxModel::InverseDynamics::finalizeAdaptiveSolveN | ( | ) |
End the adaptive solve.
| void agxModel::InverseDynamics::forceStepDynamicsSimulation | ( | ) |
Will step the dynamics simulation one time step.
| void agxModel::InverseDynamics::forceStepMotionSimulation | ( | ) |
Will step the motion simulation one time step.
| agx::UInt agxModel::InverseDynamics::getCurrentFrameIndex | ( | ) | const |
Return the internal frame count.
| const agxSDK::Assembly* agxModel::InverseDynamics::getDynamicsData | ( | ) | const |
Fetch the internal Collection holding the cloned bodies and constraints that are used for dynamics/force/torque computations.
| IDJointValueView agxModel::InverseDynamics::getJointAngles | ( | size_t | frameIndex | ) |
If solve saved angles, fetch the values for specified frame.
| frameIndex | Which data to access. |
| IDJointValueView agxModel::InverseDynamics::getJointForces | ( | size_t | frameIndex | ) |
Fetch joint forces produced by solve call or gravityCompensation.
The resulting structure, IDJointValue, contains [joint index, angle index, value] where the joint index refers to the index among the constraints in the container given to the constructor for this class.
| frameIndex | Which data to access. |
| agx::Real agxModel::InverseDynamics::getLastDynamicsTimeStamp | ( | ) | const |
Returns the last timestamp reached during the force computations.
The timestamp is a delta value and starts from zero when a solve call is performed.
On a successful solve this timestamp will be n*dt >= input_time where the integer n is the least amounts of steps.
On failure, e.g. collision, this timestamps can indicate when the problem occurred.
| agx::AffineMatrix4x4 agxModel::InverseDynamics::getLastDynamicsTransform | ( | ) |
Return the last transform the solve method reached during the force computations.
On successful solve, this transform should be similar to the solve input transform.
| agx::Real agxModel::InverseDynamics::getLastTrajectoryTimeStamp | ( | ) | const |
Returns the last timestamp used during trajectory computation.
The timestamp is a delta value and starts from zero when a solve call is performed.
On a successful solve this timestamp will be n*dt >= input_time where the integer n is the least amounts of steps.
On failure, e.g. collision, this timestamps can indicate when the problem occurred.
| agx::AffineMatrix4x4 agxModel::InverseDynamics::getLastTrajectoryTransform | ( | ) |
Return the last transform the solve method reached during the trajectory computation.
On successful solve, this transform should be similar to the solve input transform
| const agxSDK::Assembly* agxModel::InverseDynamics::getMotionData | ( | ) | const |
Fetch the internal Collection holding the cloned bodies and constraints that are used for motion/trajectory computations.
| size_t agxModel::InverseDynamics::getNumFrames | ( | ) | const |
Return the number of frames worth of force data that is available.
If gravityCompensation has been called sucessfully, 1 is returned. If a solve-method has been used, the amount of output depends on the given delta time.
The value used when requesting data from
| IDUnitValueView agxModel::InverseDynamics::getPowerLineValues | ( | size_t | frameIndex | ) |
Fetch possible values for agxPowerLine Units.
| frameIndex | Which data to access. |
| const agxSDK::Assembly* agxModel::InverseDynamics::getSourceData | ( | ) | const |
Fetch the internal Collection holding the input bodies and constraints.
| InverseDynamicsStatus agxModel::InverseDynamics::gravityCompensation | ( | ) |
Compute joint forces needed to compensate for gravity.
This computation will use the internal dynamics bodies and compute forces/torques needed for the robot to behave as if there is zero gravity.
If PowerLine(s) are present and the following conditions are fulfilled, then matching constraints will not be used to keep the speed at 0, but instead the PowerLine:
If needed, use sync to have the inverse dynamics system and source simulation in matching states.
On success, getNumFrames() will have 1 frame worth of data and the results are available via getJointForces(0) and getPowerLineValues(0).
If incompatible changes are made to the robot after the InverseDynamics instance has been created, then the computed results are likely not usable. See the
| InverseDynamics::InverseDynamicsStatus agxModel::InverseDynamics::initializeAdaptiveSolveN | ( | const InverseDynamics::MoveOperationVector & | moves, |
| agx::Real | time | ||
| ) |
Initialize a solve for N bodies, with desired end transforms.
| moves | - All wanted move operations |
| time | - The time in seconds to solve the system |
| bool agxModel::InverseDynamics::setMotionControl | ( | const agx::RigidBody * | body, |
| agx::RigidBody::MotionControl | mc | ||
| ) |
Update the motion control to specified value for the internal bodies that are mirroring the specified body.
| body | A rigidbody that should have be part of the input bodies to InverseDynamics. |
| mc | The motion control value to set. |
| InverseDynamicsStatus agxModel::InverseDynamics::solve | ( | const agx::RigidBody * | body, |
| agx::AffineMatrix4x4 | transform, | ||
| agx::Real | time, | ||
| agx::Real | positionThreshold, | ||
| agx::Real | rotationThreshold, | ||
| const bool | stopAtCollision = false, |
||
| const bool | onlyMotionSimulation = false |
||
| ) |
Try to find a pose for the structure so the specified body has the requested transform after the specified delta time has elapsed.
This solve method will monotonically change the joint angles from the ones in the initial pose until they reach the values in the end pose. The computed trajectory aims for landing on the target transform with zero velocity.
The computations are performed in two steps, first a kinematic configuration is found and then forces/torques are computed that can be applied to reach specified transform.
The state of the internal bodies that are used in the computations should be considered unknown after solve.
| body | A body from one of the input source bodies. |
| transform | The desired transform for the body. |
| time | Delta time from now, amount of simulated time it should take for the body to reach the desired transform. |
| positionThreshold | Value used to determine if final kinematic configuration in the motion trajectory is close enough to requested transform. Value in meters. |
| rotationThreshold | Similar to positionThreshold, but for rotation. Value in radians. |
| stopAtCollision | set true will exit the inverse dynamics solve at a collision, default false, no effect if onlyMotionSimulation is true. |
| onlyMotionSimulation | set true will not generate torques as a result, default false |
| InverseDynamicsStatus agxModel::InverseDynamics::solve | ( | const agx::RigidBody * | body, |
| const agx::AffineMatrix4x4Vector & | transforms, | ||
| const agx::RealVector & | timestamps, | ||
| agx::Real | positionThreshold, | ||
| agx::Real | rotationThreshold, | ||
| const bool | stopAtCollision = false, |
||
| const bool | onlyMotionSimulation = false |
||
| ) |
Similar to solve, but with a series of transforms and delta timestamps.
The deltas are relative when the solve method is called, not the previous timestamp. So if transform X1 is desired after 1s and transform X2 after 1.5s, then the vectors should contain transforms: [X1, X2] and timestamps [1, 1.5].
This method can be seen as using the solve-method that takes one delta time and one transform multiple times after each other.
| body | A body from one of the input source bodies. |
| transforms | A vector with desired transforms for the body. |
| timestamps | A vector with delta times from now when the matching desired transforms should be reached. |
| positionThreshold | Value used to determine if final kinematic configuration in the motion trajectory is close enough to requested transform. Value in meters. |
| rotationThreshold | Similar to positionThreshold, but for rotation. Value in radians. |
| stopAtCollision | set true will exit the inverse dynamics solve at a collision, default false, no effect if onlyMotionSimulation is true. |
| onlyMotionSimulation | set true will not generate torques as a result, default false |
| InverseDynamicsStatus agxModel::InverseDynamics::solveLinear | ( | const agx::RigidBody * | body, |
| agx::AffineMatrix4x4 | transform, | ||
| agx::Real | time, | ||
| agx::Real | positionThreshold, | ||
| agx::Real | rotationThreshold, | ||
| const bool | stopAtCollision = false, |
||
| const bool | onlyMotionSimulation = false |
||
| ) |
Try to find a pose for the structure so the specified body has the requested transform after the specified delta time has elapsed.
This solve method will try to move the specified body along a linear path, where feasible, between the initial pose and the end pose. The computed trajectory aims for landing on the target transform with zero velocity.
| body | A body from one of the input source bodies. |
| transform | The desired transform for the body. |
| time | Delta time from now, amount of simulated time it should take for the body to reach the desired transform. |
| positionThreshold | Value used to determine if final kinematic configuration in the motion trajectory is close enough to requested transform. Value in meters. |
| rotationThreshold | Similar to positionThreshold, but for rotation. Value in radians. |
| stopAtCollision | set true will stop the inverse dynamics solve at a collision, default false, no effect if onlyMotionSimulation is true. |
| onlyMotionSimulation | set true will not generate torques as a result, default false |
| InverseDynamics::InverseDynamicsStatus agxModel::InverseDynamics::solveLinearN | ( | const InverseDynamics::MoveOperationVector & | moves, |
| agx::Real | time, | ||
| const bool | stopAtCollision = false, |
||
| const bool | onlyMotionSimulation = false |
||
| ) |
This solve method will try to move the specified bodies along individual linear paths, where feasible, between the initial pose and the end pose.
Another difference with the solveLinear method is that each move can have individual thresholds and compliance of the trajectory constraints. Initialize a solve for N bodies, with desired end transforms.
| moves | - All wanted move operations |
| time | - The time in seconds to solve the system |
| InverseDynamics::InverseDynamicsStatus agxModel::InverseDynamics::stepAdaptiveSolveN | ( | ) |
Step the adaptive solve one timestep.
| bool agxModel::InverseDynamics::sync | ( | agxModel::InverseDynamics::SyncLevel | level = agxModel::InverseDynamics::FULL | ) |
This method will synchronize transforms and velocities so that solve calls operate on data that is in a known state.
Using this method between calls to solve is strongly advised to get expected results.
See InverseDynamics::SyncLevel for the different options.
Only body and powerline data will be synced. Other changes to the source simulation such as for example:
| level | define which InverseDynamics::SyncLevel to sync |
| InverseDynamics::InverseDynamicsStatus agxModel::InverseDynamics::updateAdaptiveSolveN | ( | const InverseDynamics::MoveOperationVector & | moves, |
| agx::Real | time | ||
| ) |
This update will define new target transforms for the moves already assigned at intitializeAdaptiveSolveN.
Assume the moves come in the same order as the adaptive solve was initialized with regarding the bodies in the MoveOperation's. If not, you first need to finalize the adaptive solve and then initialize it again with the new order of moves.
| moves | - All wanted move operations |
| time | - The time in seconds to solve the system |