Skip to content

Instantly share code, notes, and snippets.

View alexswerner's full-sized avatar

Alexander Werner alexswerner

View GitHub Profile
@alexswerner
alexswerner / gist:cdc9b9185cd2da0eefc2c404ce405f0f
Last active November 7, 2022 14:24
Turtlebot4 Network setup
Modifications to turtlebot4 image version 1.0.2
## Disable Base Wi-Fi
* Factory-Reset the base (`curl 'http://192.168.186.2/api/factory-reset' -X 'POST' `)
If you don't do this and the robot disconnects from Wi-Fi, it will restart the ROS2
services and those will become unavailble even over the USB interface.
#!/usr/bin/python3
# Executes iperf3 repeatedly and extracts the connection speed from the results
import json
import subprocess
import sys
import datetime
import time
import argparse