BigQuad + Z-ranger/flowdeck

Discussions about autonomous flight in general, regardless of positioning method
Post Reply
JindO
Beginner
Posts: 2
Joined: Wed Feb 12, 2020 7:42 am

BigQuad + Z-ranger/flowdeck

Post by JindO »

Hi Bitcraze!

I want to use the BigQuad deck with a positioning system that regulates height (roll/pitch/yaw control is no problem). I know the flowdeck and BQ have some compatibility problems.
I was wondering if the Z-Ranger deck v2 also interferes with the pins the bigquad uses. If not I can buy it to use with the BQ.
Since I already have the flowdeck v2 and not (yet) have the z-ranger deck, can i disable/disconnect the camera of the flowdeck so that it basically functions as a z-ranger and thus can be used with the BQ without doing modifications?

Thank you
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: BigQuad + Z-ranger/flowdeck

Post by tobias »

The Z-ranger v2 should work with the BiqQuad deck and you should be able to disable the flow part which can be done in many ways. First I would try to disable the flow part in the driver flowdeck_v1v2.c. Replace the flowdeck2Init with this:

Code: Select all

static void flowdeck2Init()
{
  if (isInit1 || isInit2) {
    return;
  }

  // Initialize the VL53L1 sensor using the zRanger deck driver
  const DeckDriver *zRanger = deckFindDriverByName("bcZRanger2");
  zRanger->init(NULL);
  isInit2 = true;
}
Post Reply