@@ -92,17 +92,65 @@ To finish this module, review and complete all tasks outlined in each section. T
92
92
93
93
- [ ESP cam car] ( https://www.aliexpress.com/item/1005005439195049.html ) , no encoders, closed hardware
94
94
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
96
98
97
99
apt-get update
98
100
99
101
sudo apt remove unattended-upgrades
100
102
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
102
146
103
- wget https://raw.githubusercontent.com/linorobot/ros2me/master/install
104
147
105
- nano install
148
+
149
+
150
+
151
+
152
+ ----------------------
153
+
106
154
107
155
chmod 777 install
108
156
@@ -120,9 +168,11 @@ source ~/.bashrc
120
168
121
169
https://github.com/hippo5329/linorobot2_hardware/wiki#installation
122
170
171
+
172
+ ZIO
123
173
git clone -b esp32_zio https://github.com/hippo5329/linorobot2_hardware.git
124
174
125
- dmesg | grep tty
175
+
126
176
127
177
128
178
0 commit comments