Hello, I wish to display a bar graph of my contact forces in the MuJoCo environment. I am using Matlab to display text using the 'mj_message' function. I can display the forces using Matlab too, but it appears in the Matlab window. How do I switch over to displaying graphs? Is there a function in the documentation that I missed? New Clarification for the above post: I wish to display the value of my applied force (contact) as a bar graph in real time. Basically a bar that would move up and down based on applied force.
Look at the latest simulate.cpp code sample. It displays a bar graph with sensor data, using the built-in figures (rendered in OpenGL). The above assumes that you are using MuJoCo Pro. With HAPTIX you cannot change the executable, so you will have to do it on your end in MATLAB.