@@ -189,6 +189,29 @@ Device( const std::string& n )
189
189
new command::Setter<Device,string>
190
190
(*this , &Device::setControlInputType, docstring));
191
191
192
+ docstring =
193
+ " \n "
194
+ " Enable/Disable sanity checks\n "
195
+ " \n " ;
196
+ addCommand (" setSanityCheck" ,
197
+ new command::Setter<Device, bool >
198
+ (*this , &Device::setSanityCheck, docstring));
199
+
200
+ addCommand (" setPositionBounds" ,
201
+ command::makeCommandVoid2 (*this ,&Device::setPositionBounds,
202
+ command::docCommandVoid2 (" Set robot position bounds" , " vector: lower bounds" , " vector: upper bounds" )
203
+ ));
204
+
205
+ addCommand (" setVelocityBounds" ,
206
+ command::makeCommandVoid2 (*this ,&Device::setVelocityBounds,
207
+ command::docCommandVoid2 (" Set robot velocity bounds" , " vector: lower bounds" , " vector: upper bounds" )
208
+ ));
209
+
210
+ addCommand (" setTorqueBounds" ,
211
+ command::makeCommandVoid2 (*this ,&Device::setTorqueBounds,
212
+ command::docCommandVoid2 (" Set robot torque bounds" , " vector: lower bounds" , " vector: upper bounds" )
213
+ ));
214
+
192
215
// Handle commands and signals called in a synchronous way.
193
216
periodicCallBefore_.addSpecificCommands (*this , commandMap, " before." );
194
217
periodicCallAfter_.addSpecificCommands (*this , commandMap, " after." );
0 commit comments