-
Notifications
You must be signed in to change notification settings - Fork 0
xabierolaz/Python3_ROS
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
#IN ORDER TO HAVE ROS WORKING, WE WILL CREATE A PYTHON3 ENV INSIDE PYTHON2 #PREREQUISITES sudo apt-get install python-catkin-tools python3-dev python3-numpy #DOWNLOAD VIRTUAL ENV sudo pip install virtualenv #CREATE FOLDER mkdir -p python3_ws/src #GET INTO FOLDER cd python3_ws #CREATE ENVIRONMENT virtualenv py3venv --python=python3 #ACTIVATE ENVIRONMENT source ~/python3_ws/py3venv/bin/activate #ALL PYTHON3 LIBRARIES AND DEPENDENCIES MUST GO INSIDE python_ws/src cd ~/python3_ws/src #STEP 1:OPENAI #CLONE OPENAI BASELINES git clone https://github.com/openai/baselines.git cd baselines #BASELINES REQUIRE TENSORFLOW 1.15 pip install tensorflow==1.15rc2 #INSTALL ADDITIONAL DEPENDENCIES OF BASELINES pip install -e . #LETS INSTALL GYM LIBRARY pip install gym #STEP2:ROS PACKAGES PLUS DEPENDENCIES cd ~/python3_ws/src git clone https://github.com/ros/geometry git clone https://github.com/ros/geometry2 #DEPENDENCIES OF THOSE PACKAGES INCLUDE pip install pyaml pip install rospkg pip install empty #COMPILE ROS PACKAGES cd ~/python3_ws/src catkin_make -DPYTHON_EXECUTABLE:FILEPATH=/home/user/python3_ws/py3venv/bin/python
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published