Skip to content

Instantly share code, notes, and snippets.

View tsaoyu's full-sized avatar
🚀
Working

Tony Yu Cao tsaoyu

🚀
Working
View GitHub Profile
#This is title
`code` here and *emphasize* the point
four space test
@tsaoyu
tsaoyu / NOTEs
Created September 24, 2014 08:45
Application of this data allows you do some fundamental design by just using the basic rules here.
##Systems we may concerned
1. Fuel system (Henrique)
2. Lubricate Oil system (Hardika)
3. Starting system/electric (Cao)
4. Cooling system (Antonis)
5. Turbo (Andreas)
6. Automation system
7. Feed water system
pip install -e ./calli
Obtaining file:///Users/caoyu/Documents/calli
Collecting pyomo<4.5,>=4.4 (from calliope==0.4.0.dev0)
Downloading Pyomo-4.4.1-py2-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 813kB/s
Collecting numpy>=1.11 (from calliope==0.4.0.dev0)
Downloading numpy-1.11.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.9MB)
100% |████████████████████████████████| 3.9MB 289kB/s
Collecting numexpr>=2.3.1 (from calliope==0.4.0.dev0)
Downloading numexpr-2.6.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (138kB)
# IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
ssh-keygen -R hostname
@tsaoyu
tsaoyu / RPi3XenialROSKinetic.md
Last active January 29, 2017 15:41
Configuration of Ubuntu 16.04 and ROS kinetic on Raspberry Pi 3

After many trials and errors, I finally managed to have an useable image with latest ROS on Ubunut LTS 16.04 Xenial. As the mother company of ubuntu is turning its focus on cloud, newly introduced features also make some trouble during my tests. Here I share the setup steps on Raspberry Pi 3.

  1. Download image file Ubuntu 16.04LTS (mate flavour) from the following site https://ubuntu-mate.org/download/ Format your SD card and then follow this official tutorial to burn image on card.
  2. Boot RPi. You may need a monitor and keyboard attached to RPi to configure user account and regional setting. Raspberry Pi will reboot several times to finish the setup process. In terminal, you can check current version of ubuntu with lsb_release -a and it will reads:
Distributor ID:	Ubuntu

cat ~/.ssh/id_rsa.pub | ssh <user>@<hostname> 'cat >> .ssh/authorized_keys && echo "Key copied"'

pipenv --three

Creating a Pipfile for this project...
Creating a virtualenv for this project...
⠋Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.5'
New python executable in /Users/caoyu/.local/share/virtualenvs/D3HRE/bin/python3
Also creating executable in /Users/caoyu/.local/share/virtualenvs/D3HRE/bin/python
Installing setuptools, pip, wheel...done.