Page 1 of 1

Add disturbance on control signal

Posted: 03 Jan 2019, 20:34
by BiancaSan93
Hi,

I have a dynamically enabled joint (force/torque mode) that uses the "default" PID control loop. However, I need to access the control variable (which I assume is a torque) to do some evaluations.
How do I read the control signal? Is it possible to add an external signal to it before it goes into actuation? For reference, I need to simulate actuator failure.

Thanks

Re: Add disturbance on control signal

Posted: 04 Jan 2019, 13:50
by coppelia
hello,

you will have to write a joint control callback function.

Cheers

Re: Add disturbance on control signal

Posted: 04 Jan 2019, 16:38
by BiancaSan93
Hi, thanks for the reply. However, I still have doubts about it, what is the control variable? Assuming I want to track it on a graph, which data stream should I pick?
EDIT: I need to know specifically the torque exherted by the joint. Is it possible?

Re: Add disturbance on control signal

Posted: 08 Jan 2019, 15:08
by coppelia
If you want to track (i.e. display) a custom value via a graph, then have a look here.

Cheers