Thanks, it works!
Now I have to study a much better way to track wiimote movements, as I'm
getting too much drift.
Also, I would like to add wiimote support to TelescopePlugin, instead of
developing a new one, as I noticed it's doing mostly what I need to.
It needs a lot of refactoring though, I'll post result as i'm done.
On Thu, Aug 2, 2012 at 4:54 PM, Alexander Wolf <[email protected]>wrote:
> Hi!
>
> >I was also trying moveToJ2000, translating AltAz coordinates with
> StelCore::altAzToJ2000, but as these methods are not well documented i'm
> stuck at understanding what paramters do they accept (Vector3, meaning Alt,
> Az and....? also, it's radians? deg?)
>
> Please try it:
>
> StelMovementMgr* mvmgr = GETSTELMODULE(StelMovementMgr);
> Q_ASSERT(mvmgr);
>
> Vec3d aim;
> double dAlt = StelUtils::getDecAngle(alt);
> double dAzi = M_PI - StelUtils::getDecAngle(azi);
>
> StelUtils::spheToRect(dAzi,dAlt,aim);
> mvmgr->moveToJ2000(StelApp::getInstance().getCore()->altAzToJ2000(aim,
> StelCore::RefractionOff), 1);
>
> --
> With best regards, Alexander
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Stellarium-pubdevel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel