No Valid Solution for basestations

Topics related to the Lighthouse positioning system, configuration and use
cgpenguin
Beginner
Posts: 16
Joined: Wed Aug 05, 2020 3:49 pm

Re: No Valid Solution for basestations

Post by cgpenguin »

kimberly wrote: Fri Aug 07, 2020 1:33 pm 1)

Oke, this is indeed a problem. What you are supposed to see is the following sequence:
  • First the red and blue led are on for about 2 seconds
  • then a orange led for a few seconds (which is the flashing of the FPGA firmware to the lighthouse system)
  • and then the blue LED is the only one on
See this video for reference: https://youtu.be/QwaJC-cLHSc

2) I actually mean the content of the console tab, which you can toggle on under view>tabs>console in the cfclient. Could you give those instead? (by the way, first time i've seen pastebin, quite handy website!) :D

3) The first point could have indicated that the compile didn't go as planned, since those 2 leds on (and the sequence as I explained above) means that the driver on the crazyflie firmware does not interact with the LH deck. Could you share the content of crazyflie-firmware/tools/make/config.mk here?
Here is the output of the console: https://pastebin.com/ZGGh4ZaJ

And here are the config.mk contents: https://pastebin.com/eRm1rZQQ

It seems like the firmware doesn't compile properly with the LH support despite make not throwing any errors. Also, I do get a lighthouse quality LED option show up (which I am pretty sure wasn't there with the previous firmware (no compile arguments given)) so that makes it a bit more odd.
kimberly
Bitcraze
Posts: 518
Joined: Fri Jul 06, 2018 11:13 am

Re: No Valid Solution for basestations

Post by kimberly »

thanks!

this line in the console indeed indicates that the firmware does not have that define.

Code: Select all

LHFL: No Lighthouse support in FW, deck not initialized
Have you made sure to do a proper clean before as well before the build?

Code: Select all

make clean 
make all
make cload
If you add a define to the makefile, the previous bin file need to be removed, since it will not look at the renewal of the config.mk
cgpenguin
Beginner
Posts: 16
Joined: Wed Aug 05, 2020 3:49 pm

Re: No Valid Solution for basestations

Post by cgpenguin »

kimberly wrote: Fri Aug 07, 2020 2:31 pm thanks!

this line in the console indeed indicates that the firmware does not have that define.

Code: Select all

LHFL: No Lighthouse support in FW, deck not initialized
Have you made sure to do a proper clean before as well before the build?

Code: Select all

make clean 
make all
make cload
If you add a define to the makefile, the previous bin file need to be removed, since it will not look at the renewal of the config.mk
Thanks, this appears to have worked. It calculated values that seem quite reasonable to me now. Thanks :)
kimberly
Bitcraze
Posts: 518
Joined: Fri Jul 06, 2018 11:13 am

Re: No Valid Solution for basestations

Post by kimberly »

great! So it was indeed the make clean that did the trick. I noticed that that was not part of the instructions so I will add that line of code to make it clear to others.
Post Reply