AcademyRulesDevelopment

ROS and ROS2 rules

Robotics engineering teams that want Cursor to follow ROS conventions when writing nodes, launch files and tests.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/ros-ros2.mdc -o .cursor/rules/ros-ros2.mdc
ros-ros2.mdc

Loading the file...

What it does

A Cursor rules file for robotics projects using ROS and ROS2. It covers package structure, small composable nodes, parameters, topics, services and actions, frame transforms, timing and QoS settings, plus build and testing practices such as launch tests and simulation fixtures.

Use cases

  1. 01Create a new ROS2 package with the right layout
  2. 02Choose between topics, services and actions
  3. 03Add launch tests for multi-node behaviour

Questions about
ROS and ROS2 rules.

What is ROS and ROS2 rules used for?

Robotics engineering teams that want Cursor to follow ROS conventions when writing nodes, launch files and tests. A Cursor rules file for robotics projects using ROS and ROS2. It covers package structure, small composable nodes, parameters, topics, services and actions, frame transforms, timing and QoS settings, plus build and testing practices such as launch tests and simulation fixtures.

How do I install ROS and ROS2 rules?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/ros-ros2.mdc -o .cursor/rules/ros-ros2.mdc

Is ROS and ROS2 rules open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is ROS and ROS2 rules safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.