Search found 28 matches

by nicuvlad94
Fri Mar 25, 2022 1:55 pm
Forum: General discussions
Topic: Header files in application
Replies: 7
Views: 12657

Re: Header files in application

Thank you! I managed to get it working when the .h files are all in one folder. However, when I have two folders with .h files, for instance, other0 and other1, it will only detect the .h files from the folder that was first assigned to EXTRA_CFLAGS. For example, if I have EXTRA_CFLAGS += -I$(PWD)/o...
by nicuvlad94
Mon Mar 21, 2022 4:35 pm
Forum: General discussions
Topic: Header files in application
Replies: 7
Views: 12657

Re: Header files in application

Thank you for the reply! The solution would for sure work, but if multiple .c files include some .h files from an external library, each user would have to modify all .c files and adjust the library path. It was quite nice before when one could specify in the Makefile where the compiler should look ...
by nicuvlad94
Fri Mar 18, 2022 9:10 am
Forum: General discussions
Topic: Header files in application
Replies: 7
Views: 12657

Re: Header files in application

Yes, this was clear. However, in case my app also contains some sub-folders that contain header files .h, how do I specify in the Makefile the location of these .h files? Because I currently get a compilation error: the .h files are not found.
by nicuvlad94
Thu Mar 17, 2022 10:34 am
Forum: General discussions
Topic: Header files in application
Replies: 7
Views: 12657

Header files in application

Hello, I have a question about using header files with an app. I saw there are some modifications in the firmware now, and the source files need to be specified by appending the "obj-y" variable. But what should one do for the header files? I see that it doesn't work anymore to add them to...
by nicuvlad94
Wed Jun 10, 2020 3:48 pm
Forum: Bitcraze
Topic: Question related to the state setpoint
Replies: 7
Views: 3701

Re: Question related to the state setpoint

Hello! It seems that, by adjusting the yaw rate as you suggested works really well! Yes, I know about the python library, I use it to log data for postprocessing (I have a two-thread script, which simultaneously logs data from the CF and Vicon), but the final demonstrator is supposed to work indepen...
by nicuvlad94
Mon Jun 08, 2020 2:58 pm
Forum: Bitcraze
Topic: Question related to the state setpoint
Replies: 7
Views: 3701

Re: Question related to the state setpoint

I don't think that the issue is related to having too many measurements to incorporate. Firstly, because the mocap and flow deck are never used at the same time. I either use the Vicon, which sends positions at every 20ms, or the FlowDeck. The UWB does not work with the EKF. I have my own sensor nod...
by nicuvlad94
Sat Jun 06, 2020 8:23 am
Forum: Bitcraze
Topic: Question related to the state setpoint
Replies: 7
Views: 3701

Re: Question related to the state setpoint

Thank you for your answer! I use the PID, but I have the Vicon markers on the drone, the flow deck, and my custom UWB shield (which weights 6g :o ) and this is probably why sometimes it tends to go unstable. But I will have a look at the go_to function and I will tell you how that worked. Regarding ...
by nicuvlad94
Fri Jun 05, 2020 11:58 am
Forum: Bitcraze
Topic: Where does the EKF incorporates the uwb measurements?
Replies: 2
Views: 1729

Re: Where does the EKF incorporates the uwb measurements?

Thank you! I managed to use it!
by nicuvlad94
Fri Jun 05, 2020 11:57 am
Forum: Bitcraze
Topic: Question related to the state setpoint
Replies: 7
Views: 3701

Question related to the state setpoint

Hello! I would like to ask if it is possible that, given a position setpoint, to be also able to adjust the flying velocity to that setpoint. I use the following configuration to command a setpoint, but the drone flies there too aggressively and sometimes it crashes. static void positionSet(setpoint...
by nicuvlad94
Mon Jun 01, 2020 6:08 pm
Forum: Bitcraze
Topic: Where does the EKF incorporates the uwb measurements?
Replies: 2
Views: 1729

Where does the EKF incorporates the uwb measurements?

Hello,

Can someone point me to the file where the ekf updates the state estimate with the measurements obtained from the UWB anchors (TWR)?

Thank you!
Vlad