or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
tags:
vsclab
turtlebot
ubuntu
ros
raspberry pi
TurtleBot3 Setup
文章目錄
ifconfig
🍒Raspberry Pi: connect to the Internet
若使用手機熱點,請將頻寬設定成 2.4 GHz
1. Open Configuration File
2. Edit Configuration File
2-1. For Wi-Fi
See Example
Multiple SSID Example
2-2. For Static IP
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →/etc/netplan/50-cloud-init.yaml
3. Apply Changes
4. Confirm IP Address
5. Check Internet Connectivity in Linux Terminal
Method 1: PING Command
Method 2: CURL Command
固定裝置的 DHCP 位址
每次裝置重新連線時,分享器會再重新分配 IP,導致 ROS IP 也要跟著重新設定 若希望固定 IP 位址,請參考以下教學
1. 查詢 TurtleBot 的 MAC 位址
2. 更改分享器設定
192.168.1.1
SSH Login Automatically
Raspberry Pi 相關
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →進行長時間操作建議不要使用電池(例如:更新軟體、重灌系統)
結論: SMPS (12V 5A) 與 Battery (11.1V) 不能同時供電!一次僅能使用一個電源輸入
Day 2-3 | ROS
Install ROS & ros_menu
Server 啟動 ros1 遇到 $shell 名稱錯誤問題
/tmp/host_sourcefile.txt:source:3: 沒有此一檔案或目錄: /opt/ros/noetic/setup./usr/bin/zsh
Solution: 重新定義
/proc/$$/cmdline
PID執行緒參數Run Example Code
[sensor_msgs/BatteryState] 問題
[ERROR] [1642758400.659716]: Creation of publisher failed: Checksum does not match: 4ddae7f048e32fda22cac764685e3974,476f837fa6771f6e16e3bf4ef96f8770
Solution: OpenCR 的版本必須與 PC 的 ROS 相同ROS 2 foxy for TB3
Install ros2 & ros_menu on SBC
Communicate with Windows using PuTTY
如何在 PuTTY 對 tmux 視窗貼上 Solution: Press shift
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →MATLAB ROS Toolbox
Joysticks x Raspberry Pi
Wiring PS3
Wireless PS2
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →GPIO Library Installation
由於 GPIO 原作者 Gordon 已不再維護,請使用
git clone https://github.com/WiringPi/WiringPi
Xbox
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →ROS Library
Pi Camera Module install on TB3 burger
Hardware Installation Tutorial
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →System Settings
Install
raspi-config
Enable Camera Module
[Your firmware appears to be out of date (no start_x.elf). Please update] 問題 Solution: 树莓派通过raspi-config启动摄像头时,出错:Your firmwave appears to be out of date (no start_x.elf). Please update
Take a photo
Camera Module with Raspberry Pi4
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Use ROS
Install ROS Package
raspicam
(TurtleBot)Run
raspicam
Node