Skip to content

jacobperron/rclrockstar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rclrockstar

A ROS 2 client library for the Rockstar programming language.

Why?

So we can all be rockstar robot developers 🧑‍🎤 🤖

Features

  • Create ROS nodes
  • Create ROS publishers for type std_msgs/msg/String
  • Publish string data

Roadmap

  • Create ROS subscriptions for type std_msgs/msg/String
  • Create ROS timers

Setup

  1. Install ROS 2 (Foxy or newer)

  2. Clone this repository

     git clone https://github.com/jacobperron/rclrockstar.git
    
  3. Install Python dependencies with Poetry

     pip3 install poetry
     cd rclrockstar
     poetry install
    

Usage

In the root of the repository,

poetry run ros_rocks examples/ros.rock

For more info,

poetry run ros_rocks --help 

Examples

Here's an example Rockstar program that creates a ROS node, a publisher, and publishes data every 1 second in an infinite loop:

My turtle is "gone"
Put ROS taking my turtle into jail
My turtle is "blue"
Let somebody be ROS wants jail and my turtle
My turtle is fine without you
My love is "awesome"
While ok
Shout "Hello ROS!"
ROS wants somebody, my love
ROS taking my turtle

License

This project is licensed under the MIT License. See the full license here.

Acknowledgments

About

ROS 2 client library for the Rockstar programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages