By the end of the session, participants will:
- Understand Meshtastic and mesh networking.
- Flash and configure a Meshtastic device.
- Send and receive messages through the network.
| git clone -b 4.10.0 https://github.com/opencv/opencv.git | |
| git clone -b 4.10.0 https://github.com/opencv/opencv_contrib.git # optional | |
| cd ./opencv | |
| mkdir build && cd build | |
| cmake -D CMAKE_BUILD_TYPE=Release \ | |
| -D CMAKE_INSTALL_PREFIX=$PREFIX \ | |
| -D CMAKE_OPENCV_VERBOSE=OFF \ | |
| -D BUILD_SHARED_LIBS=ON \ | |
| -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF \ |
| VAR socketdev client_socket; | |
| VAR string received_data; | |
| VAR jointtarget target_joints; | |
| VAR num joint_speed := 100; | |
| VAR num joint_zone := 50; | |
| PROC main() | |
| ! Create socket and bind to ABB’s IP | |
| SocketCreate client_socket; | |
| SocketBind client_socket, "192.168.125.1", 1025; |
| import socket | |
| import json | |
| import time | |
| import cv2 | |
| import numpy as np | |
| from PIL import Image | |
| # Define connection to ABB RobotStudio | |
| HOST = "127.0.0.1" | |
| PORT = 5000 # Must match RAPID socket port |
| VAR socketdev server_socket; | |
| VAR socketdev client_socket; | |
| VAR jointtarget joint_data; | |
| VAR string joint_data_str; | |
| VAR num send_status; | |
| PROC main() | |
| ! Create and bind server socket | |
| SocketCreate server_socket; | |
| SocketBind server_socket, "127.0.0.1", 5000; |