<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by jfrux on Medium]]></title>
        <description><![CDATA[Stories by jfrux on Medium]]></description>
        <link>https://medium.com/@jfrux?source=rss-483597975a5f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*TLaFnWRimHgTFV4p.jpg</url>
            <title>Stories by jfrux on Medium</title>
            <link>https://medium.com/@jfrux?source=rss-483597975a5f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 30 May 2026 07:52:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jfrux/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Comma Pedal: Updating the Firmware over CAN]]></title>
            <link>https://medium.com/@jfrux/comma-pedal-updating-the-firmware-over-can-fa438a3cf910?source=rss-483597975a5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa438a3cf910</guid>
            <category><![CDATA[commaai]]></category>
            <category><![CDATA[pedal]]></category>
            <category><![CDATA[autonomous]]></category>
            <category><![CDATA[openpilot]]></category>
            <category><![CDATA[self-driving]]></category>
            <dc:creator><![CDATA[jfrux]]></dc:creator>
            <pubDate>Wed, 27 Mar 2019 13:54:31 GMT</pubDate>
            <atom:updated>2019-05-22T11:04:43.548Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cchxc49aJbrwpnX62BI_lg.png" /></figure><p>Having installed Pedal is <a href="https://medium.com/@jfrux/comma-pedal-building-with-macrofab-6328bea791e8">not easy</a>. Having to <a href="https://medium.com/@jfrux/flashing-the-comma-pedal-with-ubuntu-a83fb668f6e2">install firmware on Pedal</a> isn’t exactly something I would describe as “fun” either.</p><p><strong>IMPORTANT: This is only needed if you already have Pedal installed in your vehicle and are running v0.5.10+ of Openpilot. For initial USB flashing of Pedal before it is installed, follow my guide below.</strong></p><p><a href="https://medium.com/@jfrux/flashing-the-comma-pedal-with-ubuntu-a83fb668f6e2">Comma Pedal: Flashing the Firmware</a></p><p>Considering I’m constantly working to build tools to make things easier, it’s no question that when Comma requests we update our Pedal firmware to remain compatible in v0.5.10 then I must find a solution to making that as easy as possible as well.</p><p>I will detail the “manual” way for the do’ers and go’getters out there. This is the method that is proposed internally by Comma staff (that are smarter than I am, and also I’m not Comma staff).</p><h4>Connect EON to Vehicle</h4><p>This type of update only works when Pedal and all other devices have power and are already installed with the network cable and receiving CAN signals.<br>If you’re in a Toyota / Honda Bosch that requires external power before the vehicle starts, you will need to have the vehicle running. Your vehicle will throw errors, that is normal. It’ll go away once you’ve patched your Pedal.</p><p>For my 2017 Honda Pilot, however, I did not need to have the vehicle running as all my devices are powered by the vehicle by default.</p><p>Once you’re sure everything has power, continue on.</p><h4>Connect to EON via SSH</h4><p>First we need to SSH into our EON with <a href="https://opc.ai/workbench">Workbench</a> or via <a href="https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75">Terminal</a>. When doing this in a vehicle, wifi may not be easily accessible so you will either need to be near WiFi or have both your laptop and EON connected to your personal hotspot.</p><p>If you’ve never done this before, checkout <a href="https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75">my guide on the subject</a> or try your luck with my desktop app known as <a href="https://opc.ai/workbench">Workbench</a> that aims to make it a breeze.</p><p><a href="https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75">Comma EON: Getting Connected with SSH</a></p><h4>Update Openpilot to v0.5.10+</h4><p>We then need to proceed to update our Openpilot version to ensure we’re using the latest version (or a version greater than v0.5.10). If you’re on the release build, you should be updated automatically and are probably here because your car is having a shit about itself right about now.</p><p>If you’re not running release, then update with the following or clone a fresh version of Openpilot from commaai/openpilot:</p><pre>cd /data/openpilot &amp;&amp; git pull origin master</pre><p>I’m not sure if this is required but I do it for good measure if you updated so everything is fresh.</p><pre>reboot</pre><h4>Flash the Comma Pedal over CAN</h4><p>Now that your EON is back up and your vehicle dash is full of errors…</p><p>We’re going to SSH back in if you rebooted above.</p><blockquote><strong>TIP: </strong>If you’re using Workbench v0.1.5+ you can run the rest of this guide via the built-in command. Scroll-down to see those instructions.</blockquote><p>We need to start by making sure all Openpilot processes are dead.<br>The way I did this was with the following command:</p><pre>tmux kill-session -t comma</pre><p>This terminates a special shell session that was used to run all the Openpilot processes, in turn by terminating this we’re terminating all of it.</p><p>Now we need to flash the firmware.<br>Luckily there is a command for that too.</p><p>Let’s change into the pedal directory for clarity&#39;s sake.</p><pre>cd /data/openpilot/panda/board/pedal</pre><p>Now we run one more command to flash it.</p><pre>PYTHONPATH=/data/openpilot &amp;&amp; make</pre><p>You should get some positive reinforcement and successful responses from this command.</p><h4>Shut off Vehicle and Reboot EON</h4><p>Now that you’ve flashed the Pedal successfully, you will need to turn off your vehicle and reboot EON.</p><p>Wait for EON to boot up successfully and then start your vehicle when you see all signs are good on the EON screen.</p><h4>What to do if things go wrong…</h4><p>Let’s face it, these guides never go quite as planned for whatever reason… in this case, hopefully one of these will help you.</p><p><strong>If you receive </strong>No module named panda <strong>the following:</strong></p><pre>Traceback (most recent call last):   File &quot;../../tests/pedal/enter_canloader.py&quot;, line 7, in &lt;module&gt;     from panda import Panda ImportError: No module named panda make: *** [Makefile:22: canflash] Error 1</pre><p>This means that the PYTHONPATH didn’t get set properly.</p><p>Ensure you run the command exactly as above with PYTHONPATH=/data/openpilotor optionally you can run it as a separate command with export PYTHONPATH=/data/openpilot and then follow it up with a make while in the/data/openpilot/panda/board/pedal directory.</p><p><strong>If you receive </strong>CAN: BAD RECV, RETRYING<strong> or more specifically the following:</strong></p><pre>PYTHONPATH=/data/openpilot make ../../tests/pedal/enter_canloader.py obj/comma.bin opening device 07000f800f51363038363036 0xddcc exception LIBUSB_ERROR_BUSY [-6] Traceback (most recent call last):   File &quot;/data/openpilot/panda/python/__init__.py&quot;, line 177, in connect     self._handle.claimInterface(0)   File &quot;/usr/local/lib/python2.7/site-packages/usb1.py&quot;, line 1162, in claimInterface     libusb1.libusb_claim_interface(self.__handle, interface),   File &quot;/usr/local/lib/python2.7/site-packages/usb1.py&quot;, line 121, in mayRaiseUSBError     raiseUSBError(value)   File &quot;/usr/local/lib/python2.7/site-packages/usb1.py&quot;, line 117, in raiseUSBError     raise STATUS_TO_EXCEPTION_DICT.get(value, USBError)(value) USBErrorBusy: LIBUSB_ERROR_BUSY [-6] connected <br>CAN: BAD RECV, RETRYING <br>CAN: BAD RECV, RETRYING <br>CAN: BAD RECV, RETRYING <br>CAN: BAD RECV, RETRYING <br>CAN: BAD RECV, RETRYING <br>CAN: BAD RECV, RETRYING <br>CAN: BAD RECV, RETRYING</pre><p>This means that something didn’t kill properly when you ran tmux kill-session -t comma so you will need to try again. I had a problem where running tmux a and then hitting ctrl+c didn’t fully terminate the processes so I had to reboot and try again. I think tmux kill-session -t comma should be more reliable and less destructive than the tmux a and ctrl-c approach.</p><p>If something else goes wrong, please connect with the community on Discord in the <a href="https://discordapp.com/channels/469524606043160576/524595554898935808/560461772524617730">#hw-pedal</a> channel.</p><h4>Flashing the Pedal over CAN with Workbench v0.1.5</h4><p>You can also perform the flashing commands above with Workbench.</p><p><strong>Workbench Support: </strong>If you experience issues with Workbench, please reach out on the <strong>Workbench Discord</strong> or report bugs to <strong>GitHub Issues</strong></p><blockquote>By the time you read this guide, v0.1.5 of Workbench should be up but if it isn’t don’t fret, it’ll be available soon.</blockquote><p>You will need the latest version of Workbench or at least v0.1.5+ which you can download below…</p><p><a href="https://github.com/jfrux/workbench/releases">jfrux/workbench</a></p><blockquote>If you’ve already downloaded Workbench, ensure you’re running v0.1.5+ when it’s released for your platform. For Workbench support, please connect to Discord and enter the <a href="https://discordapp.com/channels/469524606043160576/524564546833219584/524596518750126090">#topic-workbench</a> channel.</blockquote><p>Scan and find your EON or add it’s IP manually using the + icon.</p><p>Click your EON once it is found.</p><p>If you receive the unknown host warning, type Yes in the console and press enter.</p><p>Click the Update Pedal Firmware via CAN link on the left…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MDoZ9it_0UtfO_c5AAI55w.png" /></figure><p>Read through the notes on the right about the command.</p><p>Then press the Run button.</p><p>If all goes well, you should see successful messages.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa438a3cf910" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing a Fork of Openpilot with Workbench]]></title>
            <link>https://medium.com/@jfrux/installing-a-fork-of-openpilot-with-workbench-de35e9388021?source=rss-483597975a5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/de35e9388021</guid>
            <category><![CDATA[workbench]]></category>
            <category><![CDATA[commaai]]></category>
            <category><![CDATA[openpilot]]></category>
            <category><![CDATA[easy]]></category>
            <category><![CDATA[install]]></category>
            <dc:creator><![CDATA[jfrux]]></dc:creator>
            <pubDate>Fri, 09 Nov 2018 15:35:13 GMT</pubDate>
            <atom:updated>2019-05-22T11:02:48.796Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*00tRKrNUiS4voyh-A3sSlg.png" /></figure><h4>Diving Deeper into Workbench and Openpilot</h4><h4>Preface</h4><p>So as many of you know, I once wrote an article about Installing a Fork of Openpilot which involved setting up your EON and Computer to connect to it via SSH and jump through hoops anytime you wanted to do any little old thing.</p><p>Well that is NO MORE with the release of Workbench.<br>It doesn’t matter if you’ve setup SSH before, Workbench takes care of it. Even if you’re on a random computer on some random network.</p><p>As long as EON is on your network, you can connect to it with Workbench.</p><blockquote><strong>IMPORTANT:</strong> Your EON needs to have had Openpilot already installed via the Comma install process found here prior to doing this guide.<br><a href="https://medium.com/@jfrux/comma-eon-initial-setup-with-openpilot-2b5ea58354a">https://medium.com/@jfrux/comma-eon-initial-setup-with-openpilot-2b5ea58354a</a></blockquote><h4>Download Workbench</h4><p>Grab the latest version of Workbench from <a href="https://github.com/jfrux/workbench/releases">https://github.com/jfrux/workbench/releases</a></p><p><a href="https://github.com/jfrux/workbench/releases">jfrux/workbench</a></p><h4>Workbench Support</h4><p>If you experience issues with Workbench, please reach out on the <strong>Workbench Discord</strong> or report bugs to <strong>GitHub Issues</strong></p><h4>Ensure SSH is enabled on EON</h4><p>This is required for Workbench to connect successfully and run its commands for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p_YiNdU2Y5ChXUAnD4WReA.png" /></figure><h4>Scan for EON with Workbench</h4><p>If you’re connected to the same network as your EON and your network doesn’t have any real restrictions put in place about device communication, it should detect it really quickly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t7c13gYtCq8bM_dwT2R2Vg.gif" /><figcaption>Workbench v0.1.1</figcaption></figure><p>If for some reason it doesn’t find it, try closing Workbench and re-opening it. Some have found it fails to find it if you’ve scanned and it failed before. I’ve had mixed experiences as well. If all else fails, close and try again. I’ve found it to be fairly reliable.</p><p>EON will show a green checkmark when it has been successfully reached.</p><h4>Connect to EON</h4><p>Since the release of Workbench, nobody has to worry about SSH keys, terminals, anymore due to its convenient instant setup of the SSH key, finding EON, and entering commands for you automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N4ZuuL6UZbZBV1XPHr_31A.gif" /><figcaption>Enter Yes if prompted, otherwise you’re good.</figcaption></figure><p>If this is a new IP, your computer will still prompt you to add it to Known Hosts by typing in yes in the console.</p><p>If all is successful yours should look like the above animation.</p><h4>Finding Your Fork</h4><p>Now for the hardest part of the entire guide, don’t worry it’ll be over soon.</p><p>Locate the Git URL for the Openpilot fork you would like to use.<br>For me, this is going to be the great <strong>kegman</strong> fork which enables better follow distance adjustments for my 2017 Honda Pilot.</p><p>So I visit <a href="https://github.com/kegman/openpilot">https://github.com/kegman/openpilot</a> and click the clone button to copy the full Git url.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*sPO_sz-cdWoHa0R7aK8nMQ.gif" /></figure><p>Then, I go back over to Workbench and proceed with the next step.</p><h4>Install Openpilot</h4><p>This is where it gets even more fun. Now you don’t have to remember those pesky git commands.</p><p>Under Console on the left click on Install Openpilot</p><p>A drawer should slide out from the right.</p><p>Paste the full Git URL copied from the Clone button on the Github site like above, (it must have the .git) on the end of it. You cannot use just any URL, it must be the one from the animation image above.</p><p>Now go back to the Github page, determine the branch you need to install from the Branch list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*SDtW3dovBdgnQNpWxhvEaQ.png" /></figure><p>You’ll need to type it exactly as it is in this list, or find a place on the Github page to copy it from…</p><p>Enter it into the Branch field back inside of the Workbench drawer and then press the blueRun button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yV-pfy4ZkCwy8UtBF8zYeg.gif" /></figure><p>If you did it successfully, you should see that it’s cloning the repo as normal.</p><h4>Reboot EON with Workbench</h4><p>After it looks to be completed with the cloning process, simply click on Reboot under Console on the left and press Run.</p><p>Your EON should reboot.</p><h4>Troubleshooting</h4><p>error: pathspec ‘&lt;branchname&gt;’ did not match any file(s) known to git.</p><p>If you receive the above message, check the name of the branch you used and ensure its typed correctly. It is case-sensitive.</p><h4>Get Help &amp; Support with Workbench</h4><p>Feel free to reach out with questions &amp; feedback on GitHub <a href="https://github.com/jfrux/workbench/releases">Workbench</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de35e9388021" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Workbench for Openpilot]]></title>
            <link>https://medium.com/@jfrux/introducing-workbench-for-openpilot-1bd60053dc9?source=rss-483597975a5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bd60053dc9</guid>
            <category><![CDATA[community]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[one]]></category>
            <category><![CDATA[workbench]]></category>
            <category><![CDATA[openpilot]]></category>
            <dc:creator><![CDATA[jfrux]]></dc:creator>
            <pubDate>Wed, 07 Nov 2018 05:32:43 GMT</pubDate>
            <atom:updated>2019-05-22T11:03:20.957Z</atom:updated>
            <content:encoded><![CDATA[<h4>A desktop application for porting and managing Openpilot.</h4><h4>Connecting to EON in Seconds!</h4><p>With Workbench, you don’t even have to think about connecting. Just open, scan and click EON to jump into a shell in seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nTeYuvhpcYwh_eR0S37r9w.gif" /></figure><p>Never fuss with installing SSH keys, or finding the IP of your EON again!</p><h4>Workbench Support</h4><p>If you experience issues with Workbench, please reach out on the <strong>Workbench Discord</strong> or report bugs to <strong>GitHub Issues</strong></p><h4>Installing Openpilot with Ease!</h4><p>You no longer need to worry about how to install a fork, or remember those pesky git commands. Workbench remembers for you!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yV-pfy4ZkCwy8UtBF8zYeg.gif" /></figure><h4>and reboot to boot!</h4><p>Why? Because we can of course…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YQY4D0QUNLANo-kMLDjJLQ.gif" /></figure><h4>Take a screenshot</h4><p>Ever wanted to show someone something on your EON screen but holding down all the buttons in the world doesn’t land you a nice clean screenshot?</p><p>Now you get screenshots delivered directly to your desktop with 2 clicks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*fbEUB-u3g713OPP35nJofQ.gif" /></figure><h4>Tmux for free?</h4><p>You can see the same messages as with tmux a except without the tmux a</p><p>Simply click on Log Messages. And… you can toggle the depth, pause the message and freeze it in place, and press play to pick back up where you left off. (and soon(tm), you’ll be navigating through the messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zw_6YIJjm2EVOhzK7SoNZg.gif" /></figure><h4>Sample CAN data</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lUW0NtkSWHstBJWnUiOMBQ.gif" /></figure><h4>So what are you waiting for? Download it today!</h4><p><a href="https://github.com/jfrux/workbench/releases">jfrux/workbench</a></p><p>Just launched this first version to get us started.<br>Stay tuned and submit feedback on GitHub issues so we can learn more about how you’re using Workbench and how you might like to use it.</p><h4>Get Help &amp; Support with Openpilot</h4><p>Feel free to reach out with questions &amp; feedback on the community <a href="https://discord.gg/Wyna3qy">Discord</a>.<br><a href="https://discord.gg/Wyna3qy"><strong>Join the Discussions</strong></a></p><p>❤ jfrux</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bd60053dc9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comma EON: Mounting & Calibration]]></title>
            <link>https://medium.com/@jfrux/comma-eon-mounting-calibration-82806162a51?source=rss-483597975a5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/82806162a51</guid>
            <category><![CDATA[commaai]]></category>
            <category><![CDATA[mounting]]></category>
            <category><![CDATA[openpilot]]></category>
            <category><![CDATA[one]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <dc:creator><![CDATA[jfrux]]></dc:creator>
            <pubDate>Fri, 29 Jun 2018 17:40:03 GMT</pubDate>
            <atom:updated>2018-12-21T16:10:39.703Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D7VvwLKID5AvOZuU-iWj5g@2x.jpeg" /></figure><p>I know there is a <em>wealth</em> of information available on the <a href="http://wiki.comma.ai">Comma Wiki</a> but there are just some things that seem to be overlooked or misunderstood by some users and I want to hopefully help remedy this by getting this article out there.</p><blockquote><strong><em>Chat with Experts of Openpilot on Discord<br></em></strong><em>Feel free to reach out with questions &amp; feedback on the community </em><a href="https://discord.gg/Wyna3qy"><em>Discord</em></a><em>.</em><br><a href="https://discord.gg/Wyna3qy"><strong><em>Join the Discussions</em></strong></a></blockquote><h3>The Problem (but not really)</h3><p>If you’re like me, you probably didn’t put much initial thought into mounting your EON. You probably mounted it initially without thought or question and then you startup EON and OP and start driving, and for one reason or another the EON is not tracking or is pulling to one side, even after “calibration”.</p><p><em>By the way, the calibration step is mainly a safety feature to keep you from engaging openpilot while the car is not tracking lane lines and cars yet. If you ever move your EON it will need some time to realign and calibrate (without hitting Reset Calibration)</em></p><p>After realizing this, they stop driving and end up on the <a href="https://discord.gg/Wyna3qy">Community Discord</a> server. And other user’s responses have always been <em>“Well it’s probably the yaw, or pitch or your face … “</em>.</p><p>And the truth is, more often than not it’s mounted just fine. <br>Stop worrying, breathe.</p><p>It’s fairly common sense and most people understand that it should be as visually straight as possible… that’s kind of the general idea, but the responses in <a href="https://discord.gg/Wyna3qy">Discord</a> about “Yaw” and “Pitch” cause people to spend days doubting their purchase, as well as doubting themselves and how straight their EON is.</p><h3>The Solution</h3><p>Eyeball it and make it as straight on and as perpendicular as you can under your mirror.</p><p>Your vehicle’s stock camera is generally centered but not always, so don’t think that’s the best placement or that you should concern yourself with that.</p><h4><strong>Things you should NOT to try:</strong></h4><ul><li><strong>Do NOT </strong>get all technical about it. It’s just not necessary. One way to find out if you’re overthinking it is ask yourself:<br>“Do I have a ruler, measuring tape, or some other modern sophisticated measuring device in the palm of my hand?” <br>If you answer yes to any of those, you’re overthinking it.</li><li><strong>Do NOT </strong>try to park your car in a street somewhere to use the lane lines as a guide. The EON will not always track the lane lines when you first get your openpilot running and you can’t friggin’ mount it and watch the lane lines at the same time. <em>This may have been useful at one point, but it’s just a waste and not safe.</em></li><li><strong>Do NOT </strong>SSH into your device and turn on GRIDDED UI. The grid is so dense that you won’t be able to see anything or make any real judgements on things still. <em>This may also have been useful at one point but it’s just not that important now.<br>It’s clear as mud. See below.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LQYX9sqCM1cBIpVBRlV8Ew@2x.jpeg" /></figure><h4><strong>Things you SHOULD try:</strong></h4><ul><li><strong>Do </strong>mount the EON on the correct angled bracket for your windshield. I believe Comma provides a 22deg and a 28deg. The correct mount is the one that makes the EON as vertically level to the ground as possible. As perpendicular to the ground as possible. If you were to put a bubble level on it (if you could fit it on top, as center bubbled as possible).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ukc6lh_1JDX46uDt7fpc9g.png" /></figure><ul><li><strong>Do</strong> try to get the EON as perpendicular (or square) with the front of your car as much as possible (eyeball it). You’ll just have to use your best judgement and if things look fairly square then you’re good.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D7VvwLKID5AvOZuU-iWj5g@2x.jpeg" /></figure><ul><li><strong>Do</strong> get a small roll of 3M VHB double-sided gray tape with red backing. Or comparable. It’s a foam core based double-sided tape that is very strong and heat resistance and doesn’t gunk up like clear alternatives and doesn’t move or jar when you bump it. It’s also easy to remove later with a metal putty knife. <a href="http://a.co/gaQx2rM">http://a.co/gaQx2rM</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/1*D_FmbXRT0SIc-Pfuijqz7A.png" /></figure><ul><li><strong>Do</strong> try to get the EON as parallel with the Earth as possible. You can even carefully use a small bubble level on the top of the EON to get assurance that it’s level. The perpendicular with the car part, (eyeball it) and as center to the window as possible (maybe even slightly left for the inward facing camera to see you.</li></ul><blockquote>You should try to get your EON as perpendicular (or square) with the front of your car as much as possible and as parallel with the Earth as possible. You can even carefully use a small bubble level on the top of the EON to get assurance that it’s level. The perpendicular with the car part, you’ll just have to use your best judgement.</blockquote><p>My recommendation for mounting tape for the EON is this stuff, or something extremely similar. The reason I say this is that this stuff doesn’t budge and jar the EON when you hit rough road ways. It holds very strong and doesn’t fall off at all or melt in high temps.</p><p><a href="http://a.co/gaQx2rM">3M Scotch 5952 VHB Tape: 1 in. x 15 ft. (Black)</a></p><h3>Calibration</h3><p>Initial calibration most likely will ever only need to be done one time.<br>After that, as long as your mount position stays the same — OP should be able to see the lane lines and cars just fine.</p><h4>Go on a long-ish drive</h4><p>Sometimes it can take awhile for OP to get good at what it does.<br>It must run your roadways through its machine learning model to get really good and that usually takes like 20–40 miles of express way driving I’ve found. The more you drive, the better it should get in the end.</p><p>I highly recommend express way driving for getting openpilot properly calibrated. Don’t try to run OP on backroads and expect it to stay put upon initial calibration.</p><p>After mounting EON, give it a few days of commuting / long driving before considering moving it again. Chances are you probably have it right the first time.</p><h4><strong>After repositioning EON mount</strong></h4><p>If you move your mount, you shouldn’t need to recalibrate or reset calibration. Just take a nice drive on an express way and ensure openpilot is seeing lane lines and seeing the cars properly before engaging openpilot.</p><p>Keep it up and it’ll get better!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82806162a51" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RFC for UX Inspiration for OpenPilot v0.4.8+]]></title>
            <link>https://medium.com/@jfrux/ux-inspiration-for-openpilot-v0-4-8-54f4a8a639c6?source=rss-483597975a5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/54f4a8a639c6</guid>
            <category><![CDATA[commaai]]></category>
            <category><![CDATA[openpilot]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[ui-design]]></category>
            <dc:creator><![CDATA[jfrux]]></dc:creator>
            <pubDate>Wed, 27 Jun 2018 04:25:43 GMT</pubDate>
            <atom:updated>2018-06-28T12:23:16.269Z</atom:updated>
            <content:encoded><![CDATA[<p>Today some fellow community members in the Comma Slack read my mind. The next version of Openpilot should ditch a lot of the ChffrPlus features and streamline the system to be focused purely on OP. I believe George may have even said yes, they would be removing them in coming versions of OP.</p><p>That gave me some ideas and I instantly went to work on conceptualizing what I would want in an interface. Since this is kind of my wheelhouse I figured I’d take a shot at sending the Comma team some love and maybe it will inspire them for their next UI. WHO KNOWS!</p><h4>Openpilot RFCs</h4><p>I’ve created a repo for maintaining RFCs related to openpilot. These would be formal community-driven requests for comments on possible or existing PR’s on the commaai/openpilot repo.</p><p>You can find the new openpilot-rfcs repo here:</p><p><a href="https://github.com/jfrux/openpilot-rfcs">jfrux/openpilot-rfcs</a></p><p>It has information on how to contribute a new RFC. Read the README thoroughly before submitting. It’s easy to do and can be done from the GitHub.com interface without any Git knowledge.</p><p>Also, all RFC’s merged will be built into the website version of it found here:</p><p><a href="https://jfrux.github.io/openpilot-rfcs/introduction.html">Introduction -</a></p><h4>Early Design Comps</h4><p>My idea was to completely remove the concept of an mobile operating system with apps and things and build the UI as if it’s solely bound to this piece of hardware. No outs or exits, just the experience of holding an authentic openpilot device in your hands.</p><p>There will be several screens in Figma as the weeks pass but these would be the 3 most commonly used so I’m sharing early versions of them here. See the Figma link at the end for real-time updates.</p><h4>Connect Eon to Panda</h4><p>You get in your vehicle, and your screen looks something like so…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kNDGoSrfjwVQfqgTZrTMwQ.png" /></figure><p>You connect EON to Panda, and boom…</p><h4>Openpilot is ready</h4><p>The screen transitions and openpilot is ready. Very obvious and clear that it’s ready, not just a small “paired” bubble, it’s now front and center.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p9SnV3c0AVWsxNw1XGVMRA.png" /><figcaption>openpilot is ready</figcaption></figure><p>You press the ignition button on your car, it fires up and you drive away…</p><h4>Uploading your drives</h4><p>Later on, you get connected to wifi and when you have drives to upload … I like to believe it might look a little something like this…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_GRhVFmkSi2mPFr8BgM2hg.png" /></figure><p>I have so much more to share but I wanted to throw this out there. I get far too excited about this stuff.</p><p>Comma and OpenPilot are doing very inspirational things and they inspire me every day. Would definitely love to give back and share my work with them free and open of course.</p><p>Feel free to poke around on my <a href="https://medium.com/u/bf1152b11387">Figma</a> link from this session…</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.figma.com%2Fembed%3Fembed_host%3Doembed%26url%3Dhttps%3A%2F%2Fwww.figma.com%2Ffile%2FQjbYsyRHBZ471S44Y86sKbMq%2FOpenPilot-v0.4.8-UI-Concepts&amp;url=https%3A%2F%2Fwww.figma.com%2Ffile%2FQjbYsyRHBZ471S44Y86sKbMq%2FOpenPilot-v0.4.8-UI-Concepts&amp;image=https%3A%2F%2Fapi-cdn.figma.com%2Fresize%2Fimg%2F53bc%2Fff4b%2F9e9ee1ae81d8f9b0a3d44b569469142b%3Fheight%3D404&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=figma" width="800" height="450" frameborder="0" scrolling="no"><a href="https://medium.com/media/d01437882d96d85f802e9adcae23a5b3/href">https://medium.com/media/d01437882d96d85f802e9adcae23a5b3/href</a></iframe><p>Enjoy!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54f4a8a639c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comma EON: Initial Setup with OpenPilot]]></title>
            <link>https://medium.com/@jfrux/comma-eon-initial-setup-with-openpilot-2b5ea58354a?source=rss-483597975a5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b5ea58354a</guid>
            <category><![CDATA[commaai]]></category>
            <category><![CDATA[one]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[openpilot]]></category>
            <dc:creator><![CDATA[jfrux]]></dc:creator>
            <pubDate>Mon, 25 Jun 2018 03:39:36 GMT</pubDate>
            <atom:updated>2019-05-17T13:17:12.561Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KHkdRtcOryfJp4vQSNUd1w.png" /></figure><p>As you may or may not know, the EON is NOT sold with OpenPilot pre-installed. Comma, Inc. does not currently sell a product to drive your car for you. There are steps you must take to install this software on your EON after you first receive it and it’s not entirely straight forward so that’s why I’m writing this simple but hopefully detailed guide to ease the pain.</p><blockquote><strong><em>Chat with Experts of Openpilot on Discord<br></em></strong><em>Feel free to reach out with questions &amp; feedback on the community </em><a href="https://discord.gg/Wyna3qy"><em>Discord</em></a><em>.</em><br><a href="https://discord.gg/Wyna3qy"><strong><em>Join the Discussions</em></strong></a></blockquote><h4>Is my vehicle compatible?</h4><p>You can check to see what vehicle trims are working, and have been tested over on the openpilot database project below.</p><h4>Where to get an EON Dashcam DevKit</h4><p>If you don’t already have your very own Comma EON, Giraffe, and Panda visit the all new Comma Shop @ <a href="https://comma.ai/shop/products/eon-dashcam-devkit/">https://comma.ai/shop</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hIl7aJv8hfvUYVF3DXsPYA.png" /></figure><h4>Unboxing Your New EON</h4><p>Oh doesn’t it always feel nice to open something new…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*uAKYqAi4ZKzS4Z8MeXfn2g.png" /></figure><h4>Getting Started</h4><p>Before we get started, it’s important to note that some of these steps and screens may change as the software updates change so please bare with me as I keep this up to date as quickly as possible. Use your imagination if some things are different.</p><h4>Plug in the EON</h4><p>Using the provided USB power adapter and cable plug in the EON to power.<br>This will trigger the EON to boot up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6aT5C-CySd-dUNX1yUj3yA.png" /><figcaption>EON Startup Screen</figcaption></figure><h4>Welcome to EON Dashcam (aka Chffrplus)</h4><p>The initial setup just sets up the initial dashcam software.<br>We will get to the installation of OpenPilot next.</p><p>Tap the ‘Set up your EON’ button to continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DN19B8_Sjmtpg_NzIk83Xw.png" /><figcaption>Welcome to EON</figcaption></figure><h4>Review the terms</h4><p>Read through the terms &amp; conditions by scrolling down with your finger until you get to the bottom.</p><p>Then click <strong>I agree</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ivmdq6yZHEt5tvlRcHlabQ.png" /><figcaption>Review Terms</figcaption></figure><h4>Select your WiFi</h4><p>This step may not be available in some versions of OpenPilot.<br>I’ve seen it get skipped in some cases but if it shows for you, feel free to select your WiFi and connect.<br>If it does automatically skip for some reason, no fear — you can add this later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qZ3TdJHdD3WtPu2Wg9NTg.png" /></figure><h4>Adding a SIM Card</h4><p>If you have a SIM card with an active data plan, insert it into the slot on the side of the EON. If not, no worries — you can either roll without a SIM card and upload via WiFi (like I do) or you can go get one later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BnCJeT6nVnVlNHghs8HVSQ.png" /></figure><h4>The EON Dashboard</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VJZMGXAhbaPdyuegXCRxeA.png" /></figure><p>This is the basic “Home” screen you’ll see whenever EON comes on.</p><p>The New Destination and My Drives buttons are for Chffrplus.<br>If you’re seriously just using the EON for Chffrplus, then you can stop now with this guide and enjoy.</p><p>If you’re planning to use OpenPilot, you probably won’t ever use the buttons on this screen very often.</p><h4>Uninstall Chffrplus</h4><p>In order to install OpenPilot, we must first uninstall the existing Chffrplus software. In the end, Chffrplus is just OpenPilot minus a basic setting… but this is the friendly installer so we must go through this process.</p><p>Tap on <strong>Settings </strong>on the home screen.</p><p>Scroll down the setting screen and tap on <strong>Uninstall</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zXlCqgZngJoslgbSLSpWYA.png" /></figure><p>Confirm your choice by tapping Uninstall once more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cdpTM6pdomx2FFXDwiBfjg.png" /></figure><p>Your EON will restart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ILU-HP2sp2rlMeXfx7-aXA.png" /></figure><p>Now you will be taken through a series of prompts.</p><p>Go to settings, tap reboot and allow Base UI if prompted</p><h4>SIM card prompt</h4><p>If you did not insert a SIM card earlier, you will probably get prompted again for this. You can just skip it as you could before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*70vSS6_qHb5YeEKMgMx-8Q.png" /></figure><p>In some versions of OpenPilot there is a prompt like this that temporarily displays. It’ll go away on its own I believe, or just hit Skip.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9nYJzUifdCPtOZogJrBVsA.png" /></figure><h4>Select Wi-Fi network</h4><p>You will be definitely need to connect to Wi-Fi at this point since the next step requires a download from Comma.</p><p>Enter that now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1H6mOtwDqg7NJ6J4TK7ZLQ.png" /></figure><h4>Install NEOS Program</h4><p>A NEOS Program as of right now is just OpenPilot.<br>Enter the following address in the box:</p><pre>https://openpilot.comma.ai</pre><p>Press Done to continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eQPNvE-vhsz9PAvaVpz6pA.png" /></figure><p>Review the Terms &amp; Conditions and press Accept.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6f6hmxHbrmltrcV-7cBJrw.png" /></figure><p>Now you will be taken back to the Dashboard screen where you will press Sign In, which will load a prompt to Google Login.</p><p>Go to Settings, tap reboot and allow Base UI if prompted</p><p>You will need a Google Login to continue as of today. This may change later I’m sure as Comma’s system matures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ZcKLv8APq_vfWtzi9_FqQ.png" /></figure><p>Once logged in, that’s it! You should now be running OpenPilot.</p><p>It looks a lot like Chffrplus, the only difference is — when plugged into a Giraffe / Panda, you will enable LKAS / ACC features of OpenPilot when you start your car and it’s plugged in correctly.</p><p>Enjoy! Scroll down for more articles and useful next steps.</p><p>As always, if I seem to have missed something, or your experiences were different than above — let me know in the comments or hit me up on <a href="https://discord.gg/Wyna3qy">community Discord</a>. My username is @jfrux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jRVL3ynl9hZF_3S3wEAOXg.jpeg" /></figure><h4>Go forth and drive!</h4><p>Checkout some of my other articles now that you’re all setup.<br>I will be writing another article soon about installing EON in your vehicle.<br>It’s definitely a subject worth revisiting since we get a lot of questions in <a href="https://discord.gg/Wyna3qy">community Discord</a> daily about it.</p><ul><li><a href="https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75">Comma EON: Getting Connected with SSH</a></li><li><a href="https://medium.com/@jfrux/comma-eon-installing-tools-for-accessing-eon-via-ssh-on-windows-d8eb1ba7e7e5">Comma EON: Installing Tools for Accessing EON via SSH on Windows 10</a></li><li><a href="https://medium.com/@jfrux/comma-eon-installing-a-fork-of-openpilot-5c2b5c134b4b">Comma EON: Installing a Fork of OpenPilot</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b5ea58354a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comma EON: tmux cheatsheet for NEOS]]></title>
            <link>https://medium.com/@jfrux/comma-eon-cheatsheet-for-tmux-on-neos-216353aa35ee?source=rss-483597975a5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/216353aa35ee</guid>
            <category><![CDATA[one]]></category>
            <category><![CDATA[commaai]]></category>
            <category><![CDATA[tmux]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <dc:creator><![CDATA[jfrux]]></dc:creator>
            <pubDate>Wed, 20 Jun 2018 11:31:24 GMT</pubDate>
            <atom:updated>2019-05-17T13:17:41.397Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zyub0vlr-4U3NNe6TzeBcQ.png" /></figure><p>This is more of a reference post rather than a tutorial.<br>The EON is specifically different with normal tmux documentation.</p><blockquote><strong><em>Chat with Experts of Openpilot on Discord<br></em></strong><em>Feel free to reach out with questions &amp; feedback on the community </em><a href="https://discord.gg/Wyna3qy"><em>Discord</em></a><em>.</em><br><a href="https://discord.gg/Wyna3qy"><strong><em>Join the Discussions</em></strong></a></blockquote><p>Although I don’t understand the reasoning just yet, I can tell you the basics of what I’ve learned. I will continue to update this reference as I get more information. I’m also going to give you a cross platform view of different ways to attach tmux in different terminal emulators. From what I’m seeing, they’re all the same.</p><p><strong>TLDR;</strong><br>If you’re just looking to detach from tmux on EON, the hot keys are `+ d</p><h4>Open Terminal / PowerShell</h4><p>On <strong>Mac</strong>: CMD+SPACEBAR and type Terminal and press <strong>Return</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZyRv0BkXaGwYjXkR2WdWuQ.gif" /></figure><p>On <strong>Windows</strong>: Press theWINDOWS KEY on your keyboard and type PowerShell and Right click the result and click Run as Administrator or right click the Start Menu icon and go to Power Shell (Admin)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*xZRlRe01VE-CW9mvj3G5oQ.gif" /></figure><blockquote><strong>A NOTE ABOUT WINDOWS</strong>:<br>I recommend getting comfortable with PowerShell and using Chocolatey Package Manager + OpenSSH. <br>Learn how to set this up by following my guide below:</blockquote><p><a href="https://medium.com/@jfrux/comma-eon-installing-tools-for-accessing-eon-via-ssh-on-windows-d8eb1ba7e7e5">Comma EON: Installing Tools for Accessing EON via SSH on Windows 10</a></p><p>On <strong>Ubuntu</strong>: CTRL+ALT+T</p><p>You will remain in Terminal / PowerShell for the majority of this article series.</p><h4>Get Connected</h4><p>Ensure your EON is connected to the same wifi network as you and then connect to it via SSH like so:</p><pre>ssh root@&lt;IP_ADDRESS_OF_EON&gt; -p 8022 -i ~/.ssh/openpilot_rsa</pre><blockquote>For additional information on how to SSH into your EON, checkout my article on <a href="https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75">Connecting to EON via SSH</a>. It also contains information on determining your EON’s IP address, and its Wifi settings.</blockquote><p><a href="https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75">Comma EON: Getting Connected with SSH</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*V2RwhZQ5GOWHHQ0aSPgXxw.gif" /></figure><h3>Attaching</h3><p>You can attach to the tmux session with the standard command:</p><pre>tmux attach</pre><h3>Detaching</h3><p>Detaching from the EON tmux session is different than normal…</p><p>On Mac: ` + d<br>On Linux: ` + d<br>On Windows w/ OpenSSH: ` + d<br>On Windows w/ PuTTY: ` + d</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=216353aa35ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comma EON: Installing a Fork of OpenPilot]]></title>
            <link>https://medium.com/@jfrux/comma-eon-installing-a-fork-of-openpilot-5c2b5c134b4b?source=rss-483597975a5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c2b5c134b4b</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[commaai]]></category>
            <category><![CDATA[one]]></category>
            <category><![CDATA[openpilot]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <dc:creator><![CDATA[jfrux]]></dc:creator>
            <pubDate>Tue, 19 Jun 2018 20:14:18 GMT</pubDate>
            <atom:updated>2019-05-17T13:19:29.302Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-gkJv42ZG6Tkq4TRJTD12A.png" /></figure><blockquote><strong><em>Chat with Experts of Openpilot on Discord<br></em></strong><em>Feel free to reach out with questions &amp; feedback on the community </em><a href="https://discord.gg/Wyna3qy"><em>Discord</em></a><em>.</em><br><a href="https://discord.gg/Wyna3qy"><strong><em>Join the Discussions</em></strong></a></blockquote><blockquote><strong>UPDATE 11/12/18<br></strong>I now am fully recommending new folks to use Workbench desktop app to connect and install forks of Openpilot as it requires very little setup.<strong><br></strong><a href="https://medium.com/@jfrux/installing-a-fork-of-openpilot-with-workbench-de35e9388021">https://medium.com/@jfrux/installing-a-fork-of-openpilot-with-workbench-de35e9388021</a></blockquote><blockquote><strong>UPDATE 06/27/18<br></strong>Now includes information about checking out my Comma Pedal branch for testing support of your vehicle, as well as backing up your existing openpilot, and restoring it back if the fork / branch doesn’t work.</blockquote><p>If your vehicle is not 100% supported by Comma, Inc. you may find yourself needing to use a slightly different version of OpenPilot rather than the one you initially installed on your EON.</p><p>That can be a daunting task for a beginner or someone that is less familiar with SSH and issuing shell commands so my goal with these articles is to help bring light to that and help beginner level tech people do some advanced things.</p><h4>Prerequisites to this article</h4><p><strong>UPDATE OCT. 2018: </strong>Getting connected via SSH is a huge part of this process.<br>Thankfully, I’ve been working on a new tool for the community to bypass this step. It’s called Workbench, and it’s available on Windows, Mac and Linux.</p><p>Visit <a href="https://github.com/jfrux/workbench/releases">https://github.com/jfrux/workbench/releases</a> to download the latest version to quickly find your EON on your network, and configure SSH.<br>Keep in mind, you do have to enable the SSH switch on your EON settings.</p><p><a href="https://github.com/jfrux/workbench/releases">jfrux/workbench</a></p><p>If you haven’t already done so, please follow along with my Getting Connected article before proceeding. You can find it below:</p><p><a href="https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75">Comma EON: Getting Connected with SSH</a></p><h4>Open Terminal / PowerShell</h4><p>On <strong>Mac</strong>: CMD+SPACEBAR and type Terminal and press <strong>Return</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZyRv0BkXaGwYjXkR2WdWuQ.gif" /></figure><p>On <strong>Windows</strong>: Press theWINDOWS KEY on your keyboard and type PowerShell and Right click the result and click Run as Administrator or right click the Start Menu icon and go to Power Shell (Admin)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*xZRlRe01VE-CW9mvj3G5oQ.gif" /></figure><p>On <strong>Ubuntu</strong>: CTRL+ALT+T</p><p>You will remain in Terminal / PowerShell for the majority of this article series.</p><h4>Get Connected</h4><p>Ensure your EON is connected to the same wifi network as you and then connect to it via SSH like so:</p><pre>ssh root@&lt;IP_ADDRESS_OF_EON&gt; -p 8022 -i ~/.ssh/openpilot_rsa</pre><blockquote>For additional information on how to SSH into your EON, checkout my article on <a href="https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75">Connecting to EON via SSH</a>. It also contains information on determining your EON’s IP address, and its Wifi settings.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*V2RwhZQ5GOWHHQ0aSPgXxw.gif" /></figure><p>You will be placed in the /system/comma/home directory after connecting.</p><h4>Change to the data directory</h4><p>We’re going to move into the /data directory which is the parent directory of openpilot which is the folder we will be changing.</p><p>NEOS the Android-based operating system running on your EON expects openpilot to be in /data/openpilot so any openpilot branch, tag, fork, etc. you place in that directory path will be attempted to load upon boot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v9D3V42YKxtA3i2GRmGkCA.gif" /><figcaption>Change to the data directory</figcaption></figure><h4>Backup OpenPilot Directory</h4><p>The quickest / cleanest way to back up OpenPilot is to simply rename the folder to something else. You can quickly do this by issuing this command:</p><pre>mv openpilot openpilot.backup</pre><p>This mv command is moving the directory openpilot and its contents to the openpilot.backup directory.</p><p>To check your work at anytime, you can list the directory on the screen using the command below:</p><pre>ls -lah</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EfMyOcp4xMQ6mvWPjiE-xQ.gif" /><figcaption>Listing the contents of the data directory</figcaption></figure><h4>Clone the OpenPilot Fork</h4><p>Now it’s time to get the new OpenPilot fork you’re wanting to use.</p><p>For this demonstration, we will use my fork of OpenPilot found at:</p><p><a href="https://github.com/jfrux/openpilot.git">jfrux/openpilot</a></p><p>On the GitHub repository website there is a <strong>Clone or download</strong> button.</p><p>Click that and copy the full address of the repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZdWCRmt5nXqUCxF6VAd-GA.gif" /></figure><p>Now go back to your Terminal / PowerShell window and enter the following command:</p><pre>git clone <a href="https://github.com/jfrux/openpilot.git">https://github.com/jfrux/openpilot.git</a></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aJSpzZUaL14NVRZ4H7Hd_Q.gif" /><figcaption>Cloning the Fork Repository</figcaption></figure><h4>Using a specific branch of the fork</h4><p>When we use git clone like above, it will clone the default branch for the repository. Sometimes this is what we’re wanting, sometimes it’s not.</p><p>In the case where it’s not, you’ll need to change to the recommended branch for the code you’re testing.</p><p>For my example, I’d like to use my latest pull request for the Comma Pedal modification you can use to achieve stop-and-go in car’s that don’t currently support stop-and-go which allows your vehicle to slow all the way to a stop in traffic and start going again on it’s own without touching the pedals. Most car’s do not allow this, for whatever reason (most likely manufacturer liability) and limit your vehicle to not use ACC / LKAS below 25 mph or so. Some are as high as 40 mph!</p><p>Learn more about Comma Pedal on the Wiki or read up on how to build your own in my how to guide.</p><ul><li><a href="https://community.comma.ai/wiki/index.php/Comma_Pedal">Comma Pedal - comma wiki</a></li><li><a href="https://medium.com/@jfrux/comma-pedal-building-with-macrofab-6328bea791e8">Comma Pedal: Building with MacroFab</a></li></ul><p>Anyway, wow tangent city…</p><p>You can checkout any branch by using this the following command within the directory of openpilot at /data/openpilot</p><pre>git checkout &lt;branch_name&gt;</pre><p>In our case, let’s checkout my Pedal branch if you have a Comma Pedal installed and the PR hasn’t been merged into the primary repo yet.</p><pre>git checkout feature/support-for-comma-pedal</pre><p>Now on to rebooting and trying it out!</p><h4>Reboot EON</h4><p>This is necessary to have EON use the new code-base. It has a compile process it runs upon boot.</p><blockquote>PLEASE NOTE: This could take awhile, you might see this loading openpilot screen for 15 to 30 minutes in some cases if you are using fresh new clone / fork.</blockquote><pre>reboot</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mcD4aDZ0rDUUnnqj4L1DMg.png" /></figure><h4>Monitoring the compilation process</h4><p>If you’re really curious what is happening underneath while it’s loading… you can monitor this with tmux attach. Use my handy tmux cheatsheet for EON below:</p><p><a href="https://medium.com/@jfrux/comma-eon-cheatsheet-for-tmux-on-neos-216353aa35ee">Comma EON: tmux cheatsheet for NEOS</a></p><h4>Updating Your New Fork</h4><p>If the maintainer of the fork updates the codebase, it’s simple to grab the fresh code.</p><p>cd /data/openpilot; git pull; reboot</p><h4>Restoring From Your Backup</h4><p>If the fork you tried failed for any reason, or isn’t offering you the correct functionality. You may quickly restore your backup that we created earlier in the article by following theses quick steps.</p><p>Repeat the first steps about connecting to SSH if you aren’t already.</p><p>Once connected, change into the /data directory</p><pre>cd /data</pre><p>Now, as long as you named your backup openpilot.backup as stated earlier in the article…</p><p>Run the following command to move the fork to a new backup.</p><pre>mv openpilot openpilot-fork.backup</pre><p>And then move your previous backup to it’s new home…</p><pre>mv openpilot.backup openpilot</pre><blockquote>Always remember, EON looks for openpilot to be in the /data/openpilot folder so as long as you place it in there, you’re good.</blockquote><p>Now just reboot again and you’ll be running your previous version before the fork.</p><pre>reboot</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c2b5c134b4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comma EON: Installing Tools for Accessing EON via SSH on Windows 10]]></title>
            <link>https://medium.com/@jfrux/comma-eon-installing-tools-for-accessing-eon-via-ssh-on-windows-d8eb1ba7e7e5?source=rss-483597975a5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8eb1ba7e7e5</guid>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[jfrux]]></dc:creator>
            <pubDate>Tue, 19 Jun 2018 17:20:53 GMT</pubDate>
            <atom:updated>2019-05-17T13:19:53.263Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LY1kSbP1YVo08x8TNZ4M6A.png" /></figure><p>On most unix-based platforms, including MacOS and Ubuntu you will have the tools you need to connect to your Comma EON such as openssh and vim already installed and are ready to go.</p><blockquote><strong><em>Chat with Experts of Openpilot on Discord<br></em></strong><em>Feel free to reach out with questions &amp; feedback on the community </em><a href="https://discord.gg/Wyna3qy"><em>Discord</em></a><em>.</em><br><a href="https://discord.gg/Wyna3qy"><strong><em>Join the Discussions</em></strong></a></blockquote><p>If you’re on one of these platforms, you may skip to the <a href="https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75">Getting Connected with SSH</a> article.</p><p>On Windows, it’s not as straight forward. In order for my other articles to make the most sense possible, I recommend you follow my conventions below on what and how to install these things on Windows 10.</p><p><em>Without further ado…</em></p><p>Open up PowerShell with Administrative Privileges by <strong><em>right clicking</em></strong> the Windows Logo or Start Menu generally found in the bottom left.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*xZRlRe01VE-CW9mvj3G5oQ.gif" /><figcaption>Right-clicking Start Menu on Windows 10</figcaption></figure><blockquote>Alternatively, you can Search Windows for PowerShell then right click the result and click Run as Administrator.</blockquote><h4>Disabling Quick Edit on PowerShell</h4><p>Start by disabling Quick Edit in PowerShell to prevent any confusion while running installs.</p><blockquote><strong>Why do I need to disable Quick Edit:</strong><br>With Quick Edit enabled, PowerShell can “pause” a running process by simply clicking the shell window. This can cause much confusion and frustration.</blockquote><p>Disable it by Right Clicking the icon at top left of the PowerShell window and clicking Properties. Uncheck Quick Edit and press OK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/0*i4AzlokHDCMUHdfU.png" /><figcaption>A screenshot I ripped from somewhere since I’m not running Windows at the moment.</figcaption></figure><h4>Install Chocolatey Package Manager</h4><p>Install <a href="https://chocolatey.org/">Chocolatey</a> Package Manager by <strong>pasting / typing the following command</strong> into your freshly opened PowerShell:</p><blockquote><strong>Why do I need Chocolatey?<br></strong>Well you don’t NEED anything in life. Some things just make life a little easier.<em><br></em>Chocolatey<em> </em>is “the package manager for Windows”.<br>Basically, it makes installing ANY application (especially command-line based tools) much easier.</blockquote><pre>Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString(‘<a href="https://chocolatey.org/install.ps1&#39;">https://chocolatey.org/install.ps1&#39;</a>))</pre><p><em>For more information or troubleshooting this process, visit the </em><a href="https://chocolatey.org/install#install-with-powershellexe"><em>Chocolatey guide</em></a><em>.</em></p><p><strong><em>NOTE: For good measure, after installing Chocolatey close PowerShell and re-open it.</em></strong></p><p>Now, most articles relating to Windows + SSH and even the <a href="https://wiki.comma.ai/">Comma Wiki</a> itself, recommend using a tool known as PuTTY which is okay in some cases but for the sake of this article and the fact that you’re on a modern Windows operating system (Windows 10) AND for my own personal sanity let’s stick with the open standard known as openssh.</p><h4>Install OpenSSH with Chocolatey Package Manager</h4><p>Install <a href="https://chocolatey.org/packages/openssh">OpenSSH Client with Chocolatey</a> by <strong>pasting / typing the following command</strong> into your newly opened PowerShell:</p><pre>choco install openssh -y</pre><p>This tells Chocolatey to install the openssh package. The -y parameter just tells it to answer Yes for the standard install prompts to make things smoother.</p><h4>Install VIM Editor with Chocolatey Package Manager</h4><p>Install <a href="https://chocolatey.org/packages/vim">vim with Chocolatey</a> by <strong>pasting / typing the following command</strong> into PowerShell:</p><pre>choco install vim -y</pre><blockquote>VIM is a popular text editor for your shell that is used across different operating systems and it’ll help the rest of my articles go smooth for you.</blockquote><p>Once both installs have completed successfully, I’d close and reopen PowerShell once more for good measure.</p><p>Now with a fresh PowerShell screen up in front of you, let’s move on to the fun stuff.</p><p>Your next step is most likely going to be the article below…</p><p><a href="https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75">Comma EON: Getting Connected with SSH</a></p><p>Enjoy and thank you for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8eb1ba7e7e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comma EON: Getting Connected with SSH]]></title>
            <link>https://medium.com/@jfrux/comma-eon-getting-connected-with-ssh-3ed6136e4a75?source=rss-483597975a5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ed6136e4a75</guid>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[comma]]></category>
            <category><![CDATA[one]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <dc:creator><![CDATA[jfrux]]></dc:creator>
            <pubDate>Tue, 19 Jun 2018 17:18:19 GMT</pubDate>
            <atom:updated>2019-05-17T13:20:44.376Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rs5o9T4V-YWUT5koMEBUhg.png" /></figure><blockquote><strong><em>Chat with Experts of Openpilot on Discord<br></em></strong><em>Feel free to reach out with questions &amp; feedback on the community </em><a href="https://discord.gg/Wyna3qy"><em>Discord</em></a><em>.</em><br><a href="https://discord.gg/Wyna3qy"><strong><em>Join the Discussions</em></strong></a></blockquote><blockquote><strong>UPDATE OCT. 2018: </strong>To help out with this process, I’ve been building a new tool I’d like you to all try… it’s called Workbench and it’s specifically for finding EON on your network and connecting to it via SSH.</blockquote><p>It sets up EON just like this article but it does it all for you.<br>It’s being tested on Windows, Mac, and Linux.</p><p>Fork and contribute to the project by following the link below.</p><p><a href="https://github.com/jfrux/workbench/releases">jfrux/workbench</a></p><p>Recently I’ve noticed loads of requests for a simpler guide to getting connected to EON. The “dashcam” device that is capable of running OpenPilot giving supported vehicles the ability to drive semi-autonomously.</p><p>Let’s get started.</p><h3>WINDOWS USERS START HERE!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*hdxGA_Ef3w2ktqw7.gif" /></figure><p>Yes, I added those really lame 90’s internet gifs to get your attention. If you’re on Windows, please follow my guide on installing the tools needed.<br>I use pretty specific tools in the rest of this article that you may not have installed on your system.</p><p><a href="https://medium.com/@jfrux/comma-eon-installing-tools-for-accessing-eon-via-ssh-on-windows-d8eb1ba7e7e5">Comma EON: Installing Tools for Accessing EON via SSH on Windows 10</a></p><h4>Open Terminal / PowerShell</h4><p>On <strong>Mac</strong>: CMD+SPACEBAR and type Terminal and press <strong>Return</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZyRv0BkXaGwYjXkR2WdWuQ.gif" /></figure><p>On <strong>Windows</strong>: Press theWINDOWS KEY on your keyboard and type PowerShell and Right click the result and click Run as Administrator or right click the Start Menu icon and go to Power Shell (Admin)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*xZRlRe01VE-CW9mvj3G5oQ.gif" /></figure><p>On <strong>Ubuntu</strong>: CTRL+ALT+T</p><p>You will remain in Terminal / PowerShell for the majority of this article series.</p><h4>Installing the EON SSH Developer Key</h4><p>Visit the <a href="https://community.comma.ai/wiki/index.php/Configuring_OpenPilot">Configuring OpenPilot</a> page on the <a href="https://wiki.comma.ai/">Comma Wiki</a>.</p><p>Select and Copy the entire key from the page and return back here. I’ll wait.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gal8aMlnmQvff65mPcFYZA.gif" /><figcaption>Fetching the Private Key</figcaption></figure><p>Now that you’ve copied the key, let’s add it to a file on your computer.</p><p>Type in the following command to create the .ssh directory if it isn’t already created.</p><pre># Mac / Linux<br>mkdir -p ~/.ssh/</pre><pre># Windows<br>md ~/.ssh/</pre><blockquote><strong>By the way…<br></strong> ~/ is just a shortcut for your user directory.<br>On Windows: C:\Users\&lt;username&gt;\ <br>On Mac: /Users/&lt;Username&gt; <br>On Linux: /home/&lt;Username&gt;</blockquote><p>Now we need to put the key we copied from the Wiki into a new file.</p><p>We can use the following command to open a new blank file for us to paste our key into:</p><pre>vim ~/.ssh/openpilot_rsa</pre><p>Paste (CMD+V / CTRL+V) the entire contents of the PRIVATE KEY just like the animation below.</p><p>After pasting it, press ESC on your keyboard, then type :wq! to save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0HXvLD0GYUH0CCRjhRu1yQ.gif" /></figure><p>The file should be saved and closed and you should now see the prompt again.</p><blockquote><strong>Special note: <br></strong>Mac &amp; Linux: you may have to run the following command so the machine knows the key is safe.<br>chmod 600 ~/.ssh/openpilot_rsa</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*qO8z-o1AuWo2NHSwABYtSg.gif" /><figcaption><strong>Mac/Linux Only: </strong>Securing the SSH key with chmod</figcaption></figure><h4>Connecting EON to WiFi</h4><p>To continue on, we must ensure your EON is connected to the same wifi network as your computer. We also need to obtain the EON’s IP address so let’s do this.</p><p>With your EON in hand, <em>(and hopefully within the comfort of your own home or office… no need to be in the car for this one…)</em> tap the Settings button and scroll down to WiFi Settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*CxwDXtBapYQX0IdyyrN-aQ.gif" /><figcaption>Scrolling to Wi-Fi Settings</figcaption></figure><p>If you <strong>aren’t connected</strong> to the same Wifi, now is the time to go through the standard WiFi process. You know the drill… RIGHT?</p><p>If you find you <strong>are connected</strong> to the same network, click the ellipsis dots in the top right corner and click Advanced.</p><p>Scroll to the bottom of that screen to find the EON’s IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*c6ch0xmIihVNK5B7kvDhCw.gif" /><figcaption>Getting the IP Address in Advanced Menu</figcaption></figure><p>Now, back in the shell window on your computer. (PowerShell on Windows, Terminal on Mac / Linux).</p><p>Type the following command to test that you are able to connect to your EON:</p><pre>ping &lt;IP_ADDRESS_OF_EON&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iGwYleitw6_7X8LK2WrlXQ.gif" /></figure><p>If your ping appears successful, hit CTRL+C after about 4 pings (if on Mac). I believe Windows only pings 4 times by default.</p><p>If the pings were successful, proceed to connect to your EON by typing the following command:</p><pre>ssh root@&lt;IP_ADDRESS_OF_EON&gt; -p 8022 -i ~/.ssh/openpilot_rsa</pre><p>After entering this command for the first time, you will likely receive a prompt for adding the unknown host to the known hosts file. Simply type yes and press enter to proceed. See an example in the animation below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*V2RwhZQ5GOWHHQ0aSPgXxw.gif" /><figcaption>First successful connection to EON via SSH</figcaption></figure><p>If you have any troubles with any of the steps above, feel free to leave a comment below or hit me up on the <a href="https://discord.gg/Wyna3qy">Community Discord</a>. My username is @jfrux.</p><h4>What’s next?</h4><p>Now that you’re connected to SSH, you can do many different tasks within your EON.</p><p><a href="https://medium.com/@jfrux/comma-eon-installing-a-fork-of-openpilot-5c2b5c134b4b">Comma EON: Installing a Fork of OpenPilot</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ed6136e4a75" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>