DJTobias / Cherry-Autonomous-Racecar

Implementation of the CNN from End to End Learning for Self-Driving Cars on a Nvidia Jetson TX1 using Tensorflow and ROS
MIT License
320 stars 105 forks source link

installGuides needs to be updated #1

Open andrewraharjo opened 7 years ago

andrewraharjo commented 7 years ago

Merge preinstall and build/patch kernel as one package

#!/bin/bash
## Add repositories and install chromium
sudo apt-add-repository universe
sudo apt-add-repository multiverse
sudo apt-add-repository restricted
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install chromium-browser

# Kernel and Module Build
cd $HOME
git clone https://github.com/jetsonhacks/buildJetsonTX1Kernel.git
cd buildJetsonTX1Kernel
./getKernelSources.sh
./patchAndBuildKernel.sh
./copyImage.sh
hzb321 commented 7 years ago

Does anyone find the TrainingIMG file under "path = '/ home / djtobias / Documents / Tensorflow / TrainingIMG'?

DJTobias commented 7 years ago

Hey,

that path is the location of where I put the training dataset

you should modify this to suit your setup like such /home/hzb321/Downloads/TrainingIMG

hzb321 commented 7 years ago

Thank you very much ! I would also like to ask another question: Is the ubuntu system installed in hostPC Ubuntu16 or Ubuntu14? Because when flashing Jetson TX1 ,the system in HOSTPC is Ubuntu 14, and when installing the ROS ,is the Ubuntu16 version. thanks ~

hzb321 commented 7 years ago

1 `

This is the ROS installguide ,“ros-kinetic-desktop ” may required ubuntu16.04 ??

sudo apt-add-repository universe sudo apt-add-repository multiverse sudo apt-add-repository restricted sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA116 sudo apt-get update sudo apt-get install ros-kinetic-desktop-full sudo rosdep init rosdep update echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc source ~/.bashrc sudo apt-get install python-rosinstall

mkdir -p ~/catkin_ws/src cd ~/catkin_ws/src catkin_init_workspace cd ~/catkin_ws catkin_make echo "source /home/$USER/catkin_ws/devel/setup.bash" >> ~/.bashrc source ~/.bashrc`

DJTobias commented 7 years ago

I used 16.04 for my host, you don't have to use 14.04 and I would not recommend it, since you would have different versions of ROS. To me it seemed better to have similar development setups on the TX1 and the host pc.

hzb321 commented 7 years ago

Thank you very much for your reply!