Timestamp #348
Answered
by
knmcguire
Pandagineer
asked this question in
Q&A
Timestamp
#348
-
I would like to know how long it takes for a portion of my C code to run on the Crazyflie. I found this possible solution:
(https://stackoverflow.com/questions/10192903/time-in-milliseconds-in-c) But this doesn't work in the Crazyflie (I get an error when making). Should it work? If not, is there a solution for the Crazyflie? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
knmcguire
Oct 24, 2022
Replies: 1 comment 1 reply
-
Hi! Have you tried the DEBUG_PRINT() function? That will print directly on the console of the cfclient. I don't think printf is suitable for the crazyflie microprocessor |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Pandagineer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Have you tried the DEBUG_PRINT() function? That will print directly on the console of the cfclient.
I don't think printf is suitable for the crazyflie microprocessor