Page 2 of 2

Re: Accessing the RadioController inputs

Posted: Fri Nov 03, 2017 5:38 am
by thasu
Now I can understand it.I have 1 more question. While using the previous command generating code file, how can I send data to computer using the radio. I did it using 'DEBUG_PRINT' before using the 'sequence.c' code. To clarify it more let's assume that we are using a for loop to navigate the CF in figure 8 several times.

for ( count = 0; count<100;count++){
//figure 8 code

DEBUG_PRINT("%d",count);
}

now I want to print the value of the 'count' in the eclipse terminal.

Re: Accessing the RadioController inputs

Posted: Mon Nov 06, 2017 12:34 pm
by tobias
The DEBUG_PRINT command will send it to the cfclient console. Not currently possible to get it into the eclipse terminal.

Re: Accessing the RadioController inputs

Posted: Fri Nov 10, 2017 7:15 am
by JoannaAquino
Thanks for posting this question. Obviously, the author of the following thread wanted to generate control values without using the radio.

Re: Accessing the RadioController inputs

Posted: Fri Nov 10, 2017 8:45 am
by kristoffer
@thasu
Another option for getting data out of the Crazyflie is to use the log sub system (https://wiki.bitcraze.io/doc:crazyflie: ... h:logparam)
It is not possible to display it in the eclipse terminal though.

Re: Accessing the RadioController inputs

Posted: Sun Nov 12, 2017 7:03 pm
by derf
Not currently possible to get it into the eclipse terminal.
It is not possible to display it in the eclipse terminal though.
I'm working on it. Hopefully I can add this functionality as a little plugin for Eclipse soon. ;)

Re: Accessing the RadioController inputs

Posted: Mon Nov 23, 2020 9:26 pm
by dastonge
HI. Sorry to revive an old thread here, but it looks quite a bit related to our question :
How can we grab the 'DEBUG_PRINT' output in Python (outside of cfclient)? Is there a logparam for that? If yes, what and where is it documented?


Thank you for your support,
David.

Re: Accessing the RadioController inputs

Posted: Tue Nov 24, 2020 9:05 am
by kimberly
Hi david!

Sorry but this is actually a different topic than the initial question in this thread. Could you please start a new forum thread?