I'm currently working on a project where I'm using a SpaceMouse to control the position of an end effector in a simulation environment. I've successfully connected MATLAB to my simulation software, CoppeliaSim, and I'm able to read the position values from the SpaceMouse using MATLAB. However, I'm now at a point where I need to calculate the desired position of the end effector based on the input from the SpaceMouse.
Specifically, I'm looking for guidance on how to interpret the SpaceMouse position values and translate them into appropriate displacement values for the end effector in my simulation. Since the initial position values for the SpaceMouse are all 0, I need assistance in understanding how changes in these values correspond to movements or rotations in my simulation environment.
Any insights or suggestions on how to approach this problem would be greatly appreciated. Thank you!