vehicle-dynamics

Simulate vehicle motion and calculate safe following distance and time-to-collision.

98|12|Updated May 15, 2026
One-click install
npx skills add https://github.com/agentscope-ai/PawBench --skill vehicle-dynamics-agentscope-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vehicle-dynamics
Source: https://github.com/agentscope-ai/PawBench/tree/main/data/pawbench-v1.0/assets/T127_skillsbench_adaptive-cruise-control/skills/vehicle-dynamics
Command: npx skills add https://github.com/agentscope-ai/PawBench --skill vehicle-dynamics-agentscope-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides the ability to simulate vehicle motion and calculate safety metrics, such as safe following distances and time-to-collision, which are essential for implementing adaptive cruise control.

Core Features & Use Cases

  • Vehicle Motion Simulation: Calculate speed and position updates based on kinematic equations.
  • Safe Following Distance: Determine the safe distance to maintain between vehicles based on speed and time headway.
  • Time-to-Collision (TTC): Estimate the time until a collision occurs at current velocities.
  • Acceleration Limits: Constrain acceleration to physical limits of real vehicles.
  • State Machine Pattern: Implement vehicle state machines for cruise control modes.
  • Use Case: A developer can use this Skill to integrate safety features into an autonomous vehicle system.

Quick Start

Use the vehicle-dynamics skill to calculate the safe following distance for a vehicle traveling at 60 km/h with a time headway of 2 seconds.

Frequently Asked Questions about vehicle-dynamics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate safe following distance for adaptive cruise control?

Time-to-collision (TTC) estimates the time before a collision occurs using current relative velocities and positions. This skill calculates TTC for autonomous vehicles to trigger necessary acceleration adjustments or emergency braking protocols.

How do I simulate vehicle motion using kinematic equations?

Simulating vehicle motion requires updating speed and position based on applied acceleration and physical constraints. This skill applies kinematic equations to model continuous vehicle dynamics and state transitions for autonomous systems.

Can I constrain acceleration to physical vehicle limits in autonomous vehicle simulations?

Yes, you can constrain acceleration to physical vehicle limits during autonomous vehicle simulations. This skill enforces real-world physical constraints to ensure simulated speed and position updates remain within safe operational bounds.

Does this skill support implementing a state machine for cruise control modes?

Yes, this skill supports implementing a state machine pattern for cruise control modes. It provides the necessary logic to manage transitions between different autonomous vehicle states based on calculated safety metrics and kinematic updates.