Meaning of Motor Speed and Gyro Values
Posted: Mon Oct 26, 2015 1:23 pm
Hi All,
I just have a quick question about some of the data that I am obtaining from my Quadcopter. I am retrieving Motor Speed and Gyroscope data...
But the values that I am getting from the quad make little sense to me and I haven't been able to find documentation. Motor speed has a range of about -20,000 to 50,000 (I think?). Gyro has a range of about -400, to 400.
The end result of what I am doing is streaming the data values to a web server and visualizing / analyzing the data to show the correlation between motor output and quad copter angle.
Any idea what this data actually means so I can analyze it?
I just have a quick question about some of the data that I am obtaining from my Quadcopter. I am retrieving Motor Speed and Gyroscope data...
Code: Select all
{
"logconfig": {
"logblock":
{"name": "Stabilizer", "period":50,
"variables": [
{"name":"gyro.x", "type":"TOC", "stored_as":"float", "fetch_as":"float"},
{"name":"gyro.y", "type":"TOC", "stored_as":"float", "fetch_as":"float"},
{"name":"gyro.z", "type":"TOC", "stored_as":"float", "fetch_as":"float"},
{"name":"motor.m1", "type":"TOC", "stored_as":"float", "fetch_as":"int16_t"},
{"name":"motor.m2", "type":"TOC", "stored_as":"float", "fetch_as":"int16_t"},
{"name":"motor.m3", "type":"TOC", "stored_as":"float", "fetch_as":"int16_t"},
{"name":"motor.m4", "type":"TOC", "stored_as":"float", "fetch_as":"int16_t"},
]}
}
}
The end result of what I am doing is streaming the data values to a web server and visualizing / analyzing the data to show the correlation between motor output and quad copter angle.
Any idea what this data actually means so I can analyze it?