I have set up a robot in CoppeliaSim with inverse kinematics. I would like to use the inverse kinematics to write a program that I can export to Arduino.
More specifically, I would like to use mouse translation to move a part of the robot and then have CoppeliaSim record that movement as a command in Lua. Then I can use this movement multiple times, adjust in various ways and finally export to Arduino.
I understand how to record the movements with the graph function, but I can only export the graph as CSV file and I don't know how to incorporate this data into a Lua program.
Programming with inverse kinematics
Re: Programming with inverse kinematics
If I understand you correctly, your question is about exporting data to an external application, and not as your title states about inverse kinematics?
You can export any type of data very easily. You can simply use a child script in which you can collect the data you wish to export (e.g.
Cheers
You can export any type of data very easily. You can simply use a child script in which you can collect the data you wish to export (e.g.
sim.getObjectPosition
), and at the end of a simulation simply write a file with your data.Cheers