Search found 15 matches

by newcuriousstudent
Tue Nov 24, 2020 1:31 am
Forum: Loco Positioning System
Topic: big quad plus LPS
Replies: 1
Views: 389

big quad plus LPS

Hello! How would a big quad deck connect drone (the frame of the big drone) be to work with the LPS system aswell? I have a big drone that I want to fly with the crazyflie big deck and the LPS at the same time. The big quad I am using has a few parts that are metal (specifically the Power Distributi...
by newcuriousstudent
Wed Oct 07, 2020 6:01 pm
Forum: Loco Positioning System
Topic: log and fly class
Replies: 3
Views: 552

Re: log and fly class

Hey,
I just figured it out.
please disregard those messages.
by newcuriousstudent
Wed Oct 07, 2020 5:15 pm
Forum: Loco Positioning System
Topic: log and fly class
Replies: 3
Views: 552

Re: log and fly class

or even more simply: the only way I was able to get the class to work was with this: import logging import time import threading from threading import Thread from threading import Timer import cflib.crtp # noqa from cflib.crazyflie import Crazyflie from cflib.crazyflie.log import LogConfig import ma...
by newcuriousstudent
Wed Oct 07, 2020 2:19 pm
Forum: Loco Positioning System
Topic: log and fly class
Replies: 3
Views: 552

log and fly class

Hello, In the questions I have asked in the previous post I made I received help in trying to log and fly at the same time. This works great! I was able to make many drones fly at the same time and log their data. But the next thing I was trying to do is to set up the code from: https://www.bitcraze...
by newcuriousstudent
Mon Sep 28, 2020 12:56 am
Forum: Loco Positioning System
Topic: positioning question
Replies: 13
Views: 2097

Re: positioning question

Thanks a lot guys!
I was able to finally get logging to work!

@arnaud
So what you are referring to would let me fly a drone and get the position at the same time, right?
by newcuriousstudent
Mon Sep 14, 2020 12:17 am
Forum: Loco Positioning System
Topic: positioning question
Replies: 13
Views: 2097

Re: positioning question

Also for the logging config: lg_stab = LogConfig(name='Stabilizer', period_in_ms=50) lg_stab.add_variable('stateEstimate.x', 'float') lg_stab.add_variable('stateEstimate.y', 'float') lg_stab.add_variable('stateEstimate.z', 'float') I got the crazyflie's python script to run with this. But how do I g...
by newcuriousstudent
Sun Sep 13, 2020 9:19 pm
Forum: Loco Positioning System
Topic: positioning question
Replies: 13
Views: 2097

Re: positioning question

Hi again! So I attempted the basiclog.py example. I cannot seem to get it to work. When I run the program I keep getting: Scanning interfaces for Crazyflies... Crazyflies found: No Crazyflies found, cannot run example I have a crazyflie on and everything. I have tried this while another script is ru...
by newcuriousstudent
Wed Sep 09, 2020 9:07 pm
Forum: Loco Positioning System
Topic: positioning question
Replies: 13
Views: 2097

Re: positioning question

First of all Thank you for your reply! 1) So to get position I use: 'stateEstimateZ.x'? How do I scale this why I would fly many drones at the same time? 2) Ok so for asynchronous drones could show me an example? I think I know what you are talking about but I am not sure. But are there asynch examp...
by newcuriousstudent
Tue Sep 08, 2020 1:45 am
Forum: Loco Positioning System
Topic: positioning question
Replies: 13
Views: 2097

Re: positioning question

Hey again! I was still trying to test out stateEstimate.x and I still cannot get it to work. I keep getting: NameError: name 'stateEstimate' is not defined How should I fix this? Also in those examples you linked for the logging, this might be a stupid question but those only give roll, pitch, yaw r...
by newcuriousstudent
Wed Aug 26, 2020 2:04 pm
Forum: Loco Positioning System
Topic: positioning question
Replies: 13
Views: 2097

Re: positioning question

Thanks for the reply! So for stateEstimate.x and the other two, can I just use them straight up in a program or is anything else needed to be able to get the values of position with stateEstimate? Also for those links, do I run them at the same time as another program? I mean I run a script to move ...