-
Notifications
You must be signed in to change notification settings - Fork 900
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
Add memory handler for the Led Timings driver #597 + example #158
Conversation
The build has failed so that would need to be fixed. You can check it in the details of travis CI or if you have the toolbelt installed you can run test locally on your machine. https://github.com/bitcraze/crazyflie-lib-python#testing Let us know if you need help with that. |
Alright looks good! I will use this change to check out the pull request in the firmware and to try out the example. No time today anymore but I will try tomorrow. |
I'm currently trying both pull request on the led timing out at once. With running the python example, I get the following error message:
|
That looks like your crazyflie doesn't has the correct firmware. As the library can't find the memory module added in the firmware. |
hmm maybe not, but the firmware I flashed did had your commits in there I checked with git log.
''' There might be something else going on |
is there maybe something in config.mk that needs to be added? |
No changes to config.mk are needed. In the firmware itself it adds the new driver: https://github.com/bitcraze/crazyflie-firmware/pull/598/files#diff-a175f25f456b304028ac704ac00ee2b8R245 If both the crazyflie has the pull request firmware and you have installed the pull request library in your pc, then it should work. I just checked it with both branches without any configuration changes. Maybe you didn't reinstall the library on your pc? But in general, have no clue, why it don't work with you :( |
so I cloned the repos on a temp folder to make sure its super fresh. The cflib is installed from that folder which i checked with pip3 lib: I did the same with the firmware which I checked with the cfclient in help>debug:
This is the last commit of your pull request. Unfortunately... the same problem:
Adding the following helps with the error, but it doesn't activate the leds: |
Next week one of the other developers are back so I will ask him to try it out on his computer. I still think there is something missing but at least we can be sure. |
Merged. Thanks! |
As we introduce the functionality of a led timings driver, we update the library to support this new led method.
And also add an example.