Search found 13 matches

by GIduarte
Thu Dec 10, 2020 8:57 pm
Forum: General discussions
Topic: Send pitch and roll rate setpoint with Python lib
Replies: 1
Views: 10245

Send pitch and roll rate setpoint with Python lib

Hello,

I want to send pitch rate and roll rate setpoint to crazyflie 2.1 with Python lib, but I didn't find how to do it anywhere.

How can I do this? I will need to implement or just have the functions ready?

Thank you very much in advance.
by GIduarte
Wed Aug 19, 2020 9:11 pm
Forum: Developer Discussions
Topic: Unpack requires a buffer of 4 bytes
Replies: 3
Views: 6490

Re: Unpack requires a buffer of 4 bytes

Hi, thanks for the reply.

I readed about the limit of 26 bytes per block.

But, 1 (uint8_t) + 4 (uint32_t) + 6 x 2 (int16_t) + 2 x 4 (float) = 25 bytes, which is below the limit ...
by GIduarte
Mon Aug 17, 2020 6:30 pm
Forum: Developer Discussions
Topic: Unpack requires a buffer of 4 bytes
Replies: 3
Views: 6490

Unpack requires a buffer of 4 bytes

Hello, I have a problem. I want to receive by log block this values: rateYaw rateRoll ratePitch pitch roll vx vy vz quat batteryLevel So I use basiclog.py and replace : self._lg_stab.add_variable('stabilizer.roll', 'float') self._lg_stab.add_variable('stabilizer.pitch', 'float') self._lg_stab.add_va...