How to simgetObjectPosition() to match the coordinate of the robot given on the screen?
Posted: 11 May 2017, 02:41
Hi,
I am simulating khepera III robots, and am using the coordinate given on the screen as the absolute position starting point for each robot, however since I am noticing some errors in odometry, I wish to plot the difference in the actual and reported coordinate of each robot. Hence, I proceeded to use the simgetObjectPosition() function while passing k3Handle and -1 as arguments (k3Handle is the handle of the khepera robot and -1 since I want a absolute coordinate). However, I am getting completely different readings from the output of the function when compared to the screen robot coordinate.
Can you provide any insight into this issue?
thanks,
Luke
I am simulating khepera III robots, and am using the coordinate given on the screen as the absolute position starting point for each robot, however since I am noticing some errors in odometry, I wish to plot the difference in the actual and reported coordinate of each robot. Hence, I proceeded to use the simgetObjectPosition() function while passing k3Handle and -1 as arguments (k3Handle is the handle of the khepera robot and -1 since I want a absolute coordinate). However, I am getting completely different readings from the output of the function when compared to the screen robot coordinate.
Can you provide any insight into this issue?
thanks,
Luke