Add netforce reduction to contact sensor.
PiperOrigin-RevId: 783020713 Change-Id: I0d11ccc4e1fd16d07e6f116d64a26485346d9cf1
This commit is contained in:
committed by
Copybara-Service
parent
d0e4771c8c
commit
576a34bcf2
@@ -7089,12 +7089,6 @@ void mjCSensor::Compile(void) {
|
||||
"expected one of {0, 1, 2, 3}", "", intprm[1]);
|
||||
}
|
||||
|
||||
// netforce not yet implemented
|
||||
if (intprm[1] == 3) {
|
||||
throw mjCError(this, "netforce reduction is not yet implemented\n"
|
||||
"please contact the developers if you need this feature");
|
||||
}
|
||||
|
||||
needstage = mjSTAGE_ACC;
|
||||
datatype = mjDATATYPE_REAL;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user