compiler-explorer / compiler-explorer/compiler-explorer

[LIB REQUEST]: Add ROS/ROS2

Open
#4,010 1 comment 0 reactions 0 assignees View on GitHub
new-libs request
Dominant language
TypeScript
Stars
19.1k
Forks
2.1k
Avg merge
3d 15h
Merged PRs (30d)
67

Description

### Library name

ROS

### Library description

The Robot Operating System (ROS) is a set of software libraries and tools that help you build robot applications.

### Library repository

https://github.com/ros/ros

### Motivation

This would be useful so as to run small snippets of code with the library without having to mock it.

```c++
#include
#include

int main() {
std::cout << ros::Time::now().toSec();
}
```

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the ROS repository linked in the request and the included C++ example using ros/ros.h and ros::Time::now(). Determine how ROS/ROS2 library support is represented in Compiler Explorer; done means the example can run without mocking the library.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.