Search found 14 matches
- Sat Dec 12, 2015 2:36 pm
- Forum: Developer Discussions
- Topic: question about the Deck-driver structure
- Replies: 15
- Views: 10403
Re: question about the Deck-driver structure
Hi Arnaud! thank you for your answers. In fact, I have followed your configuration as it should; However, i still can't screen my debug messages on the console and i don't know why! In other words, the driver is not configured and the code is never run!
- Wed Dec 09, 2015 1:39 pm
- Forum: Developer Discussions
- Topic: question about the Deck-driver structure
- Replies: 15
- Views: 10403
Re: question about the Deck-driver structure
I have also this in my makefile and i have no rule to make target deck_digital.o needed by 'cflie.elf'. Stop. # Expansion boards PROJ_OBJ += exptest.o PROJ_OBJ += deck_digital.o PROJ_OBJ += deck_analog.o PROJ_OBJ += deck.o PROJ_OBJ += deck_info.o PROJ_OBJ += deck_drivers.o PROJ_OBJ += deck_core.o PR...
- Wed Dec 09, 2015 1:34 pm
- Forum: Developer Discussions
- Topic: question about the Deck-driver structure
- Replies: 15
- Views: 10403
Re: question about the Deck-driver structure
Hello arnaud! I can't see the deck-driver initialization on my console! However, i have added the DECK FORce in my makefile. You can find attached a block of my makefile : # Init ifeq ($(F405), 1) PROJ_OBJ = main.o platform_cf2.o else PROJ_OBJ = main.o endif # Drivers PROJ_OBJ += led.o exti.o nvic.o...
- Tue Dec 08, 2015 3:43 pm
- Forum: Developer Discussions
- Topic: question about the Deck-driver structure
- Replies: 15
- Views: 10403
Re: question about the Deck-driver structure
When i compiled, i never found the driver-state. I don't know why! When we use a timer, have we to put .usedPeriph=DECK_USING_TIMER3 in my structure ?
- Tue Dec 08, 2015 3:22 pm
- Forum: Developer Discussions
- Topic: question about the Deck-driver structure
- Replies: 15
- Views: 10403
Re: question about the Deck-driver structure
it seems very interesting what you've done! Could you please tell how to visualize the driver state ?
- Tue Dec 08, 2015 7:41 am
- Forum: Developer Discussions
- Topic: question about the Deck-driver structure
- Replies: 15
- Views: 10403
Re: question about the Deck-driver structure
In fact, i'm using an IR-sensor with a digital output and I wanna know weither we have to use DECK_GPIO_IO1 or just an analog input (DECK_GPIO_RX1).
- Wed Dec 02, 2015 7:08 pm
- Forum: Developer Discussions
- Topic: question about the Deck-driver structure
- Replies: 15
- Views: 10403
Re: question about the Deck-driver structure
Thank you for your help! I have a plainty of questions about the code modifications. In fact, I'm using sensors with digital inputs (GP2Y0D810Z0F) that's why I have used digitalRead instead of analogRead in the code above. Moreover, i have created a .h file in which i put all prototype functions as ...
- Mon Nov 30, 2015 7:18 pm
- Forum: Developer Discussions
- Topic: question about the Deck-driver structure
- Replies: 15
- Views: 10403
Re: question about the Deck-driver structure
thank you for the answers ! An other question ^^ Can we define 3 IR sensors in the same structure as follows ? #include "deck.h" #include "deck_core.h" void mySensorInit(DeckInfo *info) { pinMode(DECK_GPIO_RX1,INPUT); // Set my sensor 1 as an input pinMode(DECK_GPIO_TX1,INPUT); /...
- Mon Nov 30, 2015 7:16 pm
- Forum: Developer Discussions
- Topic: how to get position x,y and z from the CF acceleration
- Replies: 5
- Views: 4102
Re: how to get position x,y and z from the CF acceleration
I have managed to get position along the x,y and z axis. However, this trajectory is relative to the body frame(the CF frame) and in order to get it in the inertial frame which it's relative to the ground, I think we have to multiply it by the rotation matrix . It seems complicated to calculte upon ...
- Sun Nov 29, 2015 11:47 am
- Forum: Developer Discussions
- Topic: sharp gp2y0a21yk0f
- Replies: 33
- Views: 21217