Search found 19 matches

by chengjiahao
Mon Dec 07, 2020 10:59 am
Forum: Bitcraze
Topic: I want to know how to create a new c project in eclipse Thank you
Replies: 10
Views: 3308

Re: I want to know how to create a new c project in eclipse Thank you

And also want to know where can I check which pin is available? too many flies here is ...
by chengjiahao
Mon Dec 07, 2020 10:52 am
Forum: Bitcraze
Topic: I want to know how to create a new c project in eclipse Thank you
Replies: 10
Views: 3308

Re: I want to know how to create a new c project in eclipse Thank you

but I need use the fpga and the flow deck almost same time I‘m not sure the cs signal can be used so I want find a new spi port for fpga and I saw the file deck_spi.c that just configrue the spi1(Pa5,6,7) 。Do I should to create a new file to configure the spi port I need such as spi2 (PB13 14 15 )?
by chengjiahao
Mon Dec 07, 2020 10:13 am
Forum: Bitcraze
Topic: I want to know how to create a new c project in eclipse Thank you
Replies: 10
Views: 3308

Re: I want to know how to create a new c project in eclipse Thank you

thanks for your anwsers
and here I have another question
can I use the SPI between the FPGA and the stm32 when I use the flow deck?
I know the flow deck use the SPI1 (PA 5 ,6,7)
and CAN I USE THE SPI2 (PB 13,14,15) BE THE COMMUNICATION PIN?
by chengjiahao
Thu Nov 19, 2020 11:17 am
Forum: Bitcraze
Topic: I want to know how to create a new c project in eclipse Thank you
Replies: 10
Views: 3308

Re: I want to know how to create a new c project in eclipse Thank you

thank you for the answer And sepcificly what I want to do is send a realtime u8 signal to the crazyflie also I will set a LOG for detecting this realtime signal and then use the python API to read the LOG that can implement real-time control cf actions. I have done the fpga and cf's work.The trouble...
by chengjiahao
Wed Nov 18, 2020 11:51 am
Forum: Bitcraze
Topic: I want to know how to create a new c project in eclipse Thank you
Replies: 10
Views: 3308

Re: I want to know how to create a new c project in eclipse Thank you

Thank you for the answer! and I create the SPI module for connecting the FPGA to the cf2 .And I will use the python API to control the cf2 to fly automaticly by SPI module I write so can I do it by the app layer? #include "spi.h" #include "delay.h" #include "stm32f4xx.h"...
by chengjiahao
Wed Nov 18, 2020 10:34 am
Forum: Bitcraze
Topic: I want to know how to create a new c project in eclipse Thank you
Replies: 10
Views: 3308

I want to know how to create a new c project in eclipse Thank you

I write a new c file in the eclipse and I create a LOG want see how the parameter I write change during the cf is flying, but I commite the file and build,flash in my cf. when I connect with my cf use client and I can not found the parameter I created. I want to know what should I do Thank you guys ...
by chengjiahao
Tue Sep 29, 2020 2:33 pm
Forum: Quadcopters
Topic: Can I stop the sensor when I use it for ten second in flow deck?
Replies: 15
Views: 5183

Re: Can I stop the sensor when I use it for ten second in flow deck?

hi, There seem to be confusion about what you actually want to do, but it seems that you want to fly over different height of objects with the flowdeck but still maintain the same height, if I'm correct? Shutting down the TOF sensor is not the answer for that I'm afraid, as arnaud said already befo...
by chengjiahao
Tue Sep 29, 2020 1:19 pm
Forum: Quadcopters
Topic: Can I stop the sensor when I use it for ten second in flow deck?
Replies: 15
Views: 5183

Re: Can I stop the sensor when I use it for ten second in flow deck?

hi, There seem to be confusion about what you actually want to do, but it seems that you want to fly over different height of objects with the flowdeck but still maintain the same height, if I'm correct? Shutting down the TOF sensor is not the answer for that I'm afraid, as arnaud said already befo...
by chengjiahao
Mon Sep 28, 2020 2:00 pm
Forum: Quadcopters
Topic: Can I stop the sensor when I use it for ten second in flow deck?
Replies: 15
Views: 5183

Re: Can I stop the sensor when I use it for ten second in flow deck?

If you want the Crazyflie stay in the air, you do not want to disable the ToF sensor since by doing so you remove all height sensor input to the kalman filter. It is not possible to just block the last reading: the Crazyflie is not capable of hovering without continuous height sensor reading, there...
by chengjiahao
Mon Sep 28, 2020 9:44 am
Forum: Quadcopters
Topic: Can I stop the sensor when I use it for ten second in flow deck?
Replies: 15
Views: 5183

Re: Can I stop the sensor when I use it for ten second in flow deck?

Without sensor measurement the drone is not capable to maintain its height at all. If you want to still maintain a constant altitude and you do not have extra height sensor, disabling the ToF sensor is not solving your problem since it disables height control. I think the best is that you tell us w...