Razer hydra laser show
-
- One Eyed Hopeful
- Posts: 4
- Joined: Fri Jun 21, 2013 11:29 pm
Razer hydra laser show
Hey i'm working on a project of a laser show controlled by the razer hydra but i'm unsure as to how to tell servos on an arduino what to do corresponding to the hydras X and Y axis. I am a programmer but i've never used a dll before.
- cybereality
- 3D Angel Eyes (Moderator)
- Posts: 11407
- Joined: Sat Apr 12, 2008 8:18 pm
Re: Razer hydra laser show
Here is some example C++ code to interface with the Hydra. Of course you need to download the Sixense SDK and link with that.
You'll also have to remove the references to OGRE and replace with whatever you are using for 3D vectors/orientations.
Hope that helps.
You'll also have to remove the references to OGRE and replace with whatever you are using for 3D vectors/orientations.
Hope that helps.
You do not have the required permissions to view the files attached to this post.
-
- One Eyed Hopeful
- Posts: 4
- Joined: Fri Jun 21, 2013 11:29 pm
Re: Razer hydra laser show
Thanks a lot ill see what i can do with this. Sadly hours of googling hadn't helped so this was a last ditch effort.cybereality wrote:Here is some example C++ code to interface with the Hydra. Of course you need to download the Sixense SDK and link with that.
You'll also have to remove the references to OGRE and replace with whatever you are using for 3D vectors/orientations.
Hope that helps.
-
- Certif-Eyed!
- Posts: 661
- Joined: Sun Mar 25, 2012 12:33 pm
Re: Razer hydra laser show
If you want, you can use unity in between because there is "off the shelf" hydra code on the asset store and dead simple serial libraries already in Unity. Plus it lets you visualize the hydra input.
Communicating back and forth between unity and an arduino is easy as pie, even without uniduino (an asset store plugin designed to make all of this easier).
You might need pro to use the hydras though...
Communicating back and forth between unity and an arduino is easy as pie, even without uniduino (an asset store plugin designed to make all of this easier).
You might need pro to use the hydras though...
-
- One Eyed Hopeful
- Posts: 4
- Joined: Fri Jun 21, 2013 11:29 pm
Re: Razer hydra laser show
Thanks for the tip and in terms of the hydra plugin theres a hack to make it work with free.zalo wrote:If you want, you can use unity in between because there is "off the shelf" hydra code on the asset store and dead simple serial libraries already in Unity. Plus it lets you visualize the hydra input.
Communicating back and forth between unity and an arduino is easy as pie, even without uniduino (an asset store plugin designed to make all of this easier).
You might need pro to use the hydras though...