Search found 35 matches
- Fri Nov 06, 2020 11:21 am
- Forum: Lighthouse positioning system
- Topic: I tried to make get_bs_geometry.py swarm, but it fails
- Replies: 1
- Views: 1028
I tried to make get_bs_geometry.py swarm, but it fails
import argparse import logging import math import time import numpy as np import cv2 as cv import cflib.crtp from cflib.crazyflie.log import LogConfig from cflib.crazyflie.swarm import CachedCfFactory from cflib.crazyflie.swarm import Swarm from cflib.crazyflie.syncLogger import SyncLogger from cfl...
- Thu Nov 05, 2020 3:47 pm
- Forum: Quadcopters
- Topic: API for reading battery status
- Replies: 1
- Views: 2381
API for reading battery status
Hey!
I would like to know what would I need to put in a Python script to get the current battery status of a drone. Thank you!
I would like to know what would I need to put in a Python script to get the current battery status of a drone. Thank you!
- Wed Oct 21, 2020 4:58 pm
- Forum: Autonomous flight
- Topic: Parameter Downloading with Swarm()
- Replies: 1
- Views: 1653
Parameter Downloading with Swarm()
Hey I've been testing some swarm flight sequences based off of the swarm example and so far I've gotten most things working. However, there's one thing I am not sure what it does and why it acts like it does. That thing is parameter downloading. There's the function that's waiting for parameter down...
- Mon Oct 12, 2020 3:16 pm
- Forum: General discussions
- Topic: Controlling the LED ring deck from Python
- Replies: 17
- Views: 6722
Re: Controlling the LED ring deck from Python
Hey!
I updated both stm and nrf through client (and then stm again with make cload to include the lighthouse driver) and now it appears to work just fine. Thank you!
I updated both stm and nrf through client (and then stm again with make cload to include the lighthouse driver) and now it appears to work just fine. Thank you!
- Sun Oct 11, 2020 8:14 pm
- Forum: General discussions
- Topic: Controlling the LED ring deck from Python
- Replies: 17
- Views: 6722
Re: Controlling the LED ring deck from Python
https://www.youtube.com/watch?v=Xa1A3ov ... e=youtu.be
Here's the video. It's running the code I posted before. As you can see, the ring only starts changing colors at around the 4th checkpoint where it bursts through a lot of colors before starting to behave as expected.
Here's the video. It's running the code I posted before. As you can see, the ring only starts changing colors at around the 4th checkpoint where it bursts through a lot of colors before starting to behave as expected.
- Fri Oct 09, 2020 7:49 am
- Forum: General discussions
- Topic: Controlling the LED ring deck from Python
- Replies: 17
- Views: 6722
Re: Controlling the LED ring deck from Python
I am using Lighthouse (currently v1). Thing is, the scripts actually work, but there's the issue of some things only starting to work after a certain time period (namely the LEDs and in the example you had linked before, the flying too (plus it crashed, but it might have been related to drone trying...
- Thu Oct 08, 2020 3:26 pm
- Forum: General discussions
- Topic: Controlling the LED ring deck from Python
- Replies: 17
- Views: 6722
Re: Controlling the LED ring deck from Python
Hi! So you are trying to change the LED's in flight? Have you tried this example yet from this blogpost ? By the way, your code was not available anymore in the link that you posted. You can use gist ? I tried the example and I noticed a couple things: Drone doesn't start flying right when I see en...
- Thu Oct 08, 2020 3:23 pm
- Forum: General discussions
- Topic: Drone Swarming
- Replies: 3
- Views: 1453
Re: Drone Swarming
I have successfully solved the issue. I remembered that USB connection is an option. Connected and fixed the address. Got it configured to a value that I like and it works well now.
- Thu Oct 08, 2020 2:41 pm
- Forum: General discussions
- Topic: Drone Swarming
- Replies: 3
- Views: 1453
Re: Drone Swarming
Hey! I was trying out setting the address through the client for a drone, but now I have trouble connecting. I might have made a typo, but I am pretty sure the address I assigned was 0xE7E7E7E700, however, when I enter it in cfclient it's not showing up in scan. What could be the cause? Also, is the...
- Thu Oct 08, 2020 2:12 pm
- Forum: General discussions
- Topic: Controlling the LED ring deck from Python
- Replies: 17
- Views: 6722
Re: Controlling the LED ring deck from Python
# -*- coding: utf-8 -*- # # || ____ _ __ # +------+ / __ )(_) /_______________ _____ ___ # | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \ # +------+ / /_/ / / /_/ /__/ / / /_/ / / /_/ __/ # || || /_____/_/\__/\___/_/ \__,_/ /___/\___/ # # Copyright (C) 2016 Bitcraze AB # # Crazyflie Nano Quadcopter...