Everything you need to set up ROS Melodic on the Raspberry Pi Zero / W
# https://www.raspberrypi.org/forums/viewtopic.php?t=177743#p1169042
# 10% overclock
arm_freq=1100
over_voltage=8
sdram_freq=500
sdram_over_voltage=2
force_turbo=1
boot_delay=1
dtparam=sd_overclock=100
git clone https://github.com/alansrobotlab/rosberrypizero
cd rosberrypizero
nano bootstrap.sh
sh bootstrap.sh
OK, now there are a few more things that you need to do
before you can get started.
First, run the following command in a command prompt
to set the samba filesharing password
for user 'pi'\n (Must be at least 8 characters)
sudo smbpasswd -a pi
Next, disconnect from your wifi network and run
the following command to set up your pi as an access point
sudo iw wlan0 disconnect (to disconnect wifi)
sudo systemctl enable create_ap (set access point to begin automatically on startup)
sudo systemctl start create_ap (to start the create_ap access point)
Finally, run the following command to enable ssh, the camera and i2c
sudo rc-gui (for the gui config tool) \n\
sudo raspi-config (for the command line tool) \n"
cd ~/.rosberrypizero # whereever you cloned this repository
git pull