Peer-to-Peer Forum

 

Login Register    
How to increase speed of aircraft after crossing eac way points
Posted: 09 July 2009 01:43 AM  
Newbie
Rank
Total Posts:  3
Joined  2009-07-08

Hi Everybody

I am new to vegaprime. I am trying to increase the speed of aircraft after crossing each waypoint defined, but i am not able to do it.
I tried wit kinematics option but i am not sure.

I want to increase the speed of aircraft while take off and to attain max speed in the middle of the path and to decrease smoothly while landing.

Thanks in advance

ANAND V

 
Posted: 21 July 2009 08:37 AM   [ # 1 ]  
Sr. Member
RankRankRankRank
Total Posts:  112
Joined  2009-01-16

You will need to go about this through programming. The path navigator is essentially the controller that moves your object along the path so you might need to focus on that class.

 
Posted: 04 September 2010 04:34 PM   [ # 2 ]  
Newbie
Rank
Total Posts:  5
Joined  2009-06-10
steveo - 21 July 2009 08:37 AM

You will need to go about this through programming. The path navigator is essentially the controller that moves your object along the path so you might need to focus on that class.

Can you explain it? many thanks

 
Posted: 07 September 2010 12:33 PM   [ # 3 ]  
Member
RankRankRank
Total Posts:  78
Joined  2009-01-15

Working with Paths programmatically can be complicated.  To help you get oriented with them I would suggest going through the vpPath samples found at
\resources\samples\vegaprime\vppath\

Take a look at the sample called vppath_lookat because in it, it appears they are changing the “initial speed” between waypoints.  There is a method of the class vpPathKinematicState called setUserInitialSpeed().  It appears this methods sets the speed at which you start a segment in a path.  This is done inside the configure() method.  I have not tried to do what you are asking.

Another thing to consider is the AI.Implant module.  It is an addition fee but may be well worth it if you want to add some “smarts” into path following.  It will do precisely what you are asking.  Other wise you’ll have to figure out how to do it in code.

EDIT:  Another thing to consider is instead of trying to modify the speed, instead think about modifying accelerations and decelerations triggered at the points you desire.  I don’t use the Path tool because A) its buggy and B) it doesn’t work for LADBM terrains.

Side note: I found out from Presagis that the official stance is they have no plans to fix the Path Tool and its many bugs such as not working with LADBM.  Isn’t that nice. smile

Steve