Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement LOG functionality #11

Open
ataffanel opened this issue May 24, 2016 · 2 comments
Open

Implement LOG functionality #11

ataffanel opened this issue May 24, 2016 · 2 comments

Comments

@ataffanel
Copy link
Member

The Crazyflie has a log functionality that allows to setup "log blocks" which are block of variables that can be scheduled to be received at regular interval. The log protocol documentation is in the Bitcraze wiki: https://wiki.bitcraze.io/doc:crazyflie:crtp:log

This would be the start of making the ios client a bit more a 'serious' Crazyflie client: to implement those more complex protocol it would be beneficial to make a Crazyflie object and to encapsulate all communication and logic in it. The same way it is done in the Python and Android client. I created ticket #10 for it.

This functionality has been discussed in #7 but will be useful for #9.

EMart002 added a commit to EMart002/crazyflie2-ios-client that referenced this issue Feb 14, 2017
EMart002 added a commit to EMart002/crazyflie2-ios-client that referenced this issue Feb 14, 2017
@EMart002
Copy link
Contributor

EMart002 commented Feb 14, 2017

Hi @ataffanel, as far as i've read, the log allowes the client to request given data in an open structure. I'm a bit confused how to request those. If you could point me into the right direction and maybe point me to that specific feature in the Android source code, that would be really great. As you may have see, i've started implementing reading the logable id's and i'm really looking forward in implementing this :)

@ataffanel
Copy link
Member Author

Hi @EMart002, the log is implemented there in the android client: https://github.com/bitcraze/crazyflie-android-client/tree/master/src/se/bitcraze/crazyflie/lib/log. I linked the documentation to the wiki in the ticket description.

Once you have the TOC, you can setup "log block" which are a list of variable to log together in a packet, you can then start the logging for this block and the packet will be sent by the Crazyflie at regular interval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants