Skip to content
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

Minimum working example for ROS Melodic #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dnandha
Copy link

@dnandha dnandha commented Jul 2, 2021

Minimum working example for iGibson with ROS Melodic.
Adds a conda environment file and uses TurtleBot3.

Note: VelocityMuxer is not available for ROS Melodic and has been commented out.

Installation for ROS Melodic

  • conda env create -f environment.yml
  • conda activate py2-igibson
  • pip install -e .
  • export PYTHONPATH="$PYTHONPATH:<PATH_TO_IGIBSON>" (add this line to ".bashrc" for auto export in future)
  • sudo apt install python-catkin-tools ros-melodic-turtlebot3-teleop ros-melodic-depthimage-to-laserscan ros-melodic-hector-mapping
  • mkdir -p ~/catkin_ws/src
  • cd <PATH_TO_IGIBSON>/gibson2
  • ln -s $PWD/examples/ros/gibson2-ros ~/catkin_ws/src/
  • cd ~/catkin_ws
  • rosdep install --from-paths src --ignore-src -r -y
  • catkin build

Running with ROS

  • source ~/catkin_ws/devel/setup.bash
  • roslaunch gibson2-ros turtlebot_rgbd.launch

fxia22 added a commit that referenced this pull request Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant