Closed ernestum closed 5 years ago
Hi @erniejunior is that the entire output? Looks like stuff is missing. Will need more information to be able to be able to help. What does your iris_config file look like? What Python and OS versions are you running? What is the output of pip3 freeze
?
The Gazebo setup.sh file needs to be sourced to load some environment variables. In the example config if you are using Gazebo 9 on Ubuntu that should be the correct location. You can navigate to the location to confirm, otherwise if it was placed somewhere different you just need to locate it and modify its location in the config file. The error you are getting isn't related though.
Hi @wil3 thanks for the fast reaction. Yep this is all the output I get. I did not touch the iris.config, so it is just the same as on the master branch I am using Linux Mint 18.2 Sonya which corresponds to Ubuntu Xenial I think. Python version is 3.5.2. pip3 freeze output is here I installed Gazebo 9 and the setup.sh referred in the iris.config exists and I can source it.
My guess it has something to do with this line
Can you test this for me? From the terminal run ipython3
. Then do,
import psutil
psutil.net_connections()[0].laddr
Whats the output from the last command?
The output is (was):
In [1]: import psutil
In [2]: psutil.net_connections()[0].laddr
Out[2]: ('127.0.0.1', 56934)
so I figured I should upgrade psutil (I had version 3.4.2 installed, the current version is 5.5.0). After doing so:
In [1]: import psutil
In [2]: psutil.net_connections()[0].laddr
Out[2]: addr(ip='::', port=22000)
Now the run_iris_pid.py
script works as desired. Thanks for helping me fix my boring version problems (and sorry for bugging you with such minor issues). Maybe you could specify the minimum psutils version in the requirements?
Yes I definitely should, did you happen to review the API history to find out in what version that change was made?
While trying to get the GymFC up and running by running the iris pid example I ran into the following issue:
In the readme, you mention that the Gazebo
SetupFile
needs to be pointing to the correct location. As somebody who has never used Gazebo before it was unclear which file exactly you refer to and what I should put in there.