jrl-umi3218 / mc_rtc

mc_rtc is an interface for simulated and real robotic systems suitable for real-time control
BSD 2-Clause "Simplified" License
122 stars 36 forks source link

Overload task constructors to hide targets and poses in GUI #457

Open Hugo-L3174 opened 2 months ago

Hugo-L3174 commented 2 months ago

The default behavior of the transform task and force tasks is to add the target and current pose of the task to the GUI. This can get very cluttered in cases where there are lots of tasks such as retargetting. This PR overloads the constructors and the GUI functions of the TransformTask, ImpedanceTask and AdmittanceTask to allow hiding the various frames of the task, and adds checkboxes to show them or not. By default the behavior is showing everything so this should not change anything for pre-existing controllers.