Search found 132 matches

by jonasdn
Mon Nov 15, 2021 5:30 am
Forum: Developer Discussions
Topic: Send message to custom System Task
Replies: 4
Views: 885

Re: Send message to custom System Task

You can check this PR where I want to add new API for parameters, it sends message from the client to the crazyflie: https://github.com/bitcraze/crazyflie-lib-python/pull/280 And a branch that accepts them: https://github.com/bitcraze/crazyflie-firmware/commit/f4781f5c4e16d616adf58a05298e888f8ee8425...
by jonasdn
Mon Nov 15, 2021 5:26 am
Forum: Support
Topic: get console text from cfclient
Replies: 1
Views: 8314

Re: get console text from cfclient

Hi! You can check how the ConsoleTab.py does it! You can also look at the API reference: https://www.bitcraze.io/documentation/repository/crazyflie-lib-python/master/api/cflib/crazyflie/console/ Which I realized is not that helpful, so I have done a pull-request to improve it, with an example: https...
by jonasdn
Thu Nov 11, 2021 12:26 pm
Forum: Developer Discussions
Topic: Send message to custom System Task
Replies: 4
Views: 885

Re: Send message to custom System Task

Hi, You can construct packets using the CRTPPacket class in the cflib and send them with for instance the send_packet method on the Crazyflie class. See the API reference for guidance: https://www.bitcraze.io/documentation/repository/crazyflie-lib-python/master/api/cflib/ And to see how this packets...
by jonasdn
Thu Nov 11, 2021 12:23 pm
Forum: Autonomous flight
Topic: Problem uploading the trajectory to the autonomous_sequence_high_level.py.
Replies: 3
Views: 10160

Re: Problem uploading the trajectory to the autonomous_sequence_high_level.py.

Hi! No, not at the top of my head, but you should strive to always have the latest version of the library installed. So try to upgrade it using pip install or yse the latest VM from bitcraze: https://github.com/bitcraze/bitcraze-vm/releases/ And follow instructions from: https://www.bitcraze.io/docu...
by jonasdn
Thu Nov 11, 2021 12:21 pm
Forum: Bitcraze
Topic: Battery Logging with Example Script
Replies: 10
Views: 1551

Re: Battery Logging with Example Script

Hi,

It should probably be le.setup_logging.
by jonasdn
Wed Nov 10, 2021 5:39 am
Forum: Autonomous flight
Topic: Problem uploading the trajectory to the autonomous_sequence_high_level.py.
Replies: 3
Views: 10160

Re: Problem uploading the trajectory to the autonomous_sequence_high_level.py.

Hello rago7!

Could you make sure you have the latest version of the library (cflib) installed? It looks like it is a version that does not support the "write_failed_cb" argument to write_data.

You can check your current installed version by: $ pip show cflib
by jonasdn
Tue Nov 09, 2021 5:49 am
Forum: Lighthouse positioning system
Topic: Command Based Flight Control doesn't work
Replies: 15
Views: 72673

Re: Command Based Flight Control doesn't work

Ok, thanks!

Is there any output in the Log Client tab that seems relevant?
by jonasdn
Tue Nov 09, 2021 5:40 am
Forum: Support
Topic: Bitcraze VM cfclient cannot use CrazyRadio
Replies: 4
Views: 927

Re: Bitcraze VM cfclient cannot use CrazyRadio

It sounds like a mismatch between the client and the library. Could you make sure that the lib and cfclient are both latest version?

The RadioManager class was added as public to the radiodriver bout 9 months ago to the library.
by jonasdn
Tue Nov 09, 2021 5:36 am
Forum: Support
Topic: Firmware "Failed to flash" error
Replies: 7
Views: 13066

Re: Firmware "Failed to flash" error

Perhaps this is better suited as a GitHub issue as it regards code directly, would you mind filing one at https://github.com/bitcraze/crazyflie-lib-python/issues ? Please include what version of the lib you are using, you can get this information by: $ pip show cflib The code that has problem seem t...
by jonasdn
Tue Nov 09, 2021 5:32 am
Forum: Bitcraze
Topic: New to CrazyFlie Need Swarm Help
Replies: 4
Views: 1096

Re: New to CrazyFlie Need Swarm Help

Hi!

It hard to know without knowing more.

What positioning system are you using?
Could there be conflict with a wifi router nearby on a similar channel?

Jonas