Hi, I have a tendon defined inside a default class. I wish to attach tendonlimitfrc sensor to this tendon. According to the description to provided on http://mujoco.org/book/XMLreference.html#sensor-tendonlimitfrc, the sensor requires a tendon name. And according to http://mujoco.org/book/XMLreference.html#default-tendon, tendon can not have a name or class. Given this situation. Request your help to obtain readings for tendonlimitfrc sensor for tendon defined in default.
You cannot name the tendon in the default section. Instead you should name it when you define it in the model later.
Thanks for your response. So I have a tendon as follows: <tendon> <spatial class="spring_class "name="tendon_spring1"> <site site="_spring_0"/> <site site="s_spring_1"/> </spatial> </tendon> <sensor> <tendonlimitfrc name="sensor_wheel_spring" tendon="tendon_spring1"/> </sensor> And the error I get is this: Schema violation: unrecognized element\n\nElement 'tendonlimitfrc'