How to draw force given xfrc_applied or qfrc_applied

Discussion in 'Visualization' started by Jiali, Dec 20, 2018.

  1. I have calculated qfrc_applied using mj_applyFT(model, data, force, torque, point, idx, qfrc_applied). Can anyone explain how
    to visualize/plot this force in mujoco?

    I created two sites and a tendon connected to these two sites.
    I denote point to be one of the sites.
    How can I determine the location of another site given information of force, torque, point?

    Many thanks!
     

  2. Hi Jiali, I have the same problem. I applied perturbation force during a simulation with the same functions you mentioned above and I want to put an array to the force application point during the simulation. If the size of the array changes relative to the force magnitude it would be great. Did you solve your problem?