-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi drone connection using SDK #85
Comments
RoboMaster-SDK/src/multi_robomaster/tool.py Line 175 in ff6646e
|
Thank you @hummelslei . I will give it a try and update you about it by tomorrow. 👍🏻 |
Hello @hummelslei , The solution did not worked for me. I am still getting the same error. |
Hello @hummelslei |
How to reproduce the issue:
robomaster.config.LOCAL_IP_STR = "192.168.10.2"
in the code, before creating the object of Drone() here. Do this for each drones you have.Things you might notice during the above procedure.
THE ERROR
At very first execution of this example from github, I got the following error
After having good view on the code downloaded from the pip install and the code on this github repo, I find its not the same. For starter, you can go to the PyPi robomaster download latest whl and check the line 106 in
multi_robomaster/tool.py
and same file multi_robomaster/tool.py line 103 on github. You notice the error producing linebroadcast = ipinfo['broadcast']
is not present on the github version.After some printing and debugging and chatting with the dev team of dji @dji-dev , I realise it was giving the error because of the multiple physical and virtual network cards (self, LAN, wifi, docker and few more) available on the system. After that I tried to iterate over only wifi using the wifi adapter name in this for loop. But I get the following Error
Here I am stuck and have no idea what to try next.
Any help would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: