Search found 22 matches

by stupid_moron
Fri May 15, 2020 3:41 am
Forum: Loco Positioning System
Topic: Kalman Params callback
Replies: 5
Views: 2716

Re: Kalman Params callback

Hi sorry my mistake, i have to insert the logger entry into a dict type first before calling it. It works now However, I cannot perform the actions: Connect, then disconnect, and connect again, it gives an error. Below is the code i have modified from the sync logger. The error comes during the 2nd ...
by stupid_moron
Tue May 12, 2020 3:48 am
Forum: Loco Positioning System
Topic: Kalman Params callback
Replies: 5
Views: 2716

Re: Kalman Params callback

i have tried allocating to the same call back funct and differentiate the state estimates by using the LogConfig data. But the values still seems to be wrong. Suppose in a 2x Crazyflie setup with state estimates x0,y0,z0 and x1,y1,z1. sometimes it prints the x0,y1,z0 and x1, y0,z1, etc etc. I have a...
by stupid_moron
Mon May 11, 2020 9:06 am
Forum: Loco Positioning System
Topic: Kalman Params callback
Replies: 5
Views: 2716

Kalman Params callback

import logging, time,sys,cflib.crtp from cflib.crazyflie import Crazyflie from cflib.crazyflie.log import LogConfig, Log, LogVariable from cflib.crazyflie.syncCrazyflie import SyncCrazyflie from cflib.crazyflie.syncLogger import SyncLogger uris = ['radio://0/80/2M/E7E7E7E701','radio://0/80/2M/E7E7E...
by stupid_moron
Mon May 11, 2020 7:33 am
Forum: Loco Positioning System
Topic: Reading LPS Anchor Points
Replies: 3
Views: 2303

Re: Reading LPS Anchor Points

I am using the "lopo.setposition(x,y,z)" functions from lpslib.lopoanchor
by stupid_moron
Fri Apr 10, 2020 3:28 pm
Forum: Loco Positioning System
Topic: Reading LPS Anchor Points
Replies: 3
Views: 2303

Reading LPS Anchor Points

From the Bitcraze exmaple. I am able to write the loco anchor points via the python script.

I was wondering which func should i sue to read the loco anchor points via python script?
by stupid_moron
Thu Mar 26, 2020 3:12 am
Forum: External positioning systems
Topic: Light House Deck Damaged?
Replies: 3
Views: 11435

Re: Light House Deck Damaged?

I have ran the logging check on both of my decks 1) I move the CF orientation in 90Degree angle at the same spot -The deck which is working perfectly; Every 90degree angle change results in around 0.01 value change -The deck which i suspect is damaged: Every 90 degree angle change results in 3.4 val...
by stupid_moron
Tue Mar 24, 2020 7:52 am
Forum: External positioning systems
Topic: Light House Deck Damaged?
Replies: 3
Views: 11435

Light House Deck Damaged?

I have 2x Light house deck with crazyflie 2.1. Lighthouse deck 1 works perectly well every single time Lighthouse deck 2 works ocassionally, (just power off and swapping decks only,SAME setup, same placenmet, same lighting condition etc) When i run tools/lighthouse/get_bs_position.py, I get the erro...
by stupid_moron
Mon Mar 23, 2020 9:54 am
Forum: External positioning systems
Topic: Lighthouse + Swarm setup
Replies: 1
Views: 9804

Lighthouse + Swarm setup

I have my Lighthouse setup and tested with the examples>swarm>hl-commander-swarm.py Looking into the cflib>crazyflie>high_level_commander.py I notice that there is a function called "def set_group_mask(self,groupmask=ALL_GROUPS)" I was wondering how do i utalise this function? Suppose I on...
by stupid_moron
Mon Mar 23, 2020 9:48 am
Forum: External positioning systems
Topic: Manual Trajectory for Lighthouse Deck
Replies: 3
Views: 11440

Re: Manual Trajectory for Lighthouse Deck

Im not quite clear on what your described objective is. But from my personal testing, Since the CF Starting position is uploaded into the CF Firmware. I assume you're running the HL_Positioning_Commander (examples>position_commander_demo.py) which on every run, of the code, it will start from the po...
by stupid_moron
Mon Mar 23, 2020 9:41 am
Forum: External positioning systems
Topic: Light House Position question
Replies: 10
Views: 23440

Re: Light House Position question

Update: Light house works with the "HL Commander" python coding style. It Does not work the the "Flow" python coding style. I have been using the "Flow" python coding style. There wasnt much mention in the examples/setup guide. Hope this piece of information helps every...