Page 1 of 1
How many decks can I use for a single CF
Posted: Tue Nov 07, 2017 9:59 pm
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
Re: How many decks can I use for a single CF
Posted: Wed Nov 08, 2017 10:17 am
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!
Re: How many decks can I use for a single CF
Posted: Fri Nov 10, 2017 3:49 am
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.