Search found 12 matches

by ak1394
Sat Apr 19, 2014 8:56 pm
Forum: Developer Discussions
Topic: PS4 Wireless controller via bluetooth
Replies: 1
Views: 2601

PS4 Wireless controller via bluetooth

Hi Guys! Just got my Dualshock 4 controller to work with bluetooth connection on OSX. I updated client to use PySDL2 bindings instead of pygame to take advantage of latest SDL2 which supports PS4 controller connected wirelessly. If anyone is interested, code is at https://github.com/ak1394/crazyflie...
by ak1394
Mon Jun 10, 2013 3:03 pm
Forum: Developer Discussions
Topic: ms5611 barometer usage - more altitude hold
Replies: 21
Views: 24369

Re: ms5611 barometer usage - more altitude hold

BTW, looking at your code it seems that you reading pressure and temperature in one go?

I briefly played with it as well and I was getting the best results when alternating when reading temp and pressure.
by ak1394
Mon Jun 03, 2013 10:18 pm
Forum: Developer Discussions
Topic: 10DOF model sensors
Replies: 25
Views: 21061

Re: 10DOF model sensors

I twisted motor wires when assembling CF, so I have never tried it with the untwisted wires. Also wires are a bit longer than they need to be to reach the motors, and can be moved around a bit. I have suspicion that moving the wires affect magnetometer, so if you have calibrated it and then moved th...
by ak1394
Sun Jun 02, 2013 6:09 pm
Forum: Developer Discussions
Topic: 10DOF model sensors
Replies: 25
Views: 21061

Re: 10DOF model sensors

I've published my code for magnetometer calibration, it is available at:

https://github.com/ak1394/crazyflie-mag ... alibration
https://bitbucket.org/ak1394/crazyflie-pc-client
https://bitbucket.org/ak1394/crazyflie-firmware

Start with the README file available in Github repo.
by ak1394
Thu May 30, 2013 10:53 pm
Forum: Developer Discussions
Topic: 10DOF model sensors
Replies: 25
Views: 21061

Re: 10DOF model sensors

I was flying outdoors with the heading lock on, which is quite fun - you can trow CF up in the air - in almost in any orientation like sideways, hit the throttle and it steadies itself and rotates so you know where the forward is, and you ready to fly it. In the process I crashed it, hitting the gro...
by ak1394
Thu May 30, 2013 2:18 pm
Forum: Developer Discussions
Topic: 10DOF model sensors
Replies: 25
Views: 21061

Re: 10DOF model sensors

I got some results using the magnetometer data. With my current very hackish changes to (mostly) the client, I can lock heading of CF and fly it around the room with its front always pointing the same direction. If I manually rotate it with joystick, it returns to pre-set direction in a few seconds....
by ak1394
Thu May 23, 2013 9:48 am
Forum: Developer Discussions
Topic: 10DOF model sensors
Replies: 25
Views: 21061

Re: 10DOF model sensors

That's something I thought of doing, nice to know it wasn't such a bad idea. Magnetic fields generated in flight don't seem to bad (although I did quite limited testing so far) it seems that running motors on the increasing speeds simply adds to magnetometer readings depending on the speed, so hope ...
by ak1394
Wed May 22, 2013 4:21 pm
Forum: Developer Discussions
Topic: 10DOF model sensors
Replies: 25
Views: 21061

Re: 10DOF model sensors

I'm trying to calibrate and tilt-compensate magnetometer at the moment, seems quite challenging considering magnetic field distortion present indoors.
by ak1394
Sun May 12, 2013 11:18 pm
Forum: Developer Discussions
Topic: GPS receiver extension
Replies: 11
Views: 13257

Re: GPS receiver extension

I wonder what's the point of adding GPS considering very short flying time of Crazyflie?
by ak1394
Sun May 12, 2013 8:17 pm
Forum: Developer Discussions
Topic: 10DOF model sensors
Replies: 25
Views: 21061

Re: 10DOF model sensors

One idea is to limit the thrust lowering to avoid the Crazyflie dropping like a stone when you release the thrust ... This is a good idea! However before I can try something like this, I want to make sure I'm getting solid sensor readings. It looks like (by simply observing values on the console) b...