Skip to content

Latest commit

 

History

71 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 CDFR 2026 - PAMI Firmware

Status Hardware

This repository contains the firmware for Robotronik's 2026 PAMIs (Small Intelligent Mobile Actuator) designed for the French Robotics Cup.


🚀 Core Features

🧭 Advanced Navigation

  • High-Frequency Odometry: Real-time position tracking using magnetic Hall effect encoders.
  • Closed-Loop Control: Dual PID controllers for precise velocity and heading management.
  • Smooth Trajectories: Integrated support for linear movements and "LookAt" orientation commands.

🛡️ Perception & Safety

  • Obstacle Avoidance: Real-time distance monitoring via ultrasonic sensors to prevent collisions on the field.
  • Power Management: Active battery voltage monitoring (ADC) to protect LiPo cells from deep discharge.
  • Safety Stops: Automatic emergency stop logic triggered by sensors or match timers.

🎯 Match Strategy

  • Automated Sequence: Manages the full match lifecycle from pull-cord detection to final stop.
  • Action Handling: Precise control over servo-driven mechanisms for game element manipulation.
  • User Interface: RGB LED feedback for team color identification and system diagnostics.

🔌 Hardware Specifications

Component ESP32 Pin Function
DC Motors 17, 18, 19, 21 PWM Driver Control
Encoders 32, 33, 36, 39 Hall Effect (A/B Channels)
Servos 26, 27 Mechanism Actuation
Start Cord 23 Pull-cord Interrupt (Tirette)
Ultrasonics 35 (TX), 16 (RX) Range Sensing
Battery Sense 34 Voltage Monitoring (Analog)

🛠 Setup & Installation

This project uses the standard ESP-IDF toolchain. Ensure you have the environment exported before running the build scripts.

  1. Clone the repository:
    git clone git@github.com:robotronik/CDFR2026-PAMIs-2-CODE.git
    cd CDFR2026-PAMIs-2-CODE
  2. Install ESP-IDF: Ensure idf.py is installed on your machine.
  3. Configure: (Optional) Run idf.py menuconfig to adjust project-specific settings.

About

Programme des PAMIs pour la CDFR 2026

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages