diff --git a/source/RobotAPI/interface/units/KinematicUnitInterface.ice b/source/RobotAPI/interface/units/KinematicUnitInterface.ice index 8b7a243562dbf01c4c50202a95491f1d5afca94f..3cc99f54cb8aa8785c3bfc7de09df8f5d7cf885e 100644 --- a/source/RobotAPI/interface/units/KinematicUnitInterface.ice +++ b/source/RobotAPI/interface/units/KinematicUnitInterface.ice @@ -140,6 +140,24 @@ module armarx /** * Implements an interface to an KinematicUnit. **/ + + + struct DebugInfo + { + NameControlModeMap jointModes; + + NameValueMap jointAngles; + NameValueMap jointVelocities; + NameValueMap jointAccelerations; + + NameValueMap jointTorques; + NameValueMap jointCurrents; + + NameValueMap jointMotorTemperatures; + + NameStatusMap jointStatus; + }; + interface KinematicUnitInterface extends SensorActorUnitInterface { /** @@ -223,7 +241,23 @@ module armarx * NYI */ //void set Trajectory(...); + + + /** + * @brief This is a 'all-in-one' function to retrieve all info that the kinematic unit can provide. + * + * This reduces the number of required network calls for, e.g., the KinematicUnitGui. + * + * @return + * + */ + ["cpp:const"] + DebugInfo getDebugInfo(); }; + + + + /** * Implements an interface to an KinematicUnitListener. **/ @@ -303,4 +337,3 @@ module armarx };*/ }; -