https://github.com/timhanewich/mecanum-rover
Controlling a small mecanum-wheeled rover with Power Apps, an on-prem data gateway, and a Raspberry Pi Pico W
https://github.com/timhanewich/mecanum-rover
Last synced: about 2 months ago
JSON representation
Controlling a small mecanum-wheeled rover with Power Apps, an on-prem data gateway, and a Raspberry Pi Pico W
- Host: GitHub
- URL: https://github.com/timhanewich/mecanum-rover
- Owner: TimHanewich
- Created: 2023-02-19T20:04:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T22:55:24.000Z (about 3 years ago)
- Last Synced: 2026-01-02T07:21:55.981Z (6 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## General Info
- The IP address of the Raspberry Pi Pico W I have mounted on the car right now (using the breadboard): **10.0.0.214**
## Example Posts
Turns the "safeties" off (must do this first):
```
POST 10.0.0.214
{
"mac": 0
}
```
Move forward for one second at 50% power:
```
POST 10.0.0.214
{
"mac": 3,
"power": 0.5,
"duration": 1.0
}
```
If the `duration` parameter is **not specified**, it will continue what you told it to do until you make another call to it.
Go look at the *mac* settings in the [settings](./src/settings.py) to see what each MAC command does.
To get the status:
```
GET 10.0.0.214/status
```
## Distance Measurements
52 inches
|Surface|MAC|Power|Duration|Distance|
|-|-|-|-|-|