Projects/Mission-X CityCar — Autonomous Mobile Robotics Platform

Mission-X CityCar — Autonomous Mobile Robotics Platform

A ROS 2 mobile robotics platform connecting Gazebo city simulation, graph navigation, mecanum-drive control, sensor feedback, and a React control interface. I implemented reusable command and hardware interfaces, with explicit separation between source-supported simulation workflows and Raspberry Pi functionality that still needs measured physical validation.

Robotics2026Robotics Software & Hardware Integration
RoboticsROS 2Autonomous NavigationMotion PlanningSensor IntegrationMecanum Drive
On this page

Highlights

  • Integrated ROS 2 Jazzy packages, a Gazebo Harmonic city scene, sensor bridges, named goals, and a React monitoring/control interface.
  • Implemented A* waypoint-graph planning, a corner-aware path follower, bounded stuck recovery, replanning, and pause/resume/cancel mission supervision.
  • Built a command chain with source arbitration, velocity limiting, robot-side arm/E-stop/heartbeat supervision, and configurable ultrasonic gating.
  • Separated body-velocity and wheel-speed interfaces from simulation and Raspberry Pi GPIO/PWM backends; physical autonomous performance is not established by driver code.

Media

Technical illustration of the implemented interfaces. Authentic CityCar photographs and simulator captures remain to be supplied.
Architecture diagram derived from the combined bringup launch and node configuration. Pi drivers are implemented interfaces; physical autonomy is not a validated result.
Kinematic diagram of base_driver.py. The geometry uses half wheelbase plus half wheel separation. Autonomous graph following currently commands no lateral strafe.

Tech stack

PythonROS 2 JazzyGazebo Harmonicros_gz_bridgeTF2OpenCVReactTypeScriptroslibRaspberry PiGPIO / PWMTB6612FNG

Project overview

Mission-X connects a simulated city vehicle, graph-based navigation, sensing, operator control, and Raspberry Pi drive interfaces through a common ROS 2 architecture. My work covers the custom planner/follower, command pipeline, package bringup, hardware adapters, and web interface. ROS 2 and Gazebo provide the communication and simulation foundations.

The repository documents runnable simulation and Pi setup workflows. It does not contain a quantitative physical autonomous-navigation acceptance report, so this case study describes implemented behavior and its evidence limits separately.

Motivation and objectives

The central engineering problem is keeping navigation and operator logic useful while the actuation backend changes. Simulation can provide pose and idealized sensors; a physical vehicle has GPIO, motor calibration, delayed feedback, and connection failures. I separated those responsibilities at explicit command, wheel-speed, and sensor topics rather than embedding hardware access in a planner.

System architecture

The combined bringup selects simulation or hardware mode and composes control, navigation, sensing, and optional GUI services. Named goals feed a graph planner; a separate follower turns the resulting Path into body-velocity commands. Arbitration and supervision precede the base driver, which computes wheel speeds and routes commands to the selected backend.

  • citycar_control owns planning, mission state, teleoperation, command filtering, kinematics, and hardware nodes.
  • citycar_sim owns the city world, vehicle model, sensor bridges, and simulation launch; citycar_bringup composes the system.
  • citycar_slam adds camera calibration and an ORB-SLAM3 pose/odometry relay; the pinned third-party wrapper remains a separate dependency.

ROS 2 communication architecture

PoseStamped goals, nav_msgs/Path plans, Twist commands, odometry, TF, and sensor messages keep the interfaces explicit. The planner publishes plans independently of execution. The GUI uses rosbridge/roslib to publish authority and safety controls and subscribe to telemetry; video transport is a separate interface.

The current chain is mux → velocity limiter → robot-side safety supervisor → ultrasonic gate → base driver. The mux forwards fresh messages from the selected source and publishes a stop on mode change, avoiding indefinite replay of the last command that would conceal stale input.

Mecanum-drive kinematics

The base driver maps forward velocity, lateral velocity, and yaw rate to front-left, front-right, rear-left, and rear-right angular velocities. Its lever arm is half the full wheelbase plus half the full wheel separation; each wheel expression is divided by wheel radius. A non-positive radius is rejected.

The simulation backend forwards Twist to Gazebo's mecanum plugin while publishing the calculated wheel-speed array. The hardware backend exposes that same array to a separate driver. This is implemented inverse kinematics; encoder-based forward-kinematic odometry is not established. The graph follower deliberately keeps lateral velocity at zero even though the base supports strafe.

Gazebo simulation environment

The Harmonic scene contains the vehicle, a road-like city environment, camera, LiDAR, IMU, and a narrow ultrasonic-style scan. ros_gz bridges connect simulator and ROS messages. Launch/configuration and README instructions support keyboard driving, sensor inspection, and graph-goal workflows.

These are source-supported simulation workflows. No navigation-success percentage, localization RMSE, or sim-to-real transfer result is inferred from launch files or tuning constants.

Sensor integration and coordinate frames

Odometry and a TF broadcaster connect the vehicle base with camera, LiDAR, IMU, and ultrasonic frames. The graph follower uses map-to-base transforms for pose feedback. A scan-to-Range adapter gives the ultrasonic safety gate a common interface across simulation and hardware.

The source also includes an HTTP camera bridge and Pi camera streaming scripts. These adapters make image transport possible; they do not demonstrate calibrated physical LiDAR/IMU fusion or real-world localization accuracy.

Localization and mapping

The recent source adds ORB-SLAM3 integration scaffolding: camera-info configuration, wrapper launch, and a relay that converts incoming pose/odometry into the selected ROS frames. The repository pins slam_wrapper_v2 at commit a0e24ac1701896ff00c9eccb1c58ba0224781540.

This is experimental mapping/localization integration. The graph workflow can use simulator state and known maps; it does not establish an independently evaluated SLAM map, EKF fusion, or Nav2 deployment. Wrapper setup and sensor calibration still require their own acceptance evidence.

Mission supervision and safety

Mission supervision sequences named destinations and exposes pause, resume, and cancel. Operator authority can pause autonomous progression and gate the follower. Robot-side supervision checks armed state, E-stop, and optional UI heartbeat rather than relying on visible button state alone.

Safety behavior depends on configuration. The committed city ultrasonic profile sets fail_safe_stop_on_no_range=false, allowing motion without a valid range. A hardware deployment therefore needs deliberate range-failure policy, stale-command, heartbeat, braking, and disconnect validation. These software gates do not constitute a certified physical safety system.

Raspberry Pi hardware integration

The TB6612 driver uses gpiozero digital outputs and PWM to map four signed wheel speeds to two TB6612FNG boards. Separate scripts and ROS nodes cover manual drive and HC-SR04 range sensing; a Pi Zero camera stream can feed the ROS camera bridge.

Driver implementations and operating instructions are available. Authentic hardware photographs, measured wheel calibration, encoder/odometry validation, braking tests, and end-to-end autonomous physical trials were not found in the inspected evidence. Their absence remains visible rather than treating executable code as a physical test result.

User interface and monitoring

The React/TypeScript interface provides manual drive controls, touch joystick, autonomy/mission controls, sensors, logs, connection profiles, plan visualization, and time-series telemetry. A shared control synchronizer publishes arm/E-stop/heartbeat state and manages mux authority.

Profiles separate connection and topic configuration from presentation. The UI can expose command and sensor age, but a browser connection by itself is not proof of robot readiness; enforcement remains in the robot-side command chain.

Demonstrated scope, limitations, and next work

The defensible outcome is an integrated ROS 2 software platform with documented simulation workflows and implemented hardware interfaces. Available tests are package scaffolding/style checks, not a measured autonomy campaign. This page therefore has no invented performance cards.

The next milestone is a recorded acceptance matrix: first reproducible simulation missions and safety faults, then isolated Pi motor/sensor checks, then supervised physical navigation with calibrated state feedback. Mapping quality, recovery reliability, physical stopping distance, and deployment readiness remain unmeasured.

Related projects

Current technical illustration of RGB-D perception, C++ motion authority, sliding models, and contact diagnosis; not a hardware photograph

Vision-Guided Robotic Manipulation and Differentiable Physics

Robotics · 2025

Featured

A simulation-based robotics project spanning vision-conditioned temporal learning, ROS 2 perception, collision-aware Panda execution, and differentiable contact models. I built and evaluated the integration from RGB-D observations to controlled pushing, including held-out prediction studies, uncertainty gates, and a diagnosed contact-geometry failure with a versioned fixture correction.

RoboticsComputer VisionState EstimationMotion Planning
Automated goalie robot project cover

Automated Goalie: Ping Pong Ball Trajectory Prediction System

Robotics · 2025

Featured

A closed-loop robot-learning prototype that detects a ping pong ball, estimates its 3D motion, predicts the landing point, and rotates a servo-driven blocker in real time on a Raspberry Pi-based hardware setup.

Computer VisionTrajectory PredictionEmbedded SystemsReal-Time Robotics
ADA technical illustration of an Android client, scoped memory, and local inference; not an application screenshot

Adaptive Digital Assistant (ADA) — Privacy-First Personal AI System

AI Systems Engineering · 2026

Featured

A privately hosted personal AI system connecting local LLM inference, source-linked memory, document retrieval, and an encrypted Kotlin Android client. I built explicit review, consent, and recovery boundaries across the stack, with separately recorded host validation and remaining physical-device voice acceptance gates.

Local LLMsSelf-Hosted AIRetrieval-Augmented GenerationAndroid
OwnerPilot technical illustration of reviewed documents, hybrid retrieval, verified research, and internal quotes

OwnerPilot — AI-Powered Business and Procurement Intelligence

AI Product Engineering · 2026

Featured

An end-to-end AI application joining SMB operating analytics with reviewed RFQ extraction, hybrid catalog retrieval, and tool-using procurement research. I built durable workflows, source-bound evidence verification, deterministic quote calculations, and human approval controls, then evaluated local-model research on independently frozen fictional procurement cases.

Agentic AIHybrid RetrievalOCRAI Evaluation
← Back to all projects