All New

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login

All New Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated

GalileoBotball / Botball Library

2 likes
0 forks
7 files
Last active 1 month ago
1 // Test program: verifies all motors and servos are functioning.
2 // Run this on the robot before competition to check hardware.
3
4 #include <kipr/wombat.h>
5
6 void test_servo(int port) {
7 printf("testing servo %d\n", port);
8 printf("\tup 2 seconds\n");
9 enable_servo(port);
10 enable_servos();
jesse's Avatar

jesse / Botball Team Docs

0 likes
0 forks
5 files
Last active 1 month ago
Coaching guide, student coding reference, troubleshooting guide, and self-test programs (standard + mecanum) for middle school Botball teams.

Troubleshooting Guide

When something isn't working, don't just start changing code. Observe first, then figure out what's actually wrong.


Step 1: Run the Self-Test

Before assuming it's a code problem, run self_test.c. It will test each motor and servo one at a time. This rules out hardware problems quickly.

jesse's Avatar

jesse / test.py

0 likes
0 forks
1 files
Last active 1 month ago
1 # test
jesse's Avatar

jesse / wombat_cheat_sheet.md

0 likes
0 forks
1 files
Last active 1 month ago

🤖 Botball C Programming Cheat Sheet

📊 Reading Sensors

// Digital sensors (touch, bumper) - returns 0 or 1
digital(port_number);  // Example: if(digital(0)) { ... }

// Analog sensors (light, distance) - returns 0 to 4095
analog(port_number);   // Example: if(analog(0) > 2000) { ... }
Newer Older

Powered by Opengist ⋅ Load: 88ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文