Search found 35 matches

by cgpenguin
Wed Oct 07, 2020 1:16 pm
Forum: General discussions
Topic: Drone Swarming
Replies: 3
Views: 1437

Drone Swarming

Hello! I am looking into making drone swarms soon (as soon as I can get my hands on multiple working drones for testing), but I have already gotten a couple questions of things that aren't really clear to me. 1. Currently my planned workflow is to feed each drone target points to fly to as well as l...
by cgpenguin
Wed Oct 07, 2020 12:37 pm
Forum: General discussions
Topic: Controlling the LED ring deck from Python
Replies: 17
Views: 6611

Re: Controlling the LED ring deck from Python

I additionally made the LEDs change color for each point in the sequence. When the drone starts flying, it doesn't change the lights for a while, but then it really quickly runs all the color changes sent to it before and starts working normally afterwards. Not sure about this behavior. Any ideas ho...
by cgpenguin
Wed Oct 07, 2020 12:05 pm
Forum: General discussions
Topic: Controlling the LED ring deck from Python
Replies: 17
Views: 6611

Re: Controlling the LED ring deck from Python

I did some further troubleshooting and happened to try adding the LED param use to the autonomousSequence script (since flight + LEDs is planned outcome anyway). What happened was the LEDs did actually update colors, but, despite the param.set_value being executed as the first command after syncing ...
by cgpenguin
Wed Oct 07, 2020 11:11 am
Forum: General discussions
Topic: Controlling the LED ring deck from Python
Replies: 17
Views: 6611

Re: Controlling the LED ring deck from Python

I tried changing the values through cfclient parameters tab and it appears to be working just fine. Both effect and solidBlue/solidGreen/solidRed parameters succesfully updated the LED ring. However, it doesn't work through the script. I even put some print statements between each effect change to e...
by cgpenguin
Mon Oct 05, 2020 12:26 pm
Forum: General discussions
Topic: Controlling the LED ring deck from Python
Replies: 17
Views: 6611

Re: Controlling the LED ring deck from Python

What is the output on the terminal with the python script? Not with the drone right now so can't test for sure, but iirc it was something like this: Connecting to the drone (and the radio address is listed here too) Connected to the drone (and the radio address is listed here too) And that's it. No...
by cgpenguin
Fri Oct 02, 2020 1:11 pm
Forum: General discussions
Topic: Controlling the LED ring deck from Python
Replies: 17
Views: 6611

Re: Controlling the LED ring deck from Python

I wanted to note that when I run, for example, the basicLedparamSync.py, the script actually runs the lines that are supposed to change the LED ring and I get no errors thrown, but the ring lighting doesn't change. Meanwhile if I change the lighting from the CFClient, it works just fine and I can ch...
by cgpenguin
Fri Oct 02, 2020 12:26 pm
Forum: General discussions
Topic: Controlling the LED ring deck from Python
Replies: 17
Views: 6611

Controlling the LED ring deck from Python

Hey! I am trying to do some simple LED controls from a python script (together with using the movement commander) where basically the LED ring would receive new RGB values at certain interval (currently only need a simple setup where the whole ring uses the same color at the same time). However, I a...
by cgpenguin
Fri Oct 02, 2020 12:21 pm
Forum: Bitcraze
Topic: [SOLVED] CFCLient won't start in the VM
Replies: 2
Views: 2131

Re: CFCLient won't start in the VM

Problem solved (had to uninstall numpy and reinstall it).
by cgpenguin
Thu Oct 01, 2020 12:30 pm
Forum: Bitcraze
Topic: [SOLVED] CFCLient won't start in the VM
Replies: 2
Views: 2131

[SOLVED] CFCLient won't start in the VM

I have freshly installed the VM. However, trying to run cfclient yields the following error: INFO:cfclient.gui:Disabling STL printouts INFO:cfclient.utils.input.inputreaders:Input readers: ['linuxjsdev', 'pysdl2'] INFO:cfclient.utils.input.inputreaders:Successfully initialized [linuxjsdev] INFO:cfcl...
by cgpenguin
Mon Sep 07, 2020 8:16 pm
Forum: Lighthouse positioning system
Topic: LH tracking gradually stops working
Replies: 8
Views: 2541

Re: LH tracking gradually stops working

Lighthouse V1 with 2 base stations.