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

Changes to lesson 3. Those changes were previously in the following_u… #2

Merged
merged 1 commit into from
May 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 15 additions & 27 deletions primers/3-lesson_virtual_machine.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"And you have to turn it on in the BIOS, otherwise the virtual machine software will complain, or run slow, or not run at all.\n",
"These screenshots demonstrate how it is done on a Lenovo laptop with an Intel CPU:\n",
"\n",
"<img src=\"virtual_machine/figures/bios1.jpg\" width=\"50%\">\n",
"<img src=\"virtual_machine/figures/bios2.jpg\" width=\"50%\">\n",
"<img src=\"virtual_machine/figures/bios1.jpg\" width=\"50%\" />\n",
"<img src=\"virtual_machine/figures/bios2.jpg\" width=\"50%\" />\n",
"\n",
"Look for something similar in the BIOS of your machine.\n",
"When you are done with setting up your BIOS, you can proceed to one of the two virtualization software options.\n",
Expand All @@ -60,7 +60,7 @@
"\n",
" Go to the [download page](https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/15_0|PLAYER-1552|product_downloads), download the installer for your system and install it.\n",
" \n",
" <img src=\"virtual_machine/figures/vmware0.jpg\" width=\"50%\">\n",
" <img src=\"virtual_machine/figures/vmware0.jpg\" width=\"50%\" />\n",
" \n",
"2. __Download the virtual machine image from our OneDrive__\n",
" \n",
Expand All @@ -71,15 +71,15 @@
"\n",
" You are almost there, choose _Open a Virtual Machine_:\n",
" \n",
" <img src=\"virtual_machine/figures/vmware1.jpg\" width=\"50%\">\n",
" <img src=\"virtual_machine/figures/vmware1.jpg\" width=\"50%\"/>\n",
"\n",
" Locate the files you unzipped and choose this one:\n",
" \n",
" <img src=\"virtual_machine/figures/vmware2.jpg\" width=\"50%\">\n",
" <img src=\"virtual_machine/figures/vmware2.jpg\" width=\"50%\"/>\n",
" \n",
" And start the machine:\n",
" \n",
" <img src=\"virtual_machine/figures/vmware3.jpg\" width=\"50%\">\n",
" <img src=\"virtual_machine/figures/vmware3.jpg\" width=\"50%\"/>\n",
"\n",
"4. __Start using the virtual machine__\n",
"\n",
Expand All @@ -88,11 +88,11 @@
" Also, we have set the operation memory to be 4 GB for the virtual machine.\n",
" If you happen to have plenty on your host machine, you can increase the amount in the virtual machine settings.\n",
" \n",
" <img src=\"virtual_machine/figures/vmware4.jpg\" width=\"50%\">\n",
" <img src=\"virtual_machine/figures/vmware4.jpg\" width=\"50%\"/>\n",
" \n",
"5. __Run the graphical benchmark to see if everything works alright__\n",
"\n",
" After logging in, open a terminal by pressing `CTRL+ALT+T` and the typing `sl` and pressing enter.\n",
" After logging in, open a terminal by pressing `CTRL+ALT+T`, type `sl` and press enter.\n",
"\n",
"\n",
"\n",
Expand All @@ -104,7 +104,7 @@
"\n",
" Go to the [download page](https://www.virtualbox.org/wiki/Downloads), download the installer for your system and install it.\n",
" \n",
" <img src=\"virtual_machine/figures/virtualbox0.jpg\" width=\"50%\">\n",
" <img src=\"virtual_machine/figures/virtualbox0.jpg\" width=\"50%\"/>\n",
" \n",
"2. __Download the virtual machine image from our OneDrive__\n",
" \n",
Expand All @@ -115,15 +115,15 @@
"\n",
" You are almost there, choose _Add_:\n",
" \n",
" <img src=\"virtual_machine/figures/virtualbox1.jpg\" width=\"50%\">\n",
" <img src=\"virtual_machine/figures/virtualbox1.jpg\" width=\"50%\"/>\n",
"\n",
" Locate the files you unzipped and choose this one:\n",
" \n",
" <img src=\"virtual_machine/figures/virtualbox2.jpg\" width=\"50%\">\n",
" <img src=\"virtual_machine/figures/virtualbox2.jpg\" width=\"50%\"/>\n",
" \n",
" And start the machine:\n",
" \n",
" <img src=\"virtual_machine/figures/virtualbox3.jpg\" width=\"50%\">\n",
" <img src=\"virtual_machine/figures/virtualbox3.jpg\" width=\"50%\"/>\n",
"\n",
"4. __Start using the virtual machine__\n",
"\n",
Expand All @@ -132,11 +132,11 @@
" Also, we have set the operation memory to be 4 GB for the virtual machine.\n",
" If you happen to have plenty on your host machine, you can increase the amount in the virtual machine settings.\n",
" \n",
" <img src=\"virtual_machine/figures/virtualbox4.jpg\" width=\"50%\">\n",
" <img src=\"virtual_machine/figures/virtualbox4.jpg\" width=\"50%\"/>\n",
" \n",
"5. __Run the graphical benchmark to see if everything works alright__\n",
"\n",
" After logging in, open a terminal by pressing `CTRL+ALT+T` and the typing `sl` and pressing enter.\n",
" After logging in, open a terminal by pressing `CTRL+ALT+T`, type `sl` and press enter.\n",
"\n",
"\n",
"# Remarks on the virtual machine\n",
Expand All @@ -146,20 +146,8 @@
"We have already prepared a link to the executable _Paraview_ binary, it is sufficient to type `paraview` in the terminal to run it.\n",
"\n",
"Moreover, there is an empty folder `percep3d_data` intended for datasets that we will provide you for the exercises.\n",
"The folder `percep3d_workspace` contains ROS software packages that will come handy as well.\n",
"It is split into `catkin_workspace` which contain pure ROS packages and into `external_libraries` which include mapping libraries used by the packages from the `catkin_workspace`.\n",
"Although this following information is not necessary to be understood now, it might come handy later, if you dug deeper into ROS:\n",
"- Packages in `catkin_workspace` are compiled using command `catkin_make -j 2`. We provide you an already compiled workspace, but you might want to play with new packages, then use this command to re-compile. The `-j 2` parameter tells the compiler to run with maximum two threads, otherwise the virtual machine runs out of memory and the compiler crashes...\n",
"- The libraries located in `external_libraries` are compiled using the command `catkin_make_isolated -j 2`. There should be no need to recompile this workspace, the libraries are up-to-date.\n",
"- ROS and both workspaces are sourced in the bash setup script, `/home/student/.bashrc`, you can inspect the end of that file in any text editor (_gedit_ or _nano_ if you prefer text interface). In the virtual machine based on the _VMWare Player_, we also set the visualizer for ROS, called _rviz_, to run its graphics in software mode for compatibility reasons (it does not like the virtual graphics card). \n"
"The folder `percep3d_workspace` contains ROS software packages that will come handy during the ROS lessons and the mapping lessons."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down