全部 新建

user:thomas 由用户创建的 Gists

title:mygist 包含指定标题的 Gists

description:sync gists with given description

filename:myfile.txt 包含指定文件名的 Gists

extension:yml 包含指定扩展名的 Gists

language:go 包含指定编程语言的 Gists

topic:homelab 具有给定主题的 Gists

all:systemctl search all fields

登录

全部 新建 登录

所有 Gists

最近 创建
最早 创建
最近 更新
最早 更新

GalileoBotball / Botball Library

2 喜欢
0 派生
7 文件
最后活跃于 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 喜欢
0 派生
5 文件
最后活跃于 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 喜欢
0 派生
1 文件
最后活跃于 1 month ago
1 # test
jesse's Avatar

jesse / wombat_cheat_sheet.md

0 喜欢
0 派生
1 文件
最后活跃于 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) { ... }
上一页 下一页

由 Opengist 强力驱动 ⋅ Load: 98ms⋅

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