Skip to content

Commit 5ad7b1a

Browse files
authored
Update learn-robotics.md
1 parent 6691a3b commit 5ad7b1a

File tree

1 file changed

+55
-5
lines changed

1 file changed

+55
-5
lines changed

learn-robotics.md

+55-5
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,65 @@ To finish this module, review and complete all tasks outlined in each section. T
9292

9393
- [ESP cam car](https://www.aliexpress.com/item/1005005439195049.html), no encoders, closed hardware
9494

95-
# Notes on software installed on the Ubuntu 22.04 Virtualbox image, or compute module
95+
# Notes on software installed on the Ubuntu Docker image
96+
97+
docker run -p 6080:80 --security-opt seccomp=unconfined --shm-size=512m --device=/dev/ttyUSB0 --device=/dev/ttyACM0 tiryoh/ros2-desktop-vnc:jazzy
9698

9799
apt-get update
98100

99101
sudo apt remove unattended-upgrades
100102

101-
[ssh](https://dev.to/developertharun/easy-way-to-ssh-into-virtualbox-machine-any-os-just-x-steps-5d9i) -p 3022 [email protected]
103+
In the browser at 127.0.0.1:6080
104+
Open a terminal and
105+
git clone -b rosmo [email protected]:hippo5329/linorobot2_hardware.git
106+
sudo apt-get install -y --install-recommends linux-lowlatency
107+
sudo apt remove -y brltty
108+
sudo apt install -y python3-venv build-essential cmake git curl
109+
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
110+
python3 get-platformio.py
111+
rm get-platformio.py
112+
echo "PATH=\"\$PATH:\$HOME/.platformio/penv/bin\"" >> $HOME/.bashrc
113+
source ~/.bashrc
114+
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
115+
sudo service udev restart
116+
sudo usermod -a -G dialout $USER
117+
sudo usermod -a -G plugdev $USER
118+
export ROS_DISTRO=jazzy
119+
export ROS_DISTRO=jazzy
120+
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
121+
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
122+
sudo apt update
123+
sudo apt install -y ros-$ROS_DISTRO-desktop ros-dev-tools python3-colcon-common-extensions python3-pip
124+
sudo rosdep init
125+
rosdep update
126+
echo "source /opt/ros/$ROS_DISTRO/setup.bash" >> ~/.bashrc
127+
source ~/.bashrc
128+
mkdir ~/uros_ws/src -p
129+
cd ~/uros_ws/src
130+
git clone -b $ROS_DISTRO https://github.com/micro-ROS/micro-ROS-Agent.git
131+
git clone -b $ROS_DISTRO https://github.com/micro-ROS/micro_ros_msgs.git
132+
cd ..
133+
rosdep install --from-paths src --ignore-src -r -y
134+
colcon build --symlink-install
135+
cd ~
136+
echo "source \$HOME/uros_ws/install/setup.bash" >> ~/.bashrc
137+
source ~/.bashrc
138+
139+
140+
141+
142+
git clone -b rosmo [email protected]:hippo5329/linorobot2.git
143+
cd linorobor2
144+
chmod 777 install_linorobot2.bash
145+
./install_linorobot2.bash 4wd ld19
102146

103-
wget https://raw.githubusercontent.com/linorobot/ros2me/master/install
104147

105-
nano install
148+
149+
150+
151+
152+
----------------------
153+
106154

107155
chmod 777 install
108156

@@ -120,9 +168,11 @@ source ~/.bashrc
120168

121169
https://github.com/hippo5329/linorobot2_hardware/wiki#installation
122170

171+
172+
ZIO
123173
git clone -b esp32_zio https://github.com/hippo5329/linorobot2_hardware.git
124174

125-
dmesg | grep tty
175+
126176

127177

128178

0 commit comments

Comments
 (0)