/Crawler

For controlling an RC car using a laptop or NUC

Primary LanguagePython

Install Process:
	Step 0: Install ubuntu 16.04 (see appropriate website)
	Step 1: Install ros Kinetic (see appropriate wikki)
	Step 2: sudo apt Install python3-pip
	Step 3: sudo pip3 install odrive (may fail) 
	Step 3.1: sudo apt install python3-usb
	Step 3.2: sudo apt install python3-yaml
	Step 3.3: sudo pip3 install --no-dependencies odrive (should work)
	Step 3.5: pip3 install rospkg
	Step 3.5: pip3 install serial
	[at this point python should be able to import the library]
	Step 4: Install git
	Step 5: Clone respository to home directory. 
		https://github.com/lellasone/Crawler.git
	Step 6: build Crawler/software/catkin_ws
	Step 7: Install systemd service as described below. 
	Setp 8: sudo apt install openssh-server ii

Install systemd service:
	# This process ensures that the robot will automatically start up
	# when the computer boots. 
	
	Step 1: Navigate to the software/startup subdirectory of the git repo
	Step 2: sudo cp crawler_startup_service.sh /usr/bin/crawler_startup_service.sh
	Step 3: sudo chmod +x /usr/bin/crawler_startup_service.sh
	Step 4: sudo cp crawler_startup.service /etc/systemd/system/crawler_startup.service
	Step 5: sudo chmod 644 /etc/systemd/system/crawler_startup.service
	
	Step 6: sudo systemctl start crawler_startup
	(other steps may be required to enable start on boot)
Joystick communicatoion:

plug into laptop
cheeck ip 
update ip if needed ens 
source bash all windows
roslaunch