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.
Accessing the RadioController inputs
Re: Accessing the RadioController inputs
The DEBUG_PRINT command will send it to the cfclient console. Not currently possible to get it into the eclipse terminal.
-
- Beginner
- Posts: 1
- Joined: Fri Nov 10, 2017 7:07 am
- Contact:
Re: Accessing the RadioController inputs
Thanks for posting this question. Obviously, the author of the following thread wanted to generate control values without using the radio.
-
- Bitcraze
- Posts: 630
- Joined: Tue Jun 30, 2015 7:47 am
Re: Accessing the RadioController inputs
@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.
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
Not currently possible to get it into the eclipse terminal.
I'm working on it. Hopefully I can add this functionality as a little plugin for Eclipse soon.It is not possible to display it in the eclipse terminal though.
Re: Accessing the RadioController inputs
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.
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
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?
Sorry but this is actually a different topic than the initial question in this thread. Could you please start a new forum thread?