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

How to set_arc for crazyradio using crazyflie class? #75

Closed
barzanisar opened this issue Apr 2, 2018 · 4 comments
Closed

How to set_arc for crazyradio using crazyflie class? #75

barzanisar opened this issue Apr 2, 2018 · 4 comments

Comments

@barzanisar
Copy link
Contributor

Hi,
I am using cfbridge to connect to crazyflie 2.0 from QGC via crazyradio PA.

Cfbridge creates a crazyflie object that connects to crazyflie using radiodriver.py

How can I configure the radio's number of retries i.e. in here from crazyflie class?

I want to be able set the number of retries in my cfbridge rather than hard coding it in radiodriver.py

@ataffanel
Copy link
Member

There is currently no way to achieve that without modifying the radiodriver code.

I think this case if very similar to the ticket #58 and should be solved the same way so that you could set the number of radio retry as a global option before connecting the Crazyflie.

@barzanisar
Copy link
Contributor Author

@ataffanel I made a PR in #76
Continuous-integration check has failed. I am unable to figure out from its details what needs to be changed. Could you please guide me?

@ataffanel
Copy link
Member

Thanks a lot for the PR!

Yes, the reporting in Travis is less-than-ideal, we should fix it. The log in Travis Hints that there is a flake8 problem and running flake8 locally reveals that there should be one more blank line before the function you added.

@ataffanel
Copy link
Member

The PR is merged so I close this ticket. Thanks!

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

No branches or pull requests

2 participants