Page 1 of 1
Car-like Robot Local Path Planning
Posted: 17 Mar 2013, 15:42
by qiwang
Re: Car-like Robot Local Path Planning
Posted: 17 Sep 2013, 15:42
by fairread
Hi qiwang,
Impressive videos! :) Anyway I wonder a few things from your simulation, first is how do you manage to move your target to other places, is it by some kind of coding or do you move it manually by mouse scroll? And secondly how does the car manage to detect the target location? Is it through camera on the fly view? Thanks for your answers.
Re: Car-like Robot Local Path Planning
Posted: 18 Sep 2013, 09:39
by qiwang
Hello fairread
You are partly right :) the target is moved manually with mouse by clicking on the target and dragging it to another place. But the robot is programmed to save the position and direction of the target and keep detecting whether the state of the target has been changed. This can be done with the functions simxSetObjectPosition and simxGetObjectOrientation by providing the handle of the target as the parameter.
You can take a look
http://www.v-rep.eu/helpFiles/en/apiFun ... ctPosition
fairread wrote:Hi qiwang,
Impressive videos! :) Anyway I wonder a few things from your simulation, first is how do you manage to move your target to other places, is it by some kind of coding or do you move it manually by mouse scroll? And secondly how does the car manage to detect the target location? Is it through camera on the fly view? Thanks for your answers.