Page 3 of 3
Re: Address configure error
Posted: Wed Oct 26, 2016 1:49 am
by whoenig
1. Crash: When does this happen? Does the log file it points you to contain any additional information?
2. Low-Signal when using multiple radios: I assume each radio is using a different channel? If you use the 2Mbit operation mode, the channels need to be spaced apart by at least 2 MHz.
3. Oscillations: Did you program unique device addresses for each Crazyflie? Did you disable logging (that reduces the radio bandwidth)?
The USB hub should not be a problem in general. It adds some latency, but the bandwidth stays the same.
Re: Address configure error
Posted: Wed Oct 26, 2016 3:44 am
by ryanwallis
1. I will be away from the lab for a few weeks so I will update when I can check the log file. The crash was every run.
2. Yes each radio is using different channels, I have also tried different data-rates
3. Yes unique address for each, and yes logging has been disabled
Okay, I see
Re: Address configure error
Posted: Sun Nov 06, 2016 3:50 am
by Newk
I'm running into the same issue when calling:
Code: Select all
roslaunch bitcraze_lps_estimator dwm_loc_ekf_multi_hover.launch
Not being able to change the URI adress with the same channel and bandwidth.
Setting the launchfile like this will not work:
Code: Select all
<?xml version="1.0"?>
<launch>
<arg name="uri0" default="radio://0/1/2M/E7E7E7E7E7"/
<arg name="uri1" default="radio://0/1/2M/E7E7E7E701"/>
only different channels with the same default URI address (0xE7E7E7E7E7)
Code: Select all
<?xml version="1.0"?>
<launch>
<arg name="uri0" default="radio://0/1/2M"/
<arg name="uri1" default="radio://0/124/2M"/>
When changing radio-channels like this tracking becomes more jittery
Can the fix with VICON be applied with LPS aswell?
Re: Address configure error
Posted: Sun Nov 06, 2016 5:00 am
by whoenig
Hi,
You can try changing line
https://github.com/whoenig/crazyflie_ro ... ie.cpp#L47 from
Code: Select all
success = std::sscanf(link_uri.c_str(), "radio://%d/%d/%d%c/%lx",
to
Code: Select all
success = std::sscanf(link_uri.c_str(), "radio://%d/%d/%d%c/%llx",
and report back here. Which operating system are you using - 32 or 64bit?
As for your channels: not every channel allows good communication. You will need to find channels which do not interfere with other devices using the same 2.4 Ghz band (such as Wifi, bluetooth etc.).
Wolfgang
Re: Address configure error
Posted: Sun Nov 06, 2016 10:49 pm
by Newk
That did work!
Thank you! I now got it to detect and control 3 drones with LPS on the same channel.. Awesome!
i'm on (L)ubuntu 16.04 32bit
Tomorrow i set up the anchors properly and try to get them flying as stable possible...
I am totally new to ROS and need to figure out what part of code is communicating with other parts.