All Projects → emu-sh → .oh-my-comma

emu-sh / .oh-my-comma

Licence: CC0-1.0 license
The idea of a 'workbench for developers' - Shell utilities, tooling, and dotfiles for comma.ai's open-source self-driving car technology stack

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to .oh-my-comma

frequency
Frequency Analytics - Open source private web analytics server
Stars: ✭ 67 (-39.09%)
Mutual labels:  self-hosted
rebacklogs
Re:Backlogs is an Open Source Project Management Tool.
Stars: ✭ 163 (+48.18%)
Mutual labels:  self-hosted
termux-wifi
Bash script which installs and runs the Fluxion tool inside Termux, a wireless security auditing tool used to perform attacks such as WPA/WPA2 cracking and MITM attacks.
Stars: ✭ 406 (+269.09%)
Mutual labels:  termux
neko-rooms
Selfhosted collaborative browser - room management for n.eko
Stars: ✭ 262 (+138.18%)
Mutual labels:  self-hosted
osmosfeed
Turn GitHub into an RSS reader
Stars: ✭ 839 (+662.73%)
Mutual labels:  self-hosted
nextcloud docker
Docker setup to run Nextcloud
Stars: ✭ 35 (-68.18%)
Mutual labels:  self-hosted
covergates
The portal gates to coverage reports
Stars: ✭ 55 (-50%)
Mutual labels:  self-hosted
gotify-broadcast
A plugin which brings broadcasts to gotify.
Stars: ✭ 30 (-72.73%)
Mutual labels:  self-hosted
noahcar
Autonomous Remote Controlled (toy) car using deep learning. Raspberry Pi, PiCar, Python
Stars: ✭ 28 (-74.55%)
Mutual labels:  self-driving-car
Autonomous-Parking-System
Automatic Parking is an autonomous car maneuvering system (part of ADAS) that moves a vehicle from a traffic lane into a parking spot to perform parallel parking. The automatic parking system aims to enhance the comfort and safety of driving in constrained environments where much attention and experience is required to steer the car. The parking…
Stars: ✭ 39 (-64.55%)
Mutual labels:  self-driving-car
fregata
A self hosted REST API for message delivery
Stars: ✭ 19 (-82.73%)
Mutual labels:  self-hosted
CarND-Path-Planning-Project-P1
Udacity Self-Driving Car Nanodegree - Path Planning Project
Stars: ✭ 20 (-81.82%)
Mutual labels:  self-driving-car
RCNN-Vehicle-Tracking-Lane-Detection
Vehicle Detection using Mask R-CNN and Computer Vision based Lane Detection
Stars: ✭ 116 (+5.45%)
Mutual labels:  self-driving-car
Black-Tool
Install the tools and start Attacking , black-tool v5.0 ! ⬛
Stars: ✭ 239 (+117.27%)
Mutual labels:  termux
orb
Orb is a dynamic network observability platform
Stars: ✭ 437 (+297.27%)
Mutual labels:  self-hosted
rocket2
🚀 The official UBC Launch Pad Slack bot and team management platform
Stars: ✭ 17 (-84.55%)
Mutual labels:  self-hosted
zsh-powerline
Powerline for Zsh in pure Zsh script. See also https://github.com/riobard/bash-powerline
Stars: ✭ 34 (-69.09%)
Mutual labels:  powerline
dotfiles
My personal configuration files
Stars: ✭ 120 (+9.09%)
Mutual labels:  termux
perplexed
OTF monospace typeface, a derivative of IBM Plex Mono with Powerline glyphs added
Stars: ✭ 23 (-79.09%)
Mutual labels:  powerline
vehicle-detection
Detect vehicles in a video
Stars: ✭ 88 (-20%)
Mutual labels:  self-driving-car

comma.ai command-line additions and practical tooling for all

improving the dev workflow friction is paramount to innovating openpilot

PRs accepted! What cool shit do you do to your ssh session with your car??

This tool was created by Alice Knag - @emu#6969 on Discord, and is widely contributed to by ShaneSmiskol - Shane#6175 If you have any questions about the development process, or have any ideas you want to see happen, check out CONTRIBUTING.md and/or DM one of us on Discord or ask in #custom-forks

click for full size
Click for Full Size

Getting Started

To install these utilities, SSH into your comma device running neos (ie Comma 2, Eon, etc), and paste in the following:

bash <(curl -fsSL install.emu.sh) # the brain of the bird
source /data/community/.bashrc

Read the README for https://github.com/b-ryan/powerline-shell. You can optionally install the fonts on the computer/terminal emulator that you SSH from

Alternately, you can install Nerd Fonts, as it provides more icons than powerline fonts, and is more maintained.

Once NEOS 15 comes out, zsh will be used and powerlevel10k will be the optimal powerline

The default directory of your bash/ssh session is now /data/openpilot. Much easier to git pull after shelling in.

welcome to the family

Emu my neo! You should now be able to use the emu command.

Updating

Once you've installed, you can update via the utility

emu update

This will essentially perform a git pull and replace all current files in the /data/community/.oh-my-comma directory with new ones, if an update is available, as well as check the integrity of the files that must remain elsewhere on the filesystem such as the .bashrc and powerline configs

Commands

General

  • emu update: 🎉 Updates this tool, recommended to restart ssh session
  • emu uninstall: 👋 Uninstalls emu

Forks

  • emu fork: 🍴 Manage installed forks, or install a new one
    • emu fork switch: 🍴 Switch between any openpilot fork
    • emu fork list: 📜 See a list of installed forks and branches

Panda

  • emu panda: 🐼 panda interfacing tools
    • emu panda flash: 🐼 flashes panda with make recover (usually works with the C2)
    • emu panda flash2: 🎍 flashes panda using Panda module (usually works with the EON)

Debugging

  • emu debug: de-🐛-ing tools
    • emu debug controlsd: 🔬 logs controlsd to /data/output.log by default
  • emu device: 📈 Statistics about your device
    • emu device battery: 🔋 see information about the state of your battery
    • emu device reboot: safely reboot your device
    • emu device shutdown: 🔌 safely shutdown your device
    • emu device settings: open the Settings app

To see more information about each command and its arguments, checkout the full command documentation here.


Fork management

When you first run any emu fork command, emu will ask you to perform a one-time setup of cloning the base repository of openpilot from commaai. This may take a while, but upon finishing the setup you will be able to switch to any openpilot fork much quicker than the time it usually takes to full-clone a new fork the old fashioned way.

For each new fork you install with the emu fork switch command, Git is able to re-use blobs already downloaded from commaai/openpilot and other similar installed forks, enabling quicker install times. For a shorter command, fork is automatically aliased to emu fork switch.

Git config

In a rw filesystem, you can edit your git config so you can push your changes up easily.

mount -o rw,remount /system
git config --global user.name "your_username"
git config --global user.email "[email protected]"
git config --global credential.helper store
git pull
mount -o r,remount /system

if the git pull fails, just do some action on git that requires authentication, and you should be good to go

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].