Created by [ Rowan Dempster], last modified by [ Charles Zhang] on Jan 04, 2021
For all questions, refer to the discord #tech-support channel.
You may be surprised to hear that the car's battery powers a rugged computer in it's trunk. Every line of self-driving related code written by software teams is compiled and run on that computer. The computer runs on Ubuntu 16.04 and ROS Kinetic (module management + communication), and we have/make drivers which allow us to control the vehicle within code.
ROS releases a new version every May, and uses fancy names mapped primarily to Ubuntu versions such as Kinetic (16.04), Lunar (17.04), Melodic (18.04), etc. Many people get confused by the word "Operating System", because they think that ROS is a substitute for personal computer OS as we know it (Windows, Mac OS, Ubuntu, etc.). For more information on why personal computer OS are but a particular embodiment of operating systems, I recommend reading the introductory blurb of Operating Systems: Three Easy Pieces. For the sake of onboarding, we can consider ROS to be a build system just like Make/CMake and its parsers, within which you can specify what you want to compile and how. In other words, it's just software that we can install on Ubuntu.
Typical development sessions will involve a iterative cycle of looking at data (rosbags), formulating the problem and solution (structuring the data), and implementing it (write code). Using ROS as our main framework comes with the drawback of its visualization tools not being supported by OpenSSH forwarding. This means to use critical workflow tools like rosrun image_view (needed for video playback of a topic in a rosbag), we would need to launch it on a native Ubuntu machine or Ubuntu VM via GUI.
See https://git.uwaterloo.ca/WATonomous/wato_monorepo for a detailed tutorial on how to get set up using WATonomous servers remotely for software development.
See team-specific onboarding guides:
Q: Some ROS related command can't be found.
A: Most likely ROS isn't properly sourced or the devel folder wasn't
sourced.
\
Q: Could not find the required component `jsk_recognition_msgs`
A: See part 2: Install this ROS dependency: sudo apt-get install
ros-kinetic-jsk-recognition-msgs, sudo apt install
ros-kinetic-jsk-rviz-plugins (for perception)
+———————————————————————–+
| [] |
| |
| > ./Vagrantfile: line 1: syntax error near unexpected token |
| > `"2"'\ |
| > ./Vagrantfile: line 1: `Vagrant.configure("2") do |config|' |
| |
| {.smallfont align=”left” style=”color: #666666; width: 98%; margi |
| n-bottom: 10px;”} |
| |
| Posted by henry.wang at Mar 12, 2020 23:33 |
| |
+———————————————————————–+
Document generated by Confluence on Dec 10, 2021 04:02