Search found 16 matches

by f-rower
Wed Aug 09, 2017 2:11 pm
Forum: Developer Discussions
Topic: Cannot get cf.param.set_value to work
Replies: 4
Views: 3009

Re: Cannot get cf.param.set_value to work

Hi Arnaud, thanks for replying :) Yes, I have tried swapping them around, and sometimes it works, sometimes it doesn't: I think the problem is I can't finish grasping what's the point of using param_add_update_callback, and how to use it. What exactly is its functionality? I thought it just executes...
by f-rower
Tue Aug 08, 2017 2:43 pm
Forum: Developer Discussions
Topic: Cannot get cf.param.set_value to work
Replies: 4
Views: 3009

Re: Cannot get cf.param.set_value to work

Hi, just giving a quick bump on this issue. I have been trying for the past few days and still can't figure out what I'm doing wrong here :(
by f-rower
Tue Aug 01, 2017 12:16 pm
Forum: Developer Discussions
Topic: Cannot get cf.param.set_value to work
Replies: 4
Views: 3009

Cannot get cf.param.set_value to work

Hi, I know there's a question which is almost the same as mine somewhere on the forum, but it still has not solved my problem... I am currently trying to change the value of just the attitude pitch kd value, and for that I have been following the instructions provided in the wiki and followed the lo...
by f-rower
Thu Jul 27, 2017 2:08 pm
Forum: Developer Discussions
Topic: Flying CF2 from my own Python script
Replies: 4
Views: 2398

Re: Flying CF2 from my own Python script

Thanks Arnaud, in the meantime I wrote my own code for control using pygame, but I'll keep an eye on this as well :)
by f-rower
Tue Jul 25, 2017 9:51 am
Forum: Developer Discussions
Topic: Flying CF2 from my own Python script
Replies: 4
Views: 2398

Re: Flying CF2 from my own Python script

Hi Arnaud,

I was hoping to use that code to 1) read inputs from the joystick and send setpoints to the crazyflie and 2) trigger a landing process after a button has been pressed and 3) Trigger other functions by the press of other buttons
by f-rower
Fri Jul 21, 2017 1:05 pm
Forum: Developer Discussions
Topic: How to specify base thrust in cfclient
Replies: 2
Views: 1850

Re: How to specify base thrust in cfclient

Hi Arnaud, sorry I got so long to reply, but I wanted to make sure I got it working before posting again :) . I managed to implement perching by adjusting the roll/pitch/yaw axes' PID parameters one by one (ie, for adjusting roll gains, I'd set all pitch and yaw gains to zero), and as you said, play...
by f-rower
Fri Jul 21, 2017 12:58 pm
Forum: Developer Discussions
Topic: Flying CF2 from my own Python script
Replies: 4
Views: 2398

Flying CF2 from my own Python script

Hi guys! I've been doing some work developing autonomous landing for my cf 2.0, so thought it would be convenient to be able to control the cf (via joystick) through my own Python script. I was hoping to use code from the cfclient to find the joystick, configure mappings and send setpoints to the cf...
by f-rower
Fri Jul 07, 2017 12:50 pm
Forum: Developer Discussions
Topic: How to specify base thrust in cfclient
Replies: 2
Views: 1850

How to specify base thrust in cfclient

Hello, I'm trying to get the CF 2.0 to perch by standing on a single point, and I'm adjusting the PID gains in the roll and pitch axes in the cfclient. I have noticed that when I set the minimum thrust to 0% and set the pitch and yaw PID gains all to zero (PID only in roll axis), the maximum thrust ...
by f-rower
Fri Jul 07, 2017 10:47 am
Forum: Developer Discussions
Topic: Errors when running ramp.py code
Replies: 3
Views: 2029

Re: Errors when running ramp.py code

HI Arnaud,

sorry for the late reply. Wing IDE seems to be having some trouble dealing with Python 3 and 3.4. I switched to PyCharm with Python 3.4 and now the code works fine :)
by f-rower
Wed Jul 05, 2017 1:40 pm
Forum: Developer Discussions
Topic: Errors when running ramp.py code
Replies: 3
Views: 2029

Errors when running ramp.py code

Hello, I'm trying to run the ramp.py code on Wing IDE, and I keep getting the following error: Exception in thread Thread-1 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner File "...