Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi
I'm developing a real time flight simulation application in C++. My requirement is as follows. I have flight mathematical model which has to be executed at 12.5 msec. I have to take out the output and send to various subsystems at different timings, say 20msec,40msec etc.. What is the best approach to do this. Currently I'm running flight model in a multimedia timer. Please give suggestion to do this in a professional way.

Thanks in Advance

Vijeesh
Posted

1 solution

For Windows theQPC-API is best what the system can provide.

My advise is to have a central timing instance which manages all timestamps and action delays, so any delays arent summed up.
 
Share this answer
 
Comments
Vijeesh Theningalaedathil 16-Aug-15 23:54pm    
Hi Karsten,

Thanks for your suggestion regarding timing. Can you provide some reference or sample code on that. Also what about communication? Which is the best API to use communication between my model and other interfaces.

Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900