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

Updated crazyflie 2.0 to new firmware crazyflie-2018.01.zip #5

Open
rickylund opened this issue Jan 25, 2018 · 3 comments
Open

Updated crazyflie 2.0 to new firmware crazyflie-2018.01.zip #5

rickylund opened this issue Jan 25, 2018 · 3 comments
Labels

Comments

@rickylund
Copy link

Just updated my crazyflie 2.0 to the new firmware version because of the flow deck - now i am not able to use swarms - it stops when trying to const toclog = await drone.logging.getTOC(); or et toc = await drone.parameters.getTOC(); - I can do commands like mydrone.commander.setpoint({ roll: 0, /* left/right */ yaw: 0, /* rotation **/ pitch: 0, /* forwards/backwards */ thrust: 35000 }, 1000).
Do you know if something is changed so that the swarms framework is broken or?

Thank you in advance

@michaelgira23
Copy link
Owner

Hi @rickylund! Thanks for reporting this!

I'll look into the issue this weekend. Have you tried your code on previous Crazyflie firmware versions? Also, is there any error when you call the .getTOC() function or does the program just keep silently running?

@rickylund
Copy link
Author

yes - I used a prev verson of the crazyfile firmware and at that time it worked - I don't have the version number sorry. Just started a debug and can se it stops in function emitHookFactory(symbol, name) { // Called from native. The asyncId stack handling is taken care of there // before this is called. // eslint-disable-next-line func-style **const fn = function(asyncId)** { and the asyncid is 115 if that helps.

@michaelgira23
Copy link
Owner

@rickylund I've upgraded my Crazyflie firmware (using version 2018.01.1, not 2018.01) via the iOS app and was still able to run examples/telemetry.js and examples/param-test.js. The firmware changelog doesn't seem to say anything about changing TOC formats or anything, and the wiki documentation is the same.

I also made sure to clear my TOC cache by deleting the /cache directory in the swarms module or calling await drone.logging.tocFetcher.clearCache()/await drone.parameters.tocFetcher.clearCache().

Did you change your code at all, or maybe you can send a snippet of code that replicates the issue on your machine and I can run it on mine? Thanks!

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

No branches or pull requests

2 participants