Search found 13 matches

by mrmks
Sat Oct 15, 2016 2:43 am
Forum: Support
Topic: basicparam.py not changing value?
Replies: 1
Views: 830

basicparam.py not changing value?

When I run 'basicparam.py', I get nice list of parameter values, but the 'Write' section looks funny. Is kd really being updated, but not on the client side? Thanks! Output: Have fetched all parameter values. Write: pid_attitude.pitch_kd=0.64 The connected Crazyflie has 1024kb of flash Readback: pid...
by mrmks
Fri Oct 14, 2016 10:35 pm
Forum: Developer Discussions
Topic: max sustained yaw rate possible?
Replies: 3
Views: 1324

Re: max sustained yaw rate possible?

Thank you for the suggestion Tobias! I am even more confused now, because yesterday I captured the first picture of yawOutput and today I captured the second picture, without changing the code. yawout.yawOutput.png yesterday: seem to show a maximum value being help for yawrate, then tapering off. ya...
by mrmks
Mon Oct 10, 2016 9:28 pm
Forum: Developer Discussions
Topic: max sustained yaw rate possible?
Replies: 3
Views: 1324

max sustained yaw rate possible?

When I fly my crazyflie 2 (and crazyflie 1), I can't seem to get sustained yaw rates above 500 degrees / second. Somewhere the yaw rate is being effectively limited. Does anyone know what causes this? Here's what I did: in crazyflie-clients-python/src/cfclient/utils/input/__init__.py : change (near ...
by mrmks
Thu Sep 29, 2016 3:37 am
Forum: Developer Discussions
Topic: Acc / Gyro range setting
Replies: 1
Views: 868

Acc / Gyro range setting

Hello, I'd like to set higher maximum acceleration and gyro ranges. I'm looking crazyflie-firmware/src/drivers/src/mpu6050.c Right now, MPU6050_GCONFIG_FS_SEL_BIT = 4 and MPU6050_GCONFIG_FS_SEL_LENGTH = 2 It looks like I just need to change one of these values to 3 for the gyro, but which one is it?...
by mrmks
Wed Sep 28, 2016 2:54 am
Forum: Support
Topic: ZMQ & Thread
Replies: 1
Views: 1024

ZMQ & Thread

Right now, when I try to run zmqsrvtest, nothing happens. I was seeing "ZMQ library probably not installed" some times before, but not anymore. Is ZMQ the 'right' way to add (for example) a logging thread and a control thread to the client side? Is it bad to use the packet dispatcher thread (the mai...
by mrmks
Tue Sep 27, 2016 5:33 pm
Forum: Support
Topic: [SOLVED] Simple Hover Program
Replies: 4
Views: 2295

[SOLVED] Re: Simple Hover Program

Thanks! Altitude hold is beautiful now, takes off from a bench and stays about 15 cm above. Here's the code I used: import logging import time from threading import Thread import cflib from cflib.crazyflie import Crazyflie from cflib.crazyflie.log import LogConfig logging.basicConfig(level=logging.E...
by mrmks
Tue Sep 27, 2016 5:40 am
Forum: Support
Topic: [SOLVED] Simple Hover Program
Replies: 4
Views: 2295

[SOLVED] Simple Hover Program

Hi, I am trying to run the simple hover program from another thread, but the parameter 'flightmode.althold' is not being set. From 'basicparam.py', I can see the 'flightmode' parameter with althold as the first option. How can I make the hover program work? Here is the hover program output: hold sen...
by mrmks
Mon Sep 19, 2016 6:59 am
Forum: Developer Discussions
Topic: CAREFREE mode and flying with non zero yaw rate
Replies: 2
Views: 1186

Re: CAREFREE mode and yaw damping

Thanks @theseankelly! I'm trying to make a quadrotor that will fly with a constant non-zero yaw rate. Possible reasons to fly with non-zero yaw rate include lower effective disk loading, prop-loss robustness, and maybe even flying with fewer motors, like the vikacopter http://diydrones.com/m/blogpos...
by mrmks
Tue Sep 13, 2016 6:32 pm
Forum: Support
Topic: [SOLVED] crazyflie artificial horizon/throttle not responding
Replies: 2
Views: 1333

Re: crazyflie artificial horizon/throttle not responding

Thank you, as you said, the red led was blinking at 2 Hz, not 0.5 Hz. Moving to a stable flat surface for calibration solved my problem of motors not responding. :oops:
by mrmks
Tue Sep 13, 2016 4:36 am
Forum: Support
Topic: [SOLVED] crazyflie artificial horizon/throttle not responding
Replies: 2
Views: 1333

[SOLVED] crazyflie artificial horizon/throttle not responding

Hi, What am I doing wrong? I have 2 crazyflies (CF2.0) flashed with 2016.09 zip files. Both pass self check and spin props but that's it. I can connect to them with cfclient, but moving throttle input doesn't do anything. Also, artificial horizon doesn't update. also python -m examples.ramp show thi...