Search found 11 matches

by ellesse
Wed Jun 10, 2015 4:52 pm
Forum: Developer discussions
Topic: reboot from a python program
Replies: 5
Views: 7173

Re: reboot from a python program

Thanks.
by ellesse
Wed Jun 10, 2015 4:51 pm
Forum: Developer discussions
Topic: altHold log problem
Replies: 6
Views: 4435

Re: altHold log problem

Thanks for your prompt reply. Yes it works now (even if both altHold.err and altHold.target values are always zero...)
by ellesse
Mon Jun 08, 2015 10:25 am
Forum: Developer discussions
Topic: altHold log problem
Replies: 6
Views: 4435

Re: altHold log problem

Thanks for your help. Your DEBUG suggestion was very helpful. I should have used: self._lg_altH.add_variable(...... insead of (maybe taken from older version in the forum discussions??) self._lg_altH.addVariable(.... Are there any more options other than ERROR and DEBUG for: logging.basicConfig(leve...
by ellesse
Mon Jun 08, 2015 10:14 am
Forum: Developer discussions
Topic: altHold log problem
Replies: 6
Views: 4435

Re: altHold log problem

I will try using
logging.basicConfig(level=logging.DEBUG)
instead of
logging.basicConfig(level=logging.ERROR)

and report back to you.
by ellesse
Mon Jun 08, 2015 9:52 am
Forum: Developer discussions
Topic: altHold log problem
Replies: 6
Views: 4435

Re: altHold log problem

Thanks for the quick reply.
How do I switch to DEBUG. Do I need one of these:
http://www.seeedstudio.com/depot/Crazyf ... -2114.html

Is there another way to DEBUG?

Please note, I have tried the code on ifferent CF2s and I have the same results.
by ellesse
Sat Jun 06, 2015 7:52 pm
Forum: Developer discussions
Topic: altHold log problem
Replies: 6
Views: 4435

altHold log problem

Below there is a snippet of a python program. the aim is to get some log TOC data. ######################################################################## # Set up Holder Logger ######################################################################## self._lg_altH = LogConfig(name="altHold&quo...
by ellesse
Mon May 11, 2015 3:25 pm
Forum: Developer discussions
Topic: change radio parameters (Command Line option)
Replies: 5
Views: 4559

Re: change radio parameters (Command Line option)

I have solved this issue by (badly) hacking the cfclient program. Is there any other method?
by ellesse
Mon May 11, 2015 3:22 pm
Forum: Developer discussions
Topic: reboot from a python program
Replies: 5
Views: 7173

reboot from a python program

Can you reboot crazyflie 2.0 from a python program (i.e without using the main switch)?