Search found 20 matches

by Duncan
Tue Dec 31, 2019 9:14 pm
Forum: Bitcraze
Topic: Try to figure out the ROS package
Replies: 2
Views: 2936

Re: Try to figure out the ROS package

Great. Thank you for your answer. I might try both to see which one fits my project the best.

Thank you and happy new year!

Duncan
by Duncan
Tue Dec 24, 2019 3:42 am
Forum: Bitcraze
Topic: Try to figure out the ROS package
Replies: 2
Views: 2936

Try to figure out the ROS package

Hi all, I am new to ROS and I would like to use the Crazyflie ROS package along with a SLAM ROS package to realize autonomous flight. I have installed the Crazyflie ROS package on ROS and try to go through this tutorial ( http://act.usc.edu/publications/Hoenig_Springer_ROS2017.pdf ). I have some exp...
by Duncan
Mon Dec 23, 2019 5:24 pm
Forum: Autonomous flight
Topic: Autonomous flight wiith Flow Deck V2 only
Replies: 4
Views: 4823

Re: Autonomous flight wiith Flow Deck V2 only

Hi Aren, I am doing something similar and I am curious how you realize this "The output of my controller is then sent to the python software and via crtp to the crazyflie itself". Are you using the python software to control the crazyflie and if your controller is on ROS, how do you feed t...
by Duncan
Tue Nov 05, 2019 9:50 pm
Forum: Bitcraze
Topic: struct.error: unpack requires a buffer of 1 bytes
Replies: 9
Views: 8241

Re: struct.error: unpack requires a buffer of 1 bytes

Thank you so much.
by Duncan
Sun Nov 03, 2019 7:07 pm
Forum: Bitcraze
Topic: struct.error: unpack requires a buffer of 1 bytes
Replies: 9
Views: 8241

Re: struct.error: unpack requires a buffer of 1 bytes

Thank you very much. If always keep the logging then it would require something like the threading, right? Since the data collection would only happen in some situations, I still hope the logging could start and stop. Could you share with me some materials and resources about the async log API? I do...
by Duncan
Wed Oct 30, 2019 1:31 am
Forum: Bitcraze
Topic: struct.error: unpack requires a buffer of 1 bytes
Replies: 9
Views: 8241

Re: struct.error: unpack requires a buffer of 1 bytes

Hi Arnaud, I think I find another key to this error after I modified the sync log demo code to the way I use the log in my code. Here is the code: import logging import time import cflib.crtp from cflib.crazyflie import Crazyflie from cflib.crazyflie.log import LogConfig from cflib.crazyflie.syncCra...
by Duncan
Thu Oct 24, 2019 4:30 pm
Forum: Bitcraze
Topic: struct.error: unpack requires a buffer of 1 bytes
Replies: 9
Views: 8241

Re: struct.error: unpack requires a buffer of 1 bytes

Cool. So I will try to the latest version and see whether the error happens again.

Thanks.
Duncan
by Duncan
Thu Oct 24, 2019 3:26 am
Forum: Bitcraze
Topic: struct.error: unpack requires a buffer of 1 bytes
Replies: 9
Views: 8241

Re: struct.error: unpack requires a buffer of 1 bytes

Hi, arnaud Those log readings are from the extra sensor through the Crazyflie so might be you could regenerate this error by reading other log parameters. The code below is the only log reading-related part in the client code. The firmware side to register log variables is similar to the "oa&qu...
by Duncan
Thu Oct 17, 2019 7:17 pm
Forum: Bitcraze
Topic: struct.error: unpack requires a buffer of 1 bytes
Replies: 9
Views: 8241

struct.error: unpack requires a buffer of 1 bytes

Hi, I encountered some issues when I try to read the log variables. I write some codes to read the log variable and do some math. It work well at the beginning and read the desired log variables without any problem. But then, after updating a few hundred times, the code crashed and shows the followi...
by Duncan
Fri Feb 08, 2019 8:51 pm
Forum: Developer discussions
Topic: How to use EKF to estimate position
Replies: 3
Views: 5652

Re: How to use EKF to estimate position

Thank you, Arnaud. Yes, using RSSI to do the position localization is not accurate enough but I am trying to improve it with all kinds of math models. EKF is a part of them. I watched the source code "estimator_kalman" in the firmware and the resources you recommended. As you said, with th...