Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Matlab: Path Prediction Query

  • 07-02-2006 06:50PM
    #1
    Closed Accounts Posts: 102 ✭✭


    I'm doing a project on an autonomous tram and i need to able to predict the path of oncoming objects. However for the moment I'm only concerned with calculating this in a 2D graph, with x repesenting the distance from the scanner and y the angle.

    A scan is taken at equal intervals, eg. every 1 second. Considering isolating just one object from the field and getting the object's general xy co-ordinate at each scan, after four scans I should have enough info to calculate the predicted path of that object, and represent its path as a curve.

    What math is involved to calculate the velocity, acceleration, jerk, and predicted path for the object, using the x and y co-ordinates? Has anyone any experience in this?

    This appears to be a straight forward physics question but I decided to post here as I using Matlab to programme. Does anyone know of any useful functions to aid me. Thanks.


Advertisement