tauruslittrow84
New member
- Joined
- Nov 12, 2011
- Messages
- 58
- Reaction score
- 0
- Points
- 0
OK, my desperation has hit an all-time low. I will pay 50 dollars to the first person who delivers a chippersat.cpp and chippersat.h file to my pm box that will compile successfully on VSExpress2008. The module has been tested and worked fine except for the fact that it is a tailsitter and needs to have the Orbiter's default autopilots configured so that prograde and retrograde are in the Y axis instead of Z. Hylnkacg posted his code to do this at the following forum address. Two segments of code are to go into ClbkPreStep, which I did, another, he just says paste into the .cpp file. He admits there was a small orbiter math function that needed to be included which he forgot to share. It can be found in the UsefulFunctions.cpp file I included or alternatively in the orbitermath.h file I created. Some forum members say I must enter a Radian Angle and Rotation Axis into the line of code that reads
"RotateVector" this is the problem line. Hylnkacg himself on the contrary says all you do is cut and paste all the code and any tailsitter vessel can be adapted to Orbiters autopilot. He says just paste the "math" code into the header file. Nothing I do results without a compiler error about the above line. I have tried EVERYTHING that I know. In my zip file is my mesh and a project file folder entitled "chippersat" for VSExpress with files .cpp/.h , dependencies/solution etc. I have also included textures and a WORKING .dll file for my ship so you can see how it is working now with prograde misaligned, but you can see basically how I want my ship to function with the VCockpit pilots feet pointing in the -Y direction toward the landing legs. My zip file can be downloaded here home.comcast.net/~astromusiccat6684/download.html
Hylnkacg's posted code can be found here:
http://www.orbiter-forum.com/showthread.php?t=27280
But its already stuck(wrongly, I suppose) into my included .cpp file
I hate to be so commercially vile and even perhaps against forum standards by offering money. But if some administrator accepts what is probably a quick job, I will gladly the pay the Forum's administrative upkeep for a month with 60 dollars donation....or as I said the first to drop a working file to me I can deposit 50$ to a paypal account....I've studied C++ a good bit and have been working for two years learning orbiter coding to create my ship. I'm very tired tho' as this seems to be the last obstacle with no end in site. As there has been no help offered, I thought I'd try this one last attempt. Thanks, TaurusLittrow
"RotateVector" this is the problem line. Hylnkacg himself on the contrary says all you do is cut and paste all the code and any tailsitter vessel can be adapted to Orbiters autopilot. He says just paste the "math" code into the header file. Nothing I do results without a compiler error about the above line. I have tried EVERYTHING that I know. In my zip file is my mesh and a project file folder entitled "chippersat" for VSExpress with files .cpp/.h , dependencies/solution etc. I have also included textures and a WORKING .dll file for my ship so you can see how it is working now with prograde misaligned, but you can see basically how I want my ship to function with the VCockpit pilots feet pointing in the -Y direction toward the landing legs. My zip file can be downloaded here home.comcast.net/~astromusiccat6684/download.html
Hylnkacg's posted code can be found here:
http://www.orbiter-forum.com/showthread.php?t=27280
But its already stuck(wrongly, I suppose) into my included .cpp file
I hate to be so commercially vile and even perhaps against forum standards by offering money. But if some administrator accepts what is probably a quick job, I will gladly the pay the Forum's administrative upkeep for a month with 60 dollars donation....or as I said the first to drop a working file to me I can deposit 50$ to a paypal account....I've studied C++ a good bit and have been working for two years learning orbiter coding to create my ship. I'm very tired tho' as this seems to be the last obstacle with no end in site. As there has been no help offered, I thought I'd try this one last attempt. Thanks, TaurusLittrow