Search found 3 matches
- Fri Jan 07, 2022 5:51 pm
- Forum: AI-deck
- Topic: How to generate random numbers with the AI-Deck in C?
- Replies: 1
- Views: 8555
How to generate random numbers with the AI-Deck in C?
Hello, I would like to generate random numbers on the AI-Deck, and I tried using random() from stdlib.h, but this throws an error at compilation. What should I do?
- Thu Jan 06, 2022 3:31 pm
- Forum: AI-deck
- Topic: Undefined reference to functions in math.h etc
- Replies: 2
- Views: 8687
Re: Undefined reference to functions in math.h etc
I added "LIBSFLAGS += -lm" to my Makefile and now it works.
- Wed Jan 05, 2022 11:30 am
- Forum: AI-deck
- Topic: Undefined reference to functions in math.h etc
- Replies: 2
- Views: 8687
Undefined reference to functions in math.h etc
Hello. I have an AI-Deck and a Crazyflie 2.1 and I am using the GAP SDK from the docker image. Flashing to the board and running simple code and the examples run fine, following the instructions from the documentation. Now, I want to run some algorithm I had running on my computer, which includes ma...