AutonomousVehicleControlBeginnersGuide
Python sample codes and documents about Autonomous vehicle control algorithm. This project can be used as a technical guide book to study the algorithms and the software architectures for beginners.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Gráfico em tempo real de cursos do SENAI SP (Real-time listing of courses from my tech college)
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Public SENAI course offerings and open seats for 19 Brazilian states, in one searchable page. Data comes from each state's own portal.
The whole product runs in SurrealDB. Scrapers are SurrealQL functions that call http::get. Storage is SurrealKV. Pages and HTMX fragments are DEFINE API routes that return HTML. The browser loads HTMX, Alpine.js and UnoCSS from CDNs. There is no JavaScript runtime, package manager or build step.
Needs Docker (or a local surreal binary), curl and jq.
app/run.sh # start SurrealDB, load schema, seed states
app/crawl.sh sp mg # fetch courses for two states (no args: all 19; SP alone takes ~45 min cold)
Open http://127.0.0.1:8000/api/senai/cursos/home.
app/
├── schema.surql tables and indexes
├── lib/ config, fn::db::* write API, crawl dispatcher
├── scrapers/ one fn::scrape::<uf>::step per state (status in STATUS.md)
├── ui/ render functions and page routes
├── api/ /health, /assets/*, guarded /crawl* and /retention
├── seed/ the 27 states (19 active)
├── assets/ state flags and logo
├── run.sh start, load, seed
├── load.sh load SurrealQL files into a database
└── crawl.sh drive the scraper steps
Tooling is POSIX sh with curl and jq.
Base path /api/senai/cursos.
| Route | Purpose |
|---|---|
/home?uf=&area=&unit= | main page |
/main | htmx fragment |
/privacidade | privacy page |
/ui.css | base stylesheet |
/assets/*path | flags and logo |
/health | liveness check |
Operational routes need the header x-crawl-key. The key is written to app/.crawl-key on first boot and is git-ignored.
/crawl/:uf/:n, /crawl-status, /crawl-report/:uf/:result, /crawl-skip/:uf/:n/retention/:daysrun.sh reads SURREAL_CONTAINER, SURREAL_DB, SURREAL_PORT, SURREAL_USER, SURREAL_PASS, SURREAL_DATA, SURREAL_IMAGE, SURREAL_ALLOW_NET, SURREAL_URL.
crawl.sh reads CRAWL_STATE_CONCURRENCY, CRAWL_DELAY_MS, CRAWL_RETRIES, CRAWL_FAILURE_LIMIT, CRAWL_STEP_TIMEOUT_S, CRAWL_BUDGET_S, CRAWL_MAX_AGE_S, CRAWL_RETENTION_DAYS.
Only HTMX, Alpine.js, UnoCSS, SurrealQL, SurrealDB and SurrealKV. No JavaScript runtime, package manager or build step, and no standalone JavaScript files. Tooling is POSIX sh, curl, jq and Docker. State-adding rules and shared contracts are in app/CONTRACT.md.
app/scrapers/<uf>.surql, persisting only through fn::db::*. Small idempotent steps; read app/scrapers/STATUS.md.app/ui/ (see app/ui/README.md and app/ui/DESIGN.md). The UI never calls http::get.app/api/, app/lib/dispatch.surql.Reload one file: app/load.sh cursos app/ui/20_pages.surql (parse and statement errors are printed). Do not reload app/scrapers/_common.surql during a crawl.
Be polite: sequential requests, an identifiable User-Agent, no hammering. Keep only offers the source lists as open with real availability. vagas = null means the source gives no seat count; never invent one.
app/load.sh cursos runs with no errors./api/senai/cursos/home in a real browser at 360 and 1280 px. The console must be clean.CI (.github/workflows/ci.yml) runs the same load and smoke checks and must pass.
Describe what changed and how you verified it. Keep the change focused. By contributing you agree your work is licensed under Apache-2.0.
This software independently aggregates publicly accessible data from each state's SENAI portal. It is not affiliated with, endorsed by, sponsored by, or associated with SENAI, SESI, FIESP or CNI.
Availability, schedules, vacancies and prices change without notice. Check the official portal before enrolling.
Apache License 2.0. See LICENSE.