Search found 19 matches

by hsanjuan
Wed Jun 24, 2015 11:29 am
Forum: Developer Discussions
Topic: [SOLVED] Crazieflie Communication Simulator?
Replies: 2
Views: 2173

Re: Crazieflie Communication Simulator?

Check: https://github.com/bitcraze/crazyflie-c ... gdriver.py

Instead of using the radio_driver (which in turns talks to crazyradio.py), you can use this fake driver to debug (i think)
by hsanjuan
Sun Jun 21, 2015 11:52 am
Forum: Developer Discussions
Topic: Ignoring acks as an strategy to extending radio reach?
Replies: 1
Views: 1523

Ignoring acks as an strategy to extending radio reach?

Hello, I have been wondering... currently in the client, the presence of the radio link is determined by the number of packets without response. The crazyradio would send a packet and expect an ack. If that does not happen, Crazyradio will retry up to 10 times. If crazyradio fails to obtain an ack, ...
by hsanjuan
Sat Jun 20, 2015 10:30 pm
Forum: Developer Discussions
Topic: Ruby client for Crazyflie (Crubyflie)
Replies: 5
Views: 6105

Re: Ruby client for Crazyflie (Crubyflie)

Hi people,

I have got my Crazyflie out of the drawer, upgraded the firmware etc, and have added hover support to the Crubyflie gem (v.0.2.1) (https://github.com/hsanjuan/crubyflie), in case anyone is interested.

Cheers
by hsanjuan
Sun Nov 03, 2013 2:55 pm
Forum: Developer Discussions
Topic: Shutting down the headless client along with the host
Replies: 3
Views: 3506

Re: Shutting down the headless client along with the host

In my setup, I have a udev rule that runs a script that shuts the RPi down 1 minute after the crazyradio is removed.

It compliments a second udev rule that cancels all shutdowns and starts the client when the crazyradio is inserted.
by hsanjuan
Sun Oct 27, 2013 5:01 pm
Forum: General discussions
Topic: Constantly changing Yaw value and unstable flight
Replies: 2
Views: 4183

Re: Constantly changing Yaw value and unstable flight

Now that I am reading this, a while ago I posted something simliar (http://forum.bitcraze.se/viewtopic.php?f=11&t=506). I also see the yaw value drifting slowly! If the USB cable is connected this is very visible, even fast. Without USB cable it happens but very slowly. I suppose the compass is ...
by hsanjuan
Sun Oct 27, 2013 4:50 pm
Forum: Developer Discussions
Topic: Autopilot
Replies: 14
Views: 18275

Re: Autopilot

One very naive way of thinking of autopilot I played with while writing my Ruby client was to fly the Crazyflie recording every current input package sent to it. Then flying the Crazyflie again from the same point but instead of controlling it directly, just replay the input that was recorded in the...
by hsanjuan
Sun Oct 27, 2013 4:35 pm
Forum: Developer Discussions
Topic: How to close correctly the radio link
Replies: 4
Views: 3389

Re: How to close correctly the radio link

I wonder if this is actually causing the issue:

https://bitbucket.org/bitcraze/crazyfli ... ult#cl-186

Anyway try to print some debugging information to see where the client is actually getting stuck.
by hsanjuan
Thu Oct 03, 2013 11:39 am
Forum: Developer Discussions
Topic: Raspberry Pi X-Mode
Replies: 7
Views: 5656

Re: Raspberry Pi X-Mode

Thanks @absoloodle37, feel free to suggest improvements in the github project. Right now my CF is broken and i have been too busy to repair it but hopefully it will be back in the air soon :D
by hsanjuan
Wed Sep 25, 2013 11:36 am
Forum: Developer Discussions
Topic: Radio Signal Intensity
Replies: 10
Views: 11919

Re: Radio Signal Intensity

Wondering, what is "your purpose" in the first place?
by hsanjuan
Wed Sep 25, 2013 10:09 am
Forum: Developer Discussions
Topic: Ruby client for Crazyflie (Crubyflie)
Replies: 5
Views: 6105

Re: Ruby client for Crazyflie (Crubyflie)

Hello there, Im not really sure what this means and know little about OSX. I suspect the offending line is 112 here: https://github.com/hsanjuan/crubyflie/blob/master/lib/crubyflie/crazyradio/crazyradio.rb#L112 I am not sure it has to do with udev rules (can you run it with root and check?). If Ruby...