Move a Tricycle: Calculate X_current Position

  • Thread starter transilvanian
  • Start date
In summary, The conversation discusses the process of moving a tricycle from one position to another using a function in Matlab. The function takes in the initial position, front wheel angle, speed, and duration as parameters and returns the new position. The conversation also mentions the distances between the back wheels and between X and the front wheel, and suggests using a vector t and parametrizing curves to model the tricycle's motion.
  • #1
transilvanian
2
0
Hi,
I have a fairly simple question, but I am a newbie. I have to move a tricycle from one position to another. The position of the middle of the two back wheels is described as X_initial = (x, y, theta). The function (in matlab, but I guess it could be in any language) should take in parameter the initial position, the angle of the front wheel (phi), the speed of the front wheel (meter/second) and the duration (in second) and then return the new position X_current (x,y, theta).

The distance between the two back wheels is Z cm and the distance between X and the front wheel is also Z cm.

How can I calculate such a problem?
Thanks
 
Last edited:
Physics news on Phys.org
  • #2
are you trying to write a function modelling the motion of your tricycle?

make a vector t, t=t0:tmax (t = [0 1 2 3 4 ... tmax]

Pos = < X0 + X(t), Y0 +Y(t), theta0 + theta(t) >

choose x(t), y(t), and theta(t) to parametrize any curve you want the tricycle to take, like a circle. hope this helps
 

Related to Move a Tricycle: Calculate X_current Position

1. What is the purpose of calculating the current position of a tricycle?

The purpose of calculating the current position of a tricycle is to determine its exact location relative to a reference point. This information can be useful for navigation, tracking, and monitoring the movement of the tricycle.

2. How is the current position of a tricycle calculated?

The current position of a tricycle can be calculated using mathematical formulas that take into account the tricycle's speed, direction of movement, and starting position. These calculations can be done manually or with the use of specialized software or devices.

3. What factors can affect the accuracy of calculating the current position of a tricycle?

The accuracy of calculating the current position of a tricycle can be affected by factors such as changes in speed or direction of movement, external forces such as wind or terrain, and errors in measurement or data input. It is important to regularly check and adjust for these factors to ensure accurate calculations.

4. How often should the current position of a tricycle be calculated?

The frequency of calculating the current position of a tricycle depends on the purpose and use of the tricycle. For example, for navigation or tracking purposes, it may be necessary to calculate the position in real-time or at regular intervals. For other applications, such as monitoring movement over a longer period of time, less frequent calculations may be sufficient.

5. Are there any limitations to calculating the current position of a tricycle?

There may be limitations to calculating the current position of a tricycle, such as the accuracy of measurement devices or the complexity of the tricycle's movement. Additionally, factors such as signal interference or technical issues can also affect the accuracy of calculations. It is important to consider these limitations when using the calculated current position for important decision-making.

Similar threads

  • Introductory Physics Homework Help
Replies
4
Views
998
  • Engineering and Comp Sci Homework Help
Replies
9
Views
2K
Replies
15
Views
1K
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
601
Replies
9
Views
2K
  • Introductory Physics Homework Help
Replies
3
Views
976
  • Advanced Physics Homework Help
Replies
4
Views
470
  • Introductory Physics Homework Help
Replies
9
Views
2K
Replies
14
Views
2K
Back
Top