Search found 11 matches

by gherlein
Tue Jul 07, 2015 4:10 pm
Forum: Developer Discussions
Topic: CF2 changing to 250Kbps data rate on it's own?
Replies: 1
Views: 1493

CF2 changing to 250Kbps data rate on it's own?

My CF2 changed it's data rate to 250Kbps when I did not tell it to. I reflashed the firmware and it went back to 2Mbps. Then a bit later it popped back to 250Kbps. I was working fairly near a wifi AP - does the firmware on the CF2 change itself based on detected conditions? I'm going to go read the ...
by gherlein
Mon Jul 06, 2015 3:43 pm
Forum: Developer discussions
Topic: Announcing (unworking) C-language driver!
Replies: 0
Views: 2629

Announcing (unworking) C-language driver!

I've started a native C-language port of the interface to the CrazyRadio and CrazyFlie. Why? Because it's fun, and because I wanted to really understand how the low level stuff worked. I could have used the libcflie code (https://github.com/fairlight1337/libcflie) by Jan Winkler but I don't like C++...
by gherlein
Mon Jul 06, 2015 3:42 pm
Forum: Developer Discussions
Topic: Announcing (unworking) C-language driver!
Replies: 1
Views: 1475

Announcing (unworking) C-language driver!

I've started a native C-language port of the interface to the CrazyRadio and CrazyFlie. Why? Because it's fun, and because I wanted to really understand how the low level stuff worked. I could have used the libcflie code (https://github.com/fairlight1337/libcflie) by Jan Winkler but I don't like C++...
by gherlein
Sun Jul 05, 2015 1:24 pm
Forum: Developer Discussions
Topic: Cannot get scan working in C
Replies: 2
Views: 2021

Re: Cannot get scan working in C

I discivered that my CF2 was actually set to use the 250KB data rate for some reason. I reflashed the firmware and it resumed the default 2M and now I can scan for it fine.

I am getting back a value of 80 on the channel it's on. What does that value mean? Is it an RSSI?
by gherlein
Sat Jul 04, 2015 8:59 pm
Forum: Developer Discussions
Topic: [SOLVED] commander ACK packets have no payload?
Replies: 1
Views: 1575

[SOLVED] commander ACK packets have no payload?

What's the expected reply to a command packet? If I send 0,0,0,0 what should I get back from the copter?

I'm seeing an ACK status byte of 0x00 which looks like a good ACK. The payload has nothing though. Normal?
by gherlein
Sat Jul 04, 2015 8:06 pm
Forum: Developer Discussions
Topic: Cannot get scan working in C
Replies: 2
Views: 2021

Cannot get scan working in C

I have C code to open the USB and set up the CrazyRadio. I think that's working OK. I don't really have a way to test that! So, I was writing a function to scan the radio channels and see if I can find the CF2. I've tried a pile of stuff and finally have to ask for help. Should this function work if...
by gherlein
Sat Jul 04, 2015 6:37 pm
Forum: Developer discussions
Topic: cannot get scan working in C
Replies: 0
Views: 2336

cannot get scan working in C

I have C code to open the USB and set up the CrazyRadio. I think that's working OK. I don't really have a way to test that! So, I was writing a function to scan the radio channels and see if I can find the CF2. I've tried a pile of stuff and finally have to ask for help. Should this function work if...
by gherlein
Wed Jun 24, 2015 10:38 am
Forum: Developer Discussions
Topic: [SOLVED] Crazieflie Communication Simulator?
Replies: 2
Views: 2163

[SOLVED] Crazieflie Communication Simulator?

Has anyone built something to simulate the CrazyFlie2 communication behavior? Something to allow a controller developer to write a complex controller without actually communicating with a real cf2 copter?
by gherlein
Tue Jun 23, 2015 12:38 pm
Forum: Developer Discussions
Topic: CFClient in C?
Replies: 3
Views: 2219

Re: CFClient in C?

Great! I already forked your repo. Cannot wait to play with it. I'm a pure C guy so I'll wrap it - unless you already have that done?
by gherlein
Mon Jun 22, 2015 8:57 pm
Forum: Developer Discussions
Topic: CFClient in C?
Replies: 3
Views: 2219

CFClient in C?

Has anyone ported the cfclient code to C? If so can you share?

Alternately, if there's a port to a C-like language I could go from there. I see folks have done an Ada port and someone mentioned a java port.

Any C?