Search found 31 matches

by Yaro
Fri Mar 25, 2016 1:14 pm
Forum: Developer Discussions
Topic: IMU sensor upside down
Replies: 8
Views: 6139

Re: IMU sensor upside down

I'm here again! I've solved this problem, I was not correctly changing sings and not in the right place. Now after calibration is done, drone is calm an no motors running with low trust, I've also checked again if correct motor activates on each movement of roll, pitch and yaw. But this not solved m...
by Yaro
Thu Mar 24, 2016 6:34 pm
Forum: Developer Discussions
Topic: IMU sensor upside down
Replies: 8
Views: 6139

Re: IMU sensor upside down

This sounds like you need to look at the distribute power function. The rush you are describing could come from the yaw control loop. Since you inverted everything you should make sure that the power distribution function is still right and for example for the yaw the correction should go in the ri...
by Yaro
Tue Mar 22, 2016 11:26 am
Forum: Developer Discussions
Topic: IMU sensor upside down
Replies: 8
Views: 6139

Re: IMU sensor upside down

Solved with changing signs in limitThurst function. Now motors seems rotating correctly. A new problems is that when I start stabilizer function, without altHold but with manually setting thrust, I've two propeller that rush power about 20%-25% for some seconds, then calming down in some seconds. Af...
by Yaro
Tue Mar 22, 2016 9:53 am
Forum: Developer Discussions
Topic: IMU sensor upside down
Replies: 8
Views: 6139

Re: IMU sensor upside down

I've done more tests and seems pitch and yaw inverted. I've also this problem if I try to place drone in correct position with IMU upside. That's problematic to solve for me, since I can't just flip motors order or change axis sings. Any advice on where is the problem?
by Yaro
Mon Mar 21, 2016 6:30 pm
Forum: Developer Discussions
Topic: IMU sensor upside down
Replies: 8
Views: 6139

Re: IMU sensor upside down

Hi, It is definitely possible and it should just be matter of changing some sign at the output of the IMU. I think we have been trying that at some point but I cannot remember the result. The stabilizer gets the orientation here https://github.com/bitcraze/crazyflie-firmware/blob/master/modules/src...
by Yaro
Tue Feb 23, 2016 10:33 am
Forum: Developer Discussions
Topic: MPU_FSYNC, MPU_INT uses
Replies: 0
Views: 4059

MPU_FSYNC, MPU_INT uses

Hi all, I've found in schematics MPU_FSYNC and MPU_INT pins, they are actually used in FW and with which purposes? I've also a question about PWM, what change if I drive motors at 328kHz or very low like 2kHz? At 168kHz is affected Voltage regulator on board, but at lower frequencies like 2kHz I thi...
by Yaro
Wed Jan 27, 2016 10:10 am
Forum: Developer Discussions
Topic: Values range from controller
Replies: 0
Views: 2117

Values range from controller

Hi all, I want to ask what range of values is calibrated R P Y T from controller to cf with current PID settings. I know that this is float value of 4 bytes, but for example, what is maximum value I can get if I put R lever to maximum and T(2 bytes) lever to maximum? (I suppose I won't get FFFFFFFF)...
by Yaro
Fri Jan 15, 2016 4:00 pm
Forum: Developer Discussions
Topic: Calibration questions
Replies: 0
Views: 2043

Calibration questions

I've some dubts about how calibrations are performed on CF and how much types of calibrations there is. I've found that calibration starts when stabilizer task starts performing first imu reading triggered in a if statement. I suppose this is sensor gyro calibrations of initial state. About this I'v...
by Yaro
Tue Jan 12, 2016 12:32 pm
Forum: Developer Discussions
Topic: Some explainations about code
Replies: 0
Views: 1990

Some explainations about code

Hi all, I open this thread about some part of codes I'd like to have explained(to avoid to open multiple threads with same argument). My questions are newbie so don't esitate to answer with all informations that can be usefull! configblockeeprom.c configblockflash.c They do almost same thing, what's...
by Yaro
Sat Jan 09, 2016 12:17 pm
Forum: Developer Discussions
Topic: Param, what is it use
Replies: 1
Views: 1480

Param, what is it use

Hi all,

I want to ask what is use of Param. I see PARAM_ADD and other macros/functions inside some files, this function or param use it's essential to cf system or it's just for log or read values for debug?