can I estimate or predict a path for random point, given its position,its angle,its velocity ?

1 次查看(过去 30 天)
if I deployed a point randomly, so when I want to move it its adding the displacement to the position as a result we will get the new position. My question is that, can I esstimate X values for each displacement with out move this random point OR make it move and back to its position to test the second angle and back to its position to test the third angle and so forth...? as illustrated in the example below. Thanks in advance for any help
angleOptions = [-14.3239 -3.5810 -2.8648 4324 1.4324 1.5915 1.7905 2.0463 2.3873 14.3239];
for bestangle1 = 1:numel(angleOptions)
X(bestangle1) = here do some calculations
pickangle11 = ActionSpace11(bestangle1);
displacement = [cos(bestangle1(:)) .* v1 ,sin(bestangle1(:)) .* v1]; % v=8mps
end
NewPosition= OldPosition + displacement;
  4 个评论
Torsten
Torsten 2022-10-17
I don't understand the problem. Use variables with different names:
for bestangle1 = 1:numel(angleOptions)
virtual_X(bestangle1) = here do some calculations
pickangle11 = ActionSpace11(bestangle1);
virtual_displacement = [cos(bestangle1(:)) .* v1 ,sin(bestangle1(:)) .* v1]; % v=8mps
end
virtual_NewPosition= OldPosition + virtual_displacement;
omar th
omar th 2022-10-18
编辑:omar th 2022-10-18
ok, first let's assume we have a robot, so we want to select the best trajectory for this robot. this robot has many angles to choose the best direction. Now the question is, Could this robot to estimate the given paths to select the best one among them without move, but this robot has many given information such as velocity, angles, as a result, robot could know the displacement by adding this displacement to its current position for sure will know the new position for each angle that it selected.
Another thing the robot when its move to its new position will grant service to number of users, So does that make sense to estimate its performance without move if so how ? I hope to let you get my point, thanks in advance @Torsten

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Coordinate Transformations 的更多信息

产品


版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by