How many decks can I use for a single CF

Firmware/software/electronics/mechanics
Post Reply
zhanghaijason
Member
Posts: 52
Joined: Fri Jul 28, 2017 9:07 pm

How many decks can I use for a single CF

Post by zhanghaijason »

Hello,
I am planning to control the CF without motion tracking system. So I want to use a flow deck to stabilize CF at a certain y and a certain z position. At the same time, put a Z ranger deck facing forward so that I can get get zero motion in y and z direction but control the motion in x direction. Is it possible to use both flow deck and Z ranger deck at the same time?
Thanks
kristoffer
Bitcraze
Posts: 630
Joined: Tue Jun 30, 2015 7:47 am

Re: How many decks can I use for a single CF

Post by kristoffer »

Hi!

Sounds like an exciting project!

No that is not possible at the moment.
Currently the Flow deck driver is using the z-ranger driver for the distance sensor on the flow deck, and there can only be one instance of the z-ranger driver. There is support for using multiple distance sensors though and I think that it should be possible to update the flow deck driver (mostly copy/past from z-ranger driver) to handle the distance sensor it self.

I think the reasoning behind the design was that it is not physically possible to use the flow deck and z-ranger at the same time as they booth are mounted under the CF, and therefore should be no need to support both decks at the same time. It might be a good idea to separate the drivers and if you do the job, please issue a pull request.

It should be fairly easy to make your own "z-ranger deck" with the distance sensor facing forward if you like. You will find schematics and information about the z-ranger on the wiki https://wiki.bitcraze.io/projects:crazy ... ds:zranger

We have also started working on an "obstacle avoidance" deck https://www.bitcraze.io/2017/10/obstacl ... l-testing/ which probably is what you are looking for. We don't know when it will be available though.

Good luck!
zhanghaijason
Member
Posts: 52
Joined: Fri Jul 28, 2017 9:07 pm

Re: How many decks can I use for a single CF

Post by zhanghaijason »

kristoffer wrote: Wed Nov 08, 2017 10:17 am Hi!

Sounds like an exciting project!

No that is not possible at the moment.
Currently the Flow deck driver is using the z-ranger driver for the distance sensor on the flow deck, and there can only be one instance of the z-ranger driver. There is support for using multiple distance sensors though and I think that it should be possible to update the flow deck driver (mostly copy/past from z-ranger driver) to handle the distance sensor it self.

I think the reasoning behind the design was that it is not physically possible to use the flow deck and z-ranger at the same time as they booth are mounted under the CF, and therefore should be no need to support both decks at the same time. It might be a good idea to separate the drivers and if you do the job, please issue a pull request.

It should be fairly easy to make your own "z-ranger deck" with the distance sensor facing forward if you like. You will find schematics and information about the z-ranger on the wiki https://wiki.bitcraze.io/projects:crazy ... ds:zranger

We have also started working on an "obstacle avoidance" deck https://www.bitcraze.io/2017/10/obstacl ... l-testing/ which probably is what you are looking for. We don't know when it will be available though.

Good luck!
Thanks for your reply. I will talk to my advisor about this.
Post Reply