Skip to content
Snippets Groups Projects
Commit 922c8f61 authored by armar-user's avatar armar-user
Browse files

(??) Add debug data

parent 96e96808
No related branches found
Tags demo/2021-09-07/r0
1 merge request!135Resolve "Add Grasp (Affordance) Memory"
......@@ -451,6 +451,8 @@ namespace armarx
debugOutputData.getWriteBuffer().currentDnull_y = dnull.y();
debugOutputData.getWriteBuffer().currentDnull_z = dnull.z();
debugOutputData.getWriteBuffer().filteredForceInRoot = filteredForceInRoot;
debugOutputData.commitWrite();
}
......@@ -641,6 +643,10 @@ namespace armarx
datafields["forceDesired_ry"] = new Variant(debugOutputData.getUpToDateReadBuffer().forceDesired_ry);
datafields["forceDesired_rz"] = new Variant(debugOutputData.getUpToDateReadBuffer().forceDesired_rz);
datafields["filteredForceInRoot_x"] = new Variant(debugOutputData.getUpToDateReadBuffer().filteredForceInRoot[0]);
datafields["filteredForceInRoot_y"] = new Variant(debugOutputData.getUpToDateReadBuffer().filteredForceInRoot[1]);
datafields["filteredForceInRoot_z"] = new Variant(debugOutputData.getUpToDateReadBuffer().filteredForceInRoot[2]);
datafields["deltaT"] = new Variant(debugOutputData.getUpToDateReadBuffer().deltaT);
std::string channelName = cfg->nodeSetName + "_TaskSpaceImpedanceControl";
......
......@@ -162,6 +162,8 @@ namespace armarx
float forceDesired_ry;
float forceDesired_rz;
Eigen::Vector3f filteredForceInRoot;
float deltaT;
......
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