Search found 14 matches

by luisruiz
Fri Feb 07, 2014 9:40 am
Forum: Developer Discussions
Topic: Cannot flash the firmware with the new PCClient
Replies: 2
Views: 2319

Re: Cannot flash the firmware with the new PCClient

I was wondering if I have to upgrade the CrazyRadio, if so, how do I do it?
Thanks. :)
by luisruiz
Fri Feb 07, 2014 7:53 am
Forum: Developer Discussions
Topic: Cannot flash the firmware with the new PCClient
Replies: 2
Views: 2319

Cannot flash the firmware with the new PCClient

Hello, I am trying to flash the firmware with the new update of the PCClient, but I can't, I am using Windows Vista, I get this error: ******************************************************************************************************** Traceback (most recent call last): File "\bitcraze-craz...
by luisruiz
Tue Jan 14, 2014 1:52 pm
Forum: Developer Discussions
Topic: Crazyflie current draw
Replies: 1
Views: 2157

Crazyflie current draw

Hello, I was wondering if anyone knows how much is the current draw of the CF??? The datasheet says the battery has a capacity of 170mAh, then the battery has a continious discharge rate of 25C. That means capacity * discharge rate = 4.25 A / 4 motors = 1.0625 A each motor max. If we apply a safety ...
by luisruiz
Sat Nov 02, 2013 8:18 am
Forum: Developer Discussions
Topic: Yaw from magnetometer locked in one position.
Replies: 5
Views: 5182

Re: Yaw from magnetometer locked in one position.

Hello, I do not have an account on bitbucket yet, : P. I was doing more testings and it seems the calibration does not work if the CF is tilted too much. More over, I think only the hard iron calibration is needed, the one that adjust the offset of the readings. Below is a graph of the raw data: mag...
by luisruiz
Fri Oct 25, 2013 5:29 am
Forum: Developer Discussions
Topic: Yaw from magnetometer locked in one position.
Replies: 5
Views: 5182

Re: Yaw from magnetometer locked in one position.

It is working! The yaw reading is spanning 360 degrees and it does not drift. :) I had to get lots of data to do the calibration and I removed data out of range.
magnetometerCalibrationCH9_05.png
X axis: Data point
Y axis: Angle
by luisruiz
Mon Oct 21, 2013 9:54 am
Forum: Developer Discussions
Topic: Yaw from magnetometer locked in one position.
Replies: 5
Views: 5182

Yaw from magnetometer locked in one position.

Hello, I am trying to implement an autopilot in the Crazyflie. I have been making some changes to the firmware to implement a new control law. For that I need to know the orientation in pitch, roll and yaw. I already added gyro drift subtraction for pitch and roll, and the readings seems to be right...
by luisruiz
Thu Aug 22, 2013 9:28 am
Forum: Developer Discussions
Topic: Turn on motors from cfclient
Replies: 2
Views: 2874

Re: Turn on motors from cfclient

Hello, I am able to control the motors from the cfclient changing the values in the firmware :) !!!. Now, something I noticed, is as explained in the wiki, "Sending a command makes it apply for 0.5 seconds, after which the firmware will cut out the power". After navigating the firmware cod...
by luisruiz
Fri Aug 16, 2013 10:24 am
Forum: Developer Discussions
Topic: Turn on motors from cfclient
Replies: 2
Views: 2874

Turn on motors from cfclient

Hello, I am trying to turn on the motors from the cfclient using: self.crazyflie.param.set_value("motor.m1", 10001) but I get the following warnings: Fri, 16 Aug 2013 19:12:36 WARNING cflib.crazyflie.toc Unable to find variable [motor.m1] Fri, 16 Aug 2013 19:12:36 WARNING cflib.crazyflie.p...
by luisruiz
Mon Aug 12, 2013 12:20 pm
Forum: Developer Discussions
Topic: Cannot read stabilizer
Replies: 2
Views: 2553

Re: Cannot read stabilizer

Hello, Thanks, the following is already in the firmware, in module \modules\src\stabilizer.c: LOG_GROUP_START(stabilizer) LOG_ADD(LOG_FLOAT, roll, &eulerRollActual) LOG_ADD(LOG_FLOAT, pitch, &eulerPitchActual) LOG_ADD(LOG_FLOAT, yaw, &eulerYawActual) LOG_ADD(LOG_UINT16, thrust, &actu...
by luisruiz
Fri Aug 09, 2013 8:50 am
Forum: Developer Discussions
Topic: Cannot read stabilizer
Replies: 2
Views: 2553

Cannot read stabilizer

Hello, I was trying to read some variables from the Crazyflie on the Windows side, when I read the accelerometer or the gyro axis with: allVar_log_conf.addVariable(LogVariable("acc.x", "float")) allVar_log_conf.addVariable(LogVariable("gyro.y", "float")) every...