Search found 8 matches

by nicuvlad94
Fri Jan 24, 2020 4:32 pm
Forum: Bitcraze
Topic: Flying Crazyflie to a specific position setpoint
Replies: 9
Views: 545

Re: Flying Crazyflie to a specific position setpoint

There would be other two questions I need to ask: 1. How would be a nice way to get acknowledge of when a setpoint has been reached. For instance if I command the drone to go somewhere, how do I know that target position was reached? I guess I can look into the setpoint Queue in the commander but th...
by nicuvlad94
Fri Jan 24, 2020 2:27 pm
Forum: Bitcraze
Topic: Flying Crazyflie to a specific position setpoint
Replies: 9
Views: 545

Re: Flying Crazyflie to a specific position setpoint

I think I found the issue! It seems that having debug mode on ("DEBUG=1 in the makefile") crashes the drone while flying. So basically, if I compile the project with DEBUG=1 and then I command a trajectory with "go_to" from Python, drone flies for 2 or 3 seconds and then the system crashes (because ...
by nicuvlad94
Fri Jan 24, 2020 9:39 am
Forum: Bitcraze
Topic: Flying Crazyflie to a specific position setpoint
Replies: 9
Views: 545

Re: Flying Crazyflie to a specific position setpoint

This is the output: SYS: ---------------------------- SYS: Crazyflie 2.1 is up and running! SYS: Build 137:26b58b428a10 (2019.09 +137) MODIFIED SYS: I am 0x203937434848500D004B0023 and I have 1024KB of flash! CFGBLK: v1, verification [OK] DECK_DRIVERS: Found 17 drivers DECK_DRIVERS: VID:PID BC:01 (b...
by nicuvlad94
Thu Jan 23, 2020 10:47 am
Forum: Bitcraze
Topic: Flying Crazyflie to a specific position setpoint
Replies: 9
Views: 545

Re: Flying Crazyflie to a specific position setpoint

I've just tried to run the drone with the client. I call just this function: pc.go_to(0.0, 0.0, 1.0); Drone goes up slowly towards 1m height, but in 2 seconds it goes unstable and crashes. Same with the Z Deck v2. Drones takes off but it immediately turns around, spinning the motors against the grou...
by nicuvlad94
Tue Jan 21, 2020 1:32 pm
Forum: Bitcraze
Topic: Flying Crazyflie to a specific position setpoint
Replies: 9
Views: 545

Re: Flying Crazyflie to a specific position setpoint

I thought it could be that fact that it lacks the Flow Deck! So I attached the flow deck, I wrote the following code: This is for the function: static setpoint_t setpoint; static void positionSet(setpoint_t *setpoint, float x, float y, float z, float yaw) { memset(setpoint, 0, sizeof(setpoint_t)); s...
by nicuvlad94
Mon Jan 20, 2020 3:19 pm
Forum: Bitcraze
Topic: Flying Crazyflie to a specific position setpoint
Replies: 9
Views: 545

Re: Flying Crazyflie to a specific position setpoint

Thank you for the answers! These solve my issues! One thing looks a bit odd to me. I am trying to print the state information in the client, when the drone is on, but no motor spinning. The data I am getting for the position is 0 for x and y, and around 297 for the z. While z varies when I move the ...
by nicuvlad94
Mon Jan 20, 2020 10:08 am
Forum: Bitcraze
Topic: Flying Crazyflie to a specific position setpoint
Replies: 9
Views: 545

Flying Crazyflie to a specific position setpoint

Hello! I have a question regarding driving crazyflie to different locations. I basically want to do this completely in firmware, where a specific algorithm (coded by me) generates the (x,y,z) coordinates where the Crazyflie has to fly. The issue I have is how to send commands from my algorithm to th...
by nicuvlad94
Sun Sep 08, 2019 12:53 pm
Forum: Loco Positioning System
Topic: Modifying the loco positioning firmware
Replies: 2
Views: 333

Modifying the loco positioning firmware

Hi, My name is Vlad, I am an ETH Zurich master student and for the last task of my master thesis I have to use crazyflie (never used it before). I would need to modify the DW1000 driver to work with my custom anchors. The only thing that I need is to perform ranging with my anchors. I tried to make ...