Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

The-Viccyware-Group/Viccyware-OG

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This repository has been depreciated in favor of using the new wire-os repo as a base. Please use https://github.com/The-Viccyware-Group/Viccyware

Viccyware-tester

Welcome to the unstable branch of Viccyware. This is the home of a modified copy of the Vector source code. Original README: README-orig.md

Check the wiki for more information about the leak, what we can do with this, and general Vector info.

Warning

You CANNOT currently deploy this to a regular, non-unlocked bot.

Branch info

This branch of the Vector source code will attempt to reimpliment Cozmo from old versions of Cozmoware into the modern os. Unlike the main branch this branch will be updated more frequently compared to the stable branch. This can mean the code may be more buggy so if you need reliability switch to the main branch please.

Changes

  • The wiki includes a list of changes that were made by a fellow community member, Wire: Changes Wire Made

Building (Linux or WSL)

  • Prereqs: Make sure you have docker and git-lfs installed.
  1. Clone the repo and cd into it:
cd ~
git clone --recurse-submodules https://github.com/Yrekcaz/Viccyware -b Viccyware-tester
cd Viccyware
git lfs install
git lfs pull
  1. Make sure you can run Docker as a normal user. This will probably involve:
sudo groupadd docker
sudo gpasswd -a $USER docker
newgrp docker
sudo chown root:docker /var/run/docker.sock
sudo chmod 660 /var/run/docker.sock
  1. Run the build script:
cd ~/Viccyware
./wire/build-d.sh
  1. It should just work! The output will be in ./_build/vicos/Release/

Building (Intel or ARM64 macOS)

  • Prereqs: Make sure you have brew installed.
    • Then: brew install pyenv git-lfs ccache wget
  1. Clone the repo and cd into it:
cd ~
git clone --recurse-submodules https://github.com/Yrekcaz/Viccyware -b Viccyware-tester
cd Viccyware
git lfs install
git lfs pull
  1. Set up Python 2:
pyenv install 2.7.18
pyenv init
  • Add the following to both ~/.zshrc and ~/.zprofile. After doing so, run the commands in your terminal session:
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv shell 2.7.18
  1. Disable security:
sudo spctl --master-disable
sudo spctl --global-disable
  • You will have to head to System Settings -> Security & Privacy -> Allow applications from and select "Anywhere".
  1. Run the build script:
cd ~/Viccyware
./wire/build.sh
  1. It should just work! The output will be in ./_build/vicos/Release/

Deploying

  1. Echo your robot's IP address to robot_ip.txt (in the root of the victor repo):
echo 192.168.1.150 > robot_ip.txt
  1. Copy your bot's SSH key to a file called robot_sshkey in the root of this repo.

  2. Run:

# Linux
./wire/deploy-d.sh

# macOS
./wire/deploy.sh

About

Cozmoware with a newer underlying OS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 68.9%
  • C 21.0%
  • Python 3.4%
  • HTML 2.3%
  • MATLAB 1.0%
  • Cuda 0.9%
  • Other 2.5%