melodic - olinrobotics/gravl GitHub Wiki
Make bootable drive with 18
Follow setup instructions for melodic
Add source to bashrc
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
Environment tools:
In addition to the packages installed with ROS, there are some additional ones that we often use. Among these is rosdep, what we often use to resolve dependencies when installing new packages.
- Install
sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential
- Initialize rosdep
sudo rosdep init
rosdep update
Catkin tools:
Based on instructions here
- Get ROS repositories with
.deb
forcatkin_tools
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list'
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
- Install
sudo apt-get update
sudo apt-get install python-catkin-tools
Workspace
catkin build
Our Code
Follow instructions on each repository
Troubleshooting
roslaunch tractor_sim_gazebo bringup.launch
[Err] [REST.cc:205] Error in REST request
Update gazebo http://gazebosim.org/tutorials?tut=install_ubuntu&cat=install#Alternativeinstallation:step-by-step using alt instructions gazebo9 instead of 11
gazebo: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgazebo_common.so.9: undefined symbol: _ZN8ignition10fuel_tools12ClientConfig12SetUserAgentERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE https://answers.ros.org/question/327766/i-installed-ros-melodic-for-my-1804-unbuntu-but-i-couldnt-launch-gazebo-with-the-gazebo-command/ sudo apt upgrade libignition-math2
[gazebo-2] process has died [pid 22599, exit code 255, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/amy/catkin_ws/src/tractor_sim/tractor_sim_gazebo/worlds/lpb.world __name:=gazebo __log:=/home/amy/.ros/log/c3c5c3e6-a02b-11ea-8dbd-f85971c60976/gazebo-2.log]. log file: /home/amy/.ros/log/c3c5c3e6-a02b-11ea-8dbd-f85971c60976/gazebo-2*.log Try re-running. If still not working, make sure gazebo isn't running killall -9 gzserver gzclient
catkin build Errors << tractor_sim_gazebo:make /home/amy/catkin_ws/logs/tractor_sim_gazebo/build.make.009.log make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libignition-common1.so.1.0.1', needed by '/home/amy/catkin_ws/devel/.private/tractor_sim_gazebo/lib/libhitch_plugin.so'. Stop. sudo apt install libignition-common
TODO
- Add state controller to gravl build
- make dockerfile for state_controller