Search found 36 matches

by imranmomtaz
Sun Mar 14, 2021 1:55 pm
Forum: General discussions
Topic: Access to tick from another source file.
Replies: 4
Views: 1528

Re: Access to tick from another source file.

Thanks. Can you show an example about how log variable can be used to transfer data between tasks? Thanks a lot!
by imranmomtaz
Fri Mar 12, 2021 5:46 pm
Forum: General discussions
Topic: Access to tick from another source file.
Replies: 4
Views: 1528

Access to tick from another source file.

Hello, I am trying to access live tick value from another source file (connected with a task priority 2). So far, I have wrote the following: in stabilier.c file: uint32_t tick; uint32_t *pTickPTR = &tick; in other source file (lets assume filename: cf.c) extern uint32_t *pTickPTR; uint32_t tick...
by imranmomtaz
Fri Mar 05, 2021 12:34 pm
Forum: General discussions
Topic: Problems Kalman filter computation copy
Replies: 3
Views: 1374

Re: Problems Kalman filter computation copy

No, I have not added any physical hw. It is in software. And how would you verify your development? Do you write your code in increments and flash it in hardware? Or is there some other way? Flashing into hardware multiple times should be inconvenient and we also need to see if the timing dependency...
by imranmomtaz
Tue Mar 02, 2021 4:26 am
Forum: General discussions
Topic: Nonparametric machine learning model written in CF2.1 firmware.
Replies: 3
Views: 1259

Re: Nonparametric machine learning model written in CF2.1 firmware.

Thank you for your reply. However, I am also looking for implementation in C. Is there anybody who know of any such implementation? Thanks.

On a different note, I think it possible to have a cpp file as extern which would implement a regression model. Is there any work which does this?
by imranmomtaz
Mon Mar 01, 2021 8:56 pm
Forum: General discussions
Topic: Problems Kalman filter computation copy
Replies: 3
Views: 1374

Problems Kalman filter computation copy

Hello, My platform: CF2.1. I am trying to develop a dock which will essentially perform the EKF computation, but not on the original CF2.1 but on model. I essentially made a copy of the EKF codes (available from kalman_core.c). After doing this and defining the new code essentially a new deck, I am ...
by imranmomtaz
Mon Mar 01, 2021 3:47 am
Forum: General discussions
Topic: Nonparametric machine learning model written in CF2.1 firmware.
Replies: 3
Views: 1259

Nonparametric machine learning model written in CF2.1 firmware.

Hello,
Is there any nonparametric machine learning model written in CF2.1 firmware? I am specifically looking for a nonparametric machine learning model for regression operation. It can be decision tree, gaussian process regression anything. Thanks a lot in advance.
by imranmomtaz
Mon Mar 01, 2021 1:41 am
Forum: General discussions
Topic: Assert failed after watchdog timeout.
Replies: 1
Views: 917

Assert failed after watchdog timeout.

Hello, I have CF2.1 with lighthouse deck and flow deck. I added one custom deck (written in software) which is supposed to copy the EKF filter operation for my research. The code is compiling fine in computer with the makefile; however, I have following as the output when it is flashed in the cf2.1:...
by imranmomtaz
Thu Feb 25, 2021 1:45 am
Forum: Developer Discussions
Topic: VL53L0X stand-alone and forcing drivers
Replies: 5
Views: 3203

Re: VL53L0X stand-alone and forcing drivers

Hello,

I got to make it work by the following code:

Code: Select all

CFLAGS += -DDECK_FORCE=deck1:deck2
Please note, the following does not work:

Code: Select all

CFLAGS += -DDECK_FORCE=deck1 : deck2
It is probably better to adjust code to take care of whitespace.
by imranmomtaz
Mon Feb 22, 2021 8:22 pm
Forum: General discussions
Topic: Query about mathematical model of CF2.1
Replies: 1
Views: 1025

Query about mathematical model of CF2.1

Hello,

I would like to have an implementation of the mathematical model of the CF2.1. I know the model dynamics of a regular quadcopter but I do not know the value of parameters of the CF2.1 system. Does bitcraze or anybody have this already? How can I get the information about these parameters?