{"id":82,"date":"2025-08-12T11:31:36","date_gmt":"2025-08-12T18:31:36","guid":{"rendered":"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/?page_id=82"},"modified":"2025-08-12T11:32:55","modified_gmt":"2025-08-12T18:32:55","slug":"cav-club-server-plan","status":"publish","type":"page","link":"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/cav-club-server-plan\/","title":{"rendered":"CAV Club Server Plan"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/04\/Header_image-1024x683.png\" alt=\"\" class=\"wp-image-9\" srcset=\"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/04\/Header_image-1024x683.png 1024w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/04\/Header_image-300x200.png 300w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/04\/Header_image-768x512.png 768w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/04\/Header_image-1200x800.png 1200w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/04\/Header_image.png 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Good news! We are launching a new platform to help you get started with powerful simulation software as convenient as possible. The platform provides you with a fully-isolated Desktop environment to test your autonomous driving strategy.<\/p>\n\n\n\n<p>To get on-boarded, email Yuhao (yuhaoc@uvic.ca) to make an appointment to configure your simulation instance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Environment Configuration<\/h2>\n\n\n\n<p>We know how frustrating and time-consuming to set up an environment to run our algorithms in simulation or on a car. Don&#8217;t worry, we already have a ready-to-race car and have built a simulation enrivonment for you to play with. As a club member, you can get access to our club server through a VLAN and use the RoboRacer Simulator assigned to you.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"892\" height=\"552\" src=\"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image.png\" alt=\"\" class=\"wp-image-88\" srcset=\"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image.png 892w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image-300x186.png 300w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image-768x475.png 768w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Install the ZeroTier client<\/h3>\n\n\n\n<p>Go the&nbsp;<a href=\"https:\/\/www.zerotier.com\/download\/\">ZeroTier download page<\/a>&nbsp;to download the installation package for your computer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"989\" height=\"1024\" src=\"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image-1-989x1024.png\" alt=\"\" class=\"wp-image-89\" srcset=\"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image-1-989x1024.png 989w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image-1-290x300.png 290w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image-1-768x796.png 768w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image-1-1483x1536.png 1483w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image-1-1200x1243.png 1200w, https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-content\/uploads\/sites\/9188\/2025\/08\/image-1.png 1839w\" sizes=\"auto, (max-width: 989px) 100vw, 989px\" \/><\/figure>\n\n\n\n<p>After installation, launch ZeroTier. From the configuration menu, click&nbsp;<em><strong>Join New Network&#8230;<\/strong><\/em>&nbsp;Type in the network ID&nbsp;of CAV Club Server. After authorizing your access request, you will be in our club&#8217;s virtuall local network and have access to the club server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Access to Club server<\/h3>\n\n\n\n<p>With VLAN connection to our club server, we will offer you the following information:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Your local IP address<\/strong><\/li>\n\n\n\n<li><strong>Club server IP address<\/strong><\/li>\n\n\n\n<li><strong>Your SSH port<\/strong><\/li>\n\n\n\n<li><strong>Your remote desk port<\/strong><\/li>\n\n\n\n<li><strong>Your SSH user name<\/strong><\/li>\n\n\n\n<li><strong>Your SSH password (you can change later)<\/strong><\/li>\n<\/ul>\n\n\n\n<p>With the above information, you can use two ways to access the club server:&nbsp;<strong>SSH and Remote Desk<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">SSH<\/h4>\n\n\n\n<p>You have two options to connect to the server:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SSH from your terminal<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh -p &#091;your ssh port] &#091;your ssh user name]@&#091;Club server IP address]<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SSH with a client<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Remote Desktop<\/h4>\n\n\n\n<p>Download a&nbsp;<a href=\"https:\/\/www.realvnc.com\/en\/connect\/download\/combined\/?lai_vid=l2lnAq2W1FnD&amp;lai_sr=15-19&amp;lai_sl=l&amp;lai_p=1\">VNC viewer<\/a><\/p>\n\n\n\n<p>Then connect to the club server with&nbsp;<code>[Club server IP address]<\/code>&nbsp;and&nbsp;<code>[Your remote desk port]<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Play with simulation<\/h2>\n\n\n\n<p>Enter the Command Line Interface of your remote machine, as mention in&nbsp;Section SSH.<br>Execute the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Enter the sim_ws work space, you don't have to run this command if you are already in.\ncd ~\/sim_ws\n\n# Source the ROS 2 Foxy environment setup script\nsource \/opt\/ros\/foxy\/setup.bash\n\n# Source the local workspace setup script\nsource install\/local_setup.bash\n\n# Launch the F1Tenth gym bridge to connect simulation with ROS 2\nros2 launch f1tenth_gym_ros gym_bridge_launch.py<\/code><\/pre>\n\n\n\n<p>To play with your own algorithm, for example,&nbsp;<code>gap following<\/code>. Make sure you are under&nbsp;<code>sim_ws<\/code>&nbsp;before you execute the following commands<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Build the gap_follow package using colcon build system\ncolcon build --packages-select gap_follow\n\n# Source the local workspace setup script to make the package available\nsource install\/local_setup.bash\n\n# Run the reactive_node.py script from the gap_follow package\nros2 run gap_follow reactive_node.py<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good news! We are launching a new platform to help you get started with powerful simulation software as convenient as possible. The platform provides you with a fully-isolated Desktop environment &#8230;<\/p>\n","protected":false},"author":19805,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-82","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-json\/wp\/v2\/pages\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-json\/wp\/v2\/users\/19805"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":11,"href":"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-json\/wp\/v2\/pages\/82\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-json\/wp\/v2\/pages\/82\/revisions\/96"}],"wp:attachment":[{"href":"https:\/\/onlineacademiccommunity.uvic.ca\/cavclub\/wp-json\/wp\/v2\/media?parent=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}