trajectory in real time animated

3 views (last 30 days)
Jaime
Jaime on 21 Oct 2013
Hi, i am working on a programm that shows on a graphic the trajectory of a spherical robot. The robot only can move straight or making circles, and the variables that i give to the programm are the velocity(vel), and the curvature radius(cr). So here my questions:
-how can i introduce the variables in real time? so each time i introduce the new ones the trayectory changes
-how can i generate the trayectory and show it? the main problem here is the function that describes the movement of the ball: linear movement while cr is zero, making a circle and knowing the center of that circle when cr is not zero, and back to the linear movement when cr is zero again with that new direction.
thanks

Answers (0)

Categories

Find more on Animation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!