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

1 view (last 30 days)
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 Comments
Torsten
Torsten on 17 Oct 2022
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 on 18 Oct 2022
Edited: omar th on 18 Oct 2022
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

Sign in to comment.

Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!