Architecture change (2026-04-03): Mamba F722S (STM32F722) and BlackPill replaced by ESP32 BALANCE (PID loop) and ESP32 IO (motors/sensors/comms). - Update CLAUDE.md, docs, chassis BOM/ASSEMBLY, pinout, power-budget, wiring-diagram, TEAM.md, AUTONOMOUS_ARMING.md, docker-compose - Update all ROS2 package comments, config labels, launch args (stm32_port→esp32_port, /dev/stm32-bridge→/dev/esp32-bridge) - Update WebUI: stm32Mode→esp32Mode, stm32Version→esp32Version, "STM32 State/Mode" labels → "ESP32 State/Mode" (ControlMode, SettingsPanel) - Add TODO(esp32-migration) markers on stm32_protocol.py and mamba_protocol.py binary frame layouts — pending ESP32 protocol spec from max - Fix roslib CDN 1.3.0→1.4.0 in all 11 HTML panels (fixes ROS2 Humble rosbridge "Received a message without an op" incompatibility) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5.5 KiB
5.5 KiB
SaltyBot Chassis — Assembly Notes
Task: bd-1iy5 — Rev A — 2026-02-28
Overview
[Front bumper rail — 22mm EMT]
├─ bumper_bracket(front=+1) ──────────────────────┐
│ │
┌───────┴──────────── Main Deck (640×220×6mm Al) ─────────┴───────┐
│ ← Jetson mount plate (rear/+X) FC mount (front/−X) → │
│ [Battery tray hanging below centre] │
└───┬──────────────────────────────────────────────────────────┬───┘
│ │
Motor fork (L) Motor fork (R)
Hub motor CL: ±300mm from deck centre │
Axle height: 310mm above ground │
├─ bumper_bracket(front=-1) ──────────────────────┘
[Rear bumper rail — 22mm EMT]
Step-by-step Assembly
1 Fabricate / print parts
- Send deck plate DXF (export from OpenSCAD → DXF) to CNC router or waterjet cutter.
- Print motor fork brackets in PETG 5 perimeters / 40% gyroid for prototype, or send STEP to machine shop.
- Print battery tray, FC pad, Jetson plate, bumper brackets in PETG.
- Export STEP: OpenSCAD → Render (F6) → Export as STL, then convert with FreeCAD for STEP.
2 Verify motor axle dimensions
- Measure actual hoverboard motor axle: diameter and flat-to-flat.
- Adjust
MOTOR_AXLE_DandMOTOR_AXLE_FLATinchassis_frame.scad. - Re-export fork dropout slot.
3 Motor forks → deck
- Thread M5 T-nuts into underside of deck edge slots (or use M5 rivet nuts).
- Align fork bracket to deck edge; fasten with 4× M5×16 SHCS + flat washer each side.
- Apply Loctite 243 to threads. Torque to 4 N·m.
4 Motors into forks
- Slide hub motor axle into dropout slot (flat side aligns with slot).
- Fit flat washer then flanged M14 axle nut; torque to 35–40 N·m.
- Feed motor phase wires and hall-sensor cable through deck cable slot.
5 Longitudinal ribs
- Align ribs with edge grooves on deck underside.
- Secure with M4×12 SHCS through pre-drilled holes; torque 2.5 N·m.
6 Battery tray
- Pass any wiring harness through deck wire-pass hole before mounting tray.
- Align tray mounting ears to deck M4 threaded inserts (or rivet nuts).
- Fasten 4× M4×12 SHCS. Torque 2.5 N·m.
- Insert battery pack; route Velcro straps through slots and cinch.
7 MCU mount (ESP32 BALANCE + ESP32 IO)
⚠️ ARCHITECTURE CHANGE (2026-04-03): ESP32 BALANCE retired. Two ESP32 boards replace it. Board dimensions and hole patterns TBD — await spec from max before machining mount plate.
- Place silicone anti-vibration grommets onto nylon M3 standoffs.
- Lower ESP32 BALANCE board onto standoffs; secure with M3×6 BHCS. Snug only.
- Mount ESP32 IO board adjacent — exact placement TBD pending board dimensions.
- Orient USB connectors toward front of robot for cable access.
8 Jetson Nano mount plate
- Press or thread M3 nylon standoffs (8mm) into plate holes.
- Bolt plate to deck: 4× M3×10 SHCS at deck corners.
- Set Jetson Nano B01 carrier onto plate standoffs; fasten M3×6 BHCS.
9 Bumper brackets
- Slide 22mm EMT conduit through saddle clamp openings.
- Bolt bracket to deck edge: 4× M5×16 SHCS per bracket.
- Position bumper rail flush with motor OD outer edge; tighten saddle clamp bolts.
10 Cable routing
- Route motor phase cables along longitudinal ribs; secure with cable clips.
- FC ↔ ESC/VESC harness exits through front cable slot.
- Jetson USB/UART ribbon exits through rear cable slot.
- Power harness (battery XT60 → BMS → 24V bus) runs under deck along centreline.
Critical Dimensions (verify before machining)
| Dimension | Nominal | Tolerance |
|---|---|---|
| Wheelbase (axle C/L to C/L) | 600 mm | ±1 mm |
| Motor fork slot width | 24 mm | +0.5 / 0 |
| Motor fork dropout depth | 60 mm | ±0.5 mm |
| ESP32 BALANCE hole pattern | TBD — await spec from max | ±0.2 mm |
| ESP32 IO hole pattern | TBD — await spec from max | ±0.2 mm |
| Jetson hole pattern | 58 × 58 mm | ±0.2 mm |
| Battery tray inner | 185 × 72 × 52 mm | +2 / 0 mm |
OpenSCAD Rendering Notes
# Render full assembly preview (F5 in GUI)
openscad chassis_frame.scad
# Export individual part STL for slicing
openscad chassis_frame.scad -D "PART=\"motor_fork\"" -o motor_fork_right.stl
# Export deck DXF (set DECK_THICKNESS=0.01 for 2D projection)
openscad chassis_frame.scad -D "RENDER_2D=true" -o deck_plate.dxf
Slicing profile (PETG, structural parts):
- Nozzle: 0.4mm | Layer: 0.2mm
- Perimeters: 5 | Infill: 40% gyroid
- Supports: Yes (motor fork dropout slot)
- Orientation: Fork bracket printed vertically (load axis = layer direction)
Safety Notes
- Verify axle nut torque after first 10-minute ride — hub motors vibrate and may back off.
- Battery tray is rated for packs ≤185×72×52mm; confirm dimensions before ordering cells.
- Ground all aluminium chassis parts to power-common to avoid RF interference with FC.
- Do not run robot without bumpers fitted — uncontrolled runaway risk.