Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. - Install one of the Ubuntu 18.04 desktop distribution (I use xubuntu).
  2. - Install ros-melodic-desktop-full (http://wiki.ros.org/melodic/Installation):
  3. $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
  4. $ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
  5. $ sudo apt update
  6. $ sudo apt install ros-melodic-desktop-full
  7. - Setup ROS environment:
  8. $ sudo rosdep init
  9. $ rosdep update
  10. $ echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
  11. $ source /opt/ros/melodic/setup.bash
  12. - Install dependencies:
  13. $ sudo apt-get install python-wstool python-catkin-tools \
  14. protobuf-compiler libgoogle-glog-dev liblapacke-dev \
  15. ros-melodic-octomap-ros ros-melodic-ompl \
  16. ros-melodic-mavros ros-melodic-joy \
  17. ros-melodic-mavlink
  18. - Fetch and compile ROS-packages
  19. $ mkdir -p ws/src
  20. $ wget https://pastebin.com/raw/ShFhLrMZ -O ws/src/.rosinstall
  21. $ wstool update -t ws/src
  22. $ catkin build --workspace ws rotors_simulator mav_voxblox_planning
  23. - Run Scenario
  24. $ source ws/devel/setup.bash
  25. $ roslaunch mav_local_planner firefly_sim.launch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement