Quote: "So you're suggesting I track down and buy an original cartridge along with the necessary hardware to rip the data? Sounds a bit long-winded to me."
If you want to play emulated games
legally, then yeah
Quote: "


http://en.wikipedia.org/wiki/Walmart"
We don't have Walmart in Australia. I've heard the name on various American TV shows before but never known what kind of store it was. I guess it's sort of an industrial-strength supermarket...? Does Walmart sell food? Because if so, we have nothing like it in Australia. Closest thing would be BigW or Kmart, but neither sells food (unless you count the massive lolly aisles both stores have).
Quote: "See this picture?"
-__-
Anyone know anything about vector maths? Ok, so I have my Arduino hooked up to an MPU-6050 6-axis gyro+accelerometer GY-521 breakout board. I FINALLY got it all working properly and successfully sending serial data straight to DBPro (which involved a slight modification to my Simple Serial library to because DBPro doesn't support unsigned types), but I've come up against a problem. I'm certain there must be a simple way around it, but my brain refuses to invent anything for me.
Basically, I'm currently using a complementary filter to combine the gyro rates of angular rotation with the accelerometer gravity vector for stable yet responsive rotations. Here's my current code:
angleX#=0.98*(angleX#+(gyroX/16.4)*timeMultiplier#)+0.02*atanfull(accelY,accelZ)
angleY#=0.98*(angleY#+(gyroY/16.4)*timeMultiplier#)+0.02*atanfull(accelZ,accelX)
angleZ#=0.98*(angleZ#+(gyroZ/16.4)*timeMultiplier#)+0.02*atanfull(accelX,accelZ)
The issue is that the accelerometer obviously can't measure rotations about the Y axis (up), but the gyro can. When I twist the board around Y, the cube representation in DBPro twists for a second then is pulled back to 0. That's because when the board is upright (with the Y axis pointing upwards) the atanfull results in 0.
What I've been scouring the internet for (but really don't know what to search) is a way to reduce the affect of the accelerometer data the less use it becomes. So as the X axis, say, is rotated so it's perpendicular to the ground (and becomes useless for measurements) the gyro is allowed more and more control, until when the X axis becomes fully perpendicular the gyro is taking no notice of the accelerometer for that axis and relies fully on the gyro.
Would anyone here be able to help me? I hope I've explained myself well enough... I just can't get my head around what I need to do