Search found 10 matches

by droneEnthusiast123
Tue Aug 06, 2019 10:12 pm
Forum: Developer Discussions
Topic: Resource Usage Profile
Replies: 2
Views: 1770

Re: Resource Usage Profile

Thanks Kimberly,

I used that function! For my build, the crazyflie was idle 70% of the time. :)
by droneEnthusiast123
Tue Jul 30, 2019 5:48 pm
Forum: Developer Discussions
Topic: Resource Usage Profile
Replies: 2
Views: 1770

Resource Usage Profile

Hi, I was wondering if there was any update to the runtime statistics found here: https://www.bitcraze.io/2012/04/some-progress-on-the-software-side/ ? If not, I would like to profile the drone to see how much time each task uses. Does anyone know how I would go about doing this? How did you guys go...
by droneEnthusiast123
Wed Jul 10, 2019 5:44 pm
Forum: Loco Positioning System
Topic: USB flashing of an amended uwb_tdoa_anchor3.c code in the src folder to the LPS sensor?
Replies: 1
Views: 1764

Re: USB flashing of an amended firmware code to the LPS sensor

Hi, I beleive what happens is that you run "make" in the terminal to build the project and create the latest .dfu file. Then when the lps beacon is in dfu mode (hold down button furthest from usb port while plugging it into your computer), you can either use the lps-tools client or run &qu...
by droneEnthusiast123
Tue Jul 09, 2019 10:46 pm
Forum: Loco Positioning System
Topic: TWR change time between successive LPS_TWR_POLL packets
Replies: 0
Views: 47859

TWR change time between successive LPS_TWR_POLL packets

Hi, I am trying to change the time between ranging, i.e. I want the drone to initiate ranging with a period T. It seems that this period is fixed, and if I add a large delay into the code, the loco deck shuts off. If the delay is too small, then it has no effect on this period. Does anyone know why ...
by droneEnthusiast123
Thu Jul 19, 2018 9:02 pm
Forum: Developer Discussions
Topic: Crazyflie communication
Replies: 7
Views: 3792

Crazyflie communication

Hello all, I am trying to make it possible for two crazyflie drones to communicate with each other directly. To do this, I thought it would be possible to call radioLinkSetChannel, radioLinkSetAddress, and radioLinkSetDatarate to that of the other crazyflie. Then, I would be able to treat the drone ...
by droneEnthusiast123
Mon Jun 25, 2018 11:08 pm
Forum: Developer Discussions
Topic: Understanding the code
Replies: 1
Views: 1618

Re: Understanding the code

Hi, I think I need to modify the UART to use the second set of TX/RX pins to communicate with another drone, is this correct? :? For the python, can I edit commander.py's functions (like send_stop_setpoint) to send a relay flag which would enable the drone to relay commands to the other (address+cha...
by droneEnthusiast123
Mon Jun 25, 2018 10:48 pm
Forum: Developer Discussions
Topic: Crazyflie 2 beeps and then flies straight up until it crashes
Replies: 3
Views: 1975

Re: Crazyflie 2 beeps and then flies straight up until it crashes

I think everything is okay now, the problem was with the crazyRadio, as it would disconnect sometimes.
by droneEnthusiast123
Thu Jun 21, 2018 9:18 pm
Forum: Developer Discussions
Topic: Understanding the code
Replies: 1
Views: 1618

Understanding the code

Hi, I'm still learning programming so I am a bit overwhelmed by all the code :? Could someone help explain the following to me: How does the python code from crazyflie-lib-python link to the c code in the firmware? More specifically, I'd like to know how data is sent/received from the computer to th...
by droneEnthusiast123
Thu Jun 21, 2018 5:17 pm
Forum: Developer Discussions
Topic: Crazyflie 2 beeps and then flies straight up until it crashes
Replies: 3
Views: 1975

Re: Crazyflie 2 beeps and then flies straight up until it crashes

Hi,

I set everything up on Monday, so I assume that would be the latest version
by droneEnthusiast123
Wed Jun 20, 2018 10:34 pm
Forum: Developer Discussions
Topic: Crazyflie 2 beeps and then flies straight up until it crashes
Replies: 3
Views: 1975

Crazyflie 2 beeps and then flies straight up until it crashes

Hi! I am trying to run the crazyflie via python script using the send_hover_setpoint function to move the drone. Most of the time everything works. However, there are occasions where I run the code and the drone beeps a few times and then either does nothing or ascends very quickly until it crashes ...