Ubuntu 18.04 Bionic
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
- sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xAB17C654
- sudo apt-get update
- sudo apt install python3-vcstool python-catkin-tools python-pip python-argcomplete
- sudo apt-get install git-all
- git clone https://gitlab.robotics.caltech.edu/rollocopter/core/core_environment.git ~/Admin/core_environment
- pip2 install -e ~/Admin/core_environment --user
- cd ~/.local/bin && ./subtenv init dotfiles
- sudo reboot now
- subtenv install base
[WARNING] subtenv.check: [ 0] SubT simulator not found in standard path: /opt/ros/subt
- cd ~/Admin/core_environment && git lfs pull
- subtenv install perception
- subtenv install ros2
- subtenv install sim
[WARNING] subtenv.check: [ 0] SubT simulator not found in standard path: /opt/ros/subt
- sudo reboot now
- subtenv check
- subtenv update
If your module needs a new package (typically apt or pip), and want everyone to install onto their system, please edit the package list in shared/apt or shared/pip and make a merge request.
- mkdir -p jpl/src
- mkdir -p <workspace>/src
- cd ~/jpl
- cd <workspace>
- catkin config --extend /opt/ros/subt
- catkin config --extend <workspace_to_overlay>
- The typical overlay targets are: /opt/ros/melodic, /opt/ros/subt. In general, you should use the latter if it exists.
- cd ~/jpl/src
- cd <workspace>/src
- git clone https://gitlab.robotics.caltech.edu/rollocopter/core/core_workspace.git
- vcs-split-import scout_sim
- vcs-split-import <config>
- catkin build
- gedit ~/.bashrc
source ~/jpl/devel/setup.bash
# Set User Alias
alias eb="gedit ~/.bashrc"
alias sb="source ~/.bashrc"
alias agi="sudo apt-get install"
alias scout_run="~/jpl/src/scout_sim/simulation_scout/launch/start_scout_sim.sh scout"
- source ~/.bashrc
- scout_run
Command 'roslaunch' not found, but can be installed with:
sudo apt install python-roslaunch
- gedit ~/.bashrc
source ~/jpl/devel/setup.bash
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_multirotor_base_plugin.so: libgazebo_multirotor_base_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_gps_plugin.so: libgazebo_gps_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_mavlink_interface.so: libgazebo_mavlink_interface.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_imu_plugin.so: libgazebo_imu_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_imu_plugin.so: libgazebo_imu_plugin.so: cannot open shared object file: No such file or directory
Missed .so files
libgazebo_multirotor_base_plugin.so
libgazebo_motor_model.so
libgazebo_gps_plugin.so
libgazebo_mavlink_interface.so
libgazebo_imu_plugin.so
~/jpl/src/scout_core/core_capability/bringup_gazebo/launch/spawn_scout.launch ~/jpl/src/scout_core/core_robot_model/scout_description/launch/description.launch /usr/share/gazebo/setup.sh
Execute the following commands in jpl/src (<workspace>/src).
- vcs-pull
- vcs-check
- vcs-split-export
- vcs-split-export --exact