Search found 47 matches

by arix
Sat Apr 21, 2018 12:24 pm
Forum: Bitcraze
Topic: some code question
Replies: 13
Views: 5847

Re: some code question

If you un-comment this function call in the autonomous sequence example: https://github.com/bitcraze/crazyflie-lib-python/blob/master/examples/autonomousSequence.py#L151, a log block is created and activated. This is using the same api as in basiclog. Thank you ! i have understand the callback and ...
by arix
Wed Apr 18, 2018 10:09 am
Forum: Bitcraze
Topic: some code question
Replies: 13
Views: 5847

Re: some code question

If you un-comment this function call in the autonomous sequence example: https://github.com/bitcraze/crazyflie-lib-python/blob/master/examples/autonomousSequence.py#L151, a log block is created and activated. This is using the same api as in basiclog. Thank you ! i have understand the callback and ...
by arix
Wed Apr 18, 2018 8:55 am
Forum: Bitcraze
Topic: some code question
Replies: 13
Views: 5847

Re: some code question

Hi, 1. I think the USBlink is a good example, if you do things that way you will be able to enable the serial link using a UART message. Though, as a first approach, I would just create something like serialGetLink and modify comm.c to use it by default instead of the radioLink. I think DMA will ev...
by arix
Sun Apr 08, 2018 1:59 am
Forum: Bitcraze
Topic: some code question
Replies: 13
Views: 5847

Re: some code question

@percy.jaiswal this thread has diverged on another topic, to reduces noise can you create a new topic with your question? @arix, my sugestion would indeed have been to implement something similar to radioLink/USBLink. Maybe you can get something custom working first and when you get the UART to wor...
by arix
Wed Mar 28, 2018 12:44 pm
Forum: Developer Discussions
Topic: Adding an extra DDECK_FORCE to config.mk [SOLVED]
Replies: 11
Views: 5860

Re: Adding an extra DDECK_FORCE to config.mk [SOLVED]

hello I also want solve extra force deck, but i can't understand what you say. can you tell me the detial information about copy DECK_FORCE and pasting DECK_FORCE1. Hi arix Right now deck_info.c has the option for 1 forced deck or DECK_FORCE. It checks if DECK_FORCE have been defined in in config.m...
by arix
Wed Mar 28, 2018 12:18 pm
Forum: Bitcraze
Topic: some code question
Replies: 13
Views: 5847

Re: some code question

How are you planning to use the UART, do you want to implement a CRTP link as I suggested or something custom? If you implement a CRTP link, you will get the full python lib working and you will be able to log any values the same way it is done using the radio. There is a couple of examples shown i...
by arix
Tue Mar 27, 2018 1:43 pm
Forum: Bitcraze
Topic: some code question
Replies: 13
Views: 5847

Re: some code question

I have solved uart problem. And now i want send data to pi. I want to how to get data from LOG or structs. For example i want get attitude datas , position datas . What need I do to get this data.

Thank you!
by arix
Tue Mar 27, 2018 1:13 pm
Forum: Developer Discussions
Topic: Adding an extra DDECK_FORCE to config.mk [SOLVED]
Replies: 11
Views: 5860

Re: Adding an extra DDECK_FORCE to config.mk [SOLVED]

hello
I also want solve extra force deck, but i can't understand what you say. can you tell me the detial information about copy DECK_FORCE and pasting DECK_FORCE1.
by arix
Tue Mar 27, 2018 3:37 am
Forum: Bitcraze
Topic: some code question
Replies: 13
Views: 5847

Re: some code question

Hi, This controller comes from Crazyswarm , you can find some info on the PR: https://github.com/bitcraze/crazyflie-firmware/pull/284. The two file you named have been added as part as the high-level commander: https://github.com/bitcraze/crazyflie-firmware/pull/299. The merge of Crazyswarm is stil...
by arix
Thu Mar 22, 2018 1:26 pm
Forum: Bitcraze
Topic: some code question
Replies: 13
Views: 5847

some code question

Hello! I find the controller_mellinger.c pptraj.c and planner.c in the new firmware. (Minimum snap trajectory generation and control for quadrotors) when i read controller_mellinger, i found it rewrite a pid controller (stateController). And i can't find pptraj.c and planner.c where to use them . Ca...