Forcing deck initialization
Posted: Sun Jun 09, 2019 3:57 pm
Dear Bitcraze community,
I was using an older VM version (ubuntu 14) and was forcing a deck initialization on the CF2. Everything worked perfectly fine, but the eclipse itself was giving me a headache due to a few bugs in the IDE.
To solve the eclipse issues, I was forced to download and use the newer bitcraze VM version, and have updated all projects.
After doing so, I tried using the bcSequence example (autonomously flying 8 figure) to make sure everything still works well. I have done everything exactly as written here:
viewtopic.php?f=6&t=2648&p=13352&hilit=demo#p13352
I can see the deck sequence.o being compiled, however, the CF2 will not perform the sequence. My thoughts are that the deck is compiled but not being forced to initialize.
I have added the following line to config.mk:
and the following to makefile, where all the decks are:
Was there any change in the firmware that changed the way decks are forced initialization?
If not, any idea what other possible reason can cause this behavior?
Thanks in advance,
Roei
I was using an older VM version (ubuntu 14) and was forcing a deck initialization on the CF2. Everything worked perfectly fine, but the eclipse itself was giving me a headache due to a few bugs in the IDE.
To solve the eclipse issues, I was forced to download and use the newer bitcraze VM version, and have updated all projects.
After doing so, I tried using the bcSequence example (autonomously flying 8 figure) to make sure everything still works well. I have done everything exactly as written here:
viewtopic.php?f=6&t=2648&p=13352&hilit=demo#p13352
I can see the deck sequence.o being compiled, however, the CF2 will not perform the sequence. My thoughts are that the deck is compiled but not being forced to initialize.
I have added the following line to config.mk:
Code: Select all
CFLAGS += -DDECK_FORCE=bcSequence
Code: Select all
PROJ_OBJ += sequence.o
If not, any idea what other possible reason can cause this behavior?
Thanks in advance,
Roei