Skip to content
Snippets Groups Projects
Commit 1fe5cf25 authored by Fabian Reister's avatar Fabian Reister
Browse files

kinematic unit interface: new method to get all data at once (to reduce number...

kinematic unit interface: new method to get all data at once (to reduce number of required network calls)
parent a4705535
No related branches found
No related tags found
No related merge requests found
......@@ -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
};*/
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment