Search found 14 matches

by mcheli
Mon Oct 26, 2015 2:18 pm
Forum: Developer Discussions
Topic: Meaning of Motor Speed and Gyro Values
Replies: 5
Views: 4752

Re: Meaning of Motor Speed and Gyro Values

That makes perfect sense to me now :). I'll see what I can do for analysis on the server side to make those d/sec make sense, but since my objective is to show corrections to change in pitch / roll I think it shouldn't be too bad. This project has been a dream to work on so far, you guys do a really...
by mcheli
Mon Oct 26, 2015 2:11 pm
Forum: Developer Discussions
Topic: Get Motor Speed from Parameter
Replies: 8
Views: 5892

Re: Get Motor Speed from Parameter

Got it! I had to change the data type form int16_t to uint16_t and that did it.

You guys are great!
by mcheli
Mon Oct 26, 2015 1:56 pm
Forum: Developer Discussions
Topic: Get Motor Speed from Parameter
Replies: 8
Views: 5892

Re: Get Motor Speed from Parameter

arnaud wrote:Please keep up updated, what kind of analysis do you do on the web server?
I am planning to visualize the data coming off of the quad to show the correlation between pitch and motor speed. I'm using an IoT platform (Thingworx) to show this data and analyze it.
by mcheli
Mon Oct 26, 2015 1:54 pm
Forum: Developer Discussions
Topic: Get Motor Speed from Parameter
Replies: 8
Views: 5892

Re: Get Motor Speed from Parameter

Sorry for responding so late, I figured out the JSON (I just stored as float and retrieved as float) and I have data streaming! Thanks so much for the help. I do have a major problem with the data however, by using a int16_t data type once the quadcopter starts getting to 70-80% throttle, and the 32...
by mcheli
Mon Oct 26, 2015 1:23 pm
Forum: Developer Discussions
Topic: Meaning of Motor Speed and Gyro Values
Replies: 5
Views: 4752

Meaning of Motor Speed and Gyro Values

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... { "logconfig": { "logblock": {"name": "Stabilizer", "period":50, "variables": [ {"nam...
by mcheli
Tue Oct 13, 2015 1:26 pm
Forum: Developer Discussions
Topic: Get Motor Speed from Parameter
Replies: 8
Views: 5892

Re: Get Motor Speed from Parameter

Awesome! Thanks so much for the reply :)

Quick question, should I modify my JSON to storeas and fetchas int16_t? Or should it remain the way it is currently? I'll give this a try later on today and let you know how it goes!
by mcheli
Mon Oct 12, 2015 12:39 pm
Forum: Developer Discussions
Topic: Get Motor Speed from Parameter
Replies: 8
Views: 5892

Re: Get Motor Speed from Parameter

Still stuck on getting this to work, tried messing around with the data types quite a bit but no luck.
by mcheli
Tue Oct 06, 2015 7:48 pm
Forum: Developer Discussions
Topic: Get Motor Speed from Parameter
Replies: 8
Views: 5892

Get Motor Speed from Parameter

Hi All, I'm looking to be able to access the motor parameter values in a program that I am writing. In summary, I want to grab the x, y and z values of the gyroscope, and the 4 motor speeds and send them in real time to a web server for analysis. I've got the send to webserver part down and I am abl...
by mcheli
Tue Oct 06, 2015 3:14 pm
Forum: Developer Discussions
Topic: Accessing Parameter Value for Real Time POST Requests
Replies: 5
Views: 4702

Re: Accessing Parameter Value for Real Time POST Requests

Got it! Turns out I was defining the variables for the url in the wrong location >.<. Working code here... # -*- coding: utf-8 -*- # # || ____ _ __ # +------+ / __ )(_) /_______________ _____ ___ # | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \ # +------+ / /_/ / / /_/ /__/ / / /_/ / / /_/ __/ # || ...