Skip to content

Instantly share code, notes, and snippets.

@jdumont0201
Created May 4, 2018 11:12
Show Gist options
  • Save jdumont0201/a69d163f951a54932561c4a573f7984f to your computer and use it in GitHub Desktop.
Save jdumont0201/a69d163f951a54932561c4a573f7984f to your computer and use it in GitHub Desktop.
Minimal ROS node
#include <ros/ros.h>
int main(int argc, char** argv) {
ros::init(argc, argv, "Hello, World");
ros::NodeHandle nh; ROS_INFO("Hello, World!");
ros::spinOnce(); return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment