diy-spacemouse icon indicating copy to clipboard operation
diy-spacemouse copied to clipboard

6 Axis Sugestion

Open david0green94 opened this issue 1 year ago • 3 comments

Hi, How hard do you think it would be to modify the design for 6 axis? In the spirit of using parts laying around I realised a drone flight controller which are somewhat cheap and very available have at least 5 axis gyro + altitude. Just trying to work out how to pull the data from betaflight now.

david0green94 avatar Jul 16 '23 17:07 david0green94

That depends how big the flight controller pcb is, I'd imagine. Do you have a link for it?

LoganFraser avatar Jul 20 '23 01:07 LoganFraser

I was playing with a similar idea by pairing the magnetometer readings with a gyro + accelerometer and calculating the Euler angles that way. That's why, in the first prototype, the sensor is placed on top of the platform. However, I found it a bit sticky and unreliable in terms of resolution for the amount of motion the knob is supposed to detect. It could be due to my poor programming, I only did a few quick tests, so I can't say for sure if t's the right approach or not.

sb-ocr avatar Jul 20 '23 17:07 sb-ocr

david0green94 Flight boards designed for droned would be a major waste of space. Most of the components on the flight board would be dedicated to power management which can be done externally. Flight boards are also prone to power-based magnetometer drift on lower-end models, which is difficult to account for.

If this is an option people want to consider, I would recommend the LSM6DSR chip for 6DOF tracking. https://www.st.com/resource/en/datasheet/lsm6dsr.pdf

rodesch-ryan avatar Dec 04 '23 22:12 rodesch-ryan