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

1 Ansicht (letzte 30 Tage)
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 Kommentare
Torsten
Torsten am 17 Okt. 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 am 18 Okt. 2022
Bearbeitet: omar th am 18 Okt. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Robotics System Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by