Search found 46 matches
- Fri Jul 03, 2020 9:20 am
- Forum: Autonomous flight
- Topic: [Solved] Commander.py with Swarm
- Replies: 8
- Views: 3693
Re: Commander.py with Swarm
Will do!
- Fri Jul 03, 2020 4:01 am
- Forum: Autonomous flight
- Topic: [Solved] Commander.py with Swarm
- Replies: 8
- Views: 3693
Re: Commander.py with Swarm
I had fixed the issue! It was just carelessness from my side when I was testing out certain codes. However, I do have two more questions regarding the orientation of the Crazyflie while using the LPS nodes. From what I understand is that one should make sure that the Crazyflie faces the +x direction...
- Tue Jun 30, 2020 11:57 am
- Forum: Autonomous flight
- Topic: [Solved] Commander.py with Swarm
- Replies: 8
- Views: 3693
Re: Commander.py with Swarm
Thank you for your reply once again. The goal of my code is to move the drones according to the velocity output of the machine learning model using distance between drones and orienation. I've attached the much updated version here if you are interested in seeing it (and hopefully give tips about ab...
- Tue Jun 30, 2020 3:24 am
- Forum: Autonomous flight
- Topic: [Solved] Commander.py with Swarm
- Replies: 8
- Views: 3693
Re: Commander.py with Swarm
Hi Kimberly, Thanks for the reply. For option 1, this is what I did (or something similar). # -*- coding: utf-8 -*- # # || ____ _ __ # +------+ / __ )(_) /_______________ _____ ___ # | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \ # +------+ / /_/ / / /_/ /__/ / / /_/ / / /_/ __/ # || || /_____/_/\__...
- Fri Jun 26, 2020 10:50 am
- Forum: General discussions
- Topic: Flying a crazyflie using a CSV file
- Replies: 4
- Views: 2250
Re: Flying a crazyflie using a CSV file
This is exactly what I needed! Thanks kristoffer!
- Fri Jun 26, 2020 10:49 am
- Forum: Autonomous flight
- Topic: [Solved] Commander.py with Swarm
- Replies: 8
- Views: 3693
[Solved] Commander.py with Swarm
Hi once again. I would like to combine the commander.py with a swarm code but I'm not sure how i should go about doing it. So far I've tried the following 1. in the run_sequence function, i add a URI input parameter adn check if the URI is equal to a certain string. This gave me an exception error i...
- Tue Jun 16, 2020 2:11 pm
- Forum: Loco Positioning System
- Topic: Controlling Crazyflie with LPS
- Replies: 17
- Views: 10727
Re: Controlling Crazyflie with LPS
Hi Kristoffer, A little delayed on the reply but thanks for it. Is there any example where I can take a look at how _SetPointThread is being used? I have been testing out the motion_commander.py for a while but it seems that combining a movement function (ex. mc.forward, mc.backward) and a rotation ...
- Tue Jun 16, 2020 7:59 am
- Forum: General discussions
- Topic: Flying a crazyflie using a CSV file
- Replies: 4
- Views: 2250
Re: Flying a crazyflie using a CSV file
Hi Kimberly, Thanks for your reply once again. The effect I'm trying to achieve is making a circular motion with only velocity (both linear and angular) in real time. If I'm understanding the forum post for the trajectory maker, it uses a 7th degree polynomial function so I'm not sure if that will w...
- Tue Jun 09, 2020 1:09 pm
- Forum: General discussions
- Topic: Flying a crazyflie using a CSV file
- Replies: 4
- Views: 2250
Flying a crazyflie using a CSV file
Hi again, Recently I was able to import a CSV file which contains a linear velocity and angular velocity. ( [Linear Velocity, Angular Velocity] ) (from a value of -1 to 1) The CSV file supposedly moves the crazyflie in a circle. While I do get a circular motion, it's not a smooth movement but rather...
- Mon Jun 01, 2020 8:57 am
- Forum: Autonomous flight
- Topic: Distance Between Two Crazyflie using LPS
- Replies: 3
- Views: 2118
Re: Distance Between Two Crazyflie using LPS
Hey Kimberly. That's exactly what I did for my first iteration. I had further improved on it after some more thinking. # -*- coding: utf-8 -*- # # || ____ _ __ # +------+ / __ )(_) /_______________ _____ ___ # | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \ # +------+ / /_/ / / /_/ /__/ / / /_/ / / /...