Hello Everyone, I have a model of an arm and want to control the arm in MuJoCo by using a myoware sensor mounted on my own arm. Is there a way to do it ? I have written the code that acquires the data from the sensor and stores it in an array. Problem I am facing is how to integrate that code into MuJoCo's mjData datastructure. Any help is greatly appreciated. Thanks
I was able to figure it our and it was fairly simple. I just started with simulate.cpp and just added in my data acquisition code in it. And called the data acquisition function from the simulation thread.