When i try to launch the file from virtual environment the traininh never starts an i get quikly kicked off.
I did teste the ROS TF it was ok
Than i compiled following strictly the instructions
Verified the whole code
And repeated the sequence a few time
Always the same messages
…
ROS_MASTER_URI=http://master:11311
process[movingcube_gym-1]: started with pid [21237]
Logging to /tmp/openai-2020-03-02-02-03-29-369777
Traceback (most recent call last):
File “/home/user/catkin_ws/src/my_moving_cube_pkg/scripts/my_start_deepq.py”, line 8, in
import my_one_disk_walk
File “/home/user/catkin_ws/src/my_moving_cube_pkg/scripts/my_one_disk_walk.py”, line 10, in
from tf.transformations import euler_from_quaternion
File “/opt/ros/kinetic/lib/python2.7/dist-packages/tf/init.py”, line 28, in
from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException
File “/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/init.py”, line 38, in
from tf2_py import *
File “/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_py/init.py”, line 38, in
from ._tf2 import *
ImportError: dynamic module does not define module export function (PyInit__tf2)
[movingcube_gym-1] process has died [pid 21237,exit code 1, cmd /home/user/catkin_ws/src/my_moving_cube_pkg/scripts/my_start_deepq.py __name:=movingcube_gym __log:=/home/user/.ros/log/8baf16b4-5c20-11ea-aea7-0a568a31e1d1/movingcube_gym-1.log].
log file: /home/user/.ros/log/8baf16b4-5c20-11ea-aea7-0a568a31e1d1/movingcube_gym-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor…
… shutting down processing monitor complete
done
I tried a few other things with new reloaded consoles )
With
source ~/.catkin_ws_python3/openai_venv/bin/activate
source ~/.catkin_ws_python3/devel/setup.bash
the tf verification is ok but the launch file is not recognized.
If i then i add
cd /home/user/catkin_ws
source devel/setup.bash
I am able to launch the file but the tf is no more recognized.
In the live course #81 we use a special catkin_make
catkin_make -DPYTHON_EXECUTABLE:FILEPATH=~/python3_ws/py3venv/bin/python
why dont we use it in this module adapted to the ~/.catkin_ws_python3/openai_venv/ ?