Skip to content

Instantly share code, notes, and snippets.

View matthew-william-lock's full-sized avatar
🤖

Matthew Lock matthew-william-lock

🤖
View GitHub Profile
@bgromov
bgromov / test_spinner.cpp
Last active May 15, 2023 13:50
Demonstrates the use of AsyncSpinner and custom callback queue in ROS
#include <ros/ros.h>
#include <ros/spinner.h>
#include <ros/callback_queue.h>
#include <std_msgs/Empty.h>
#include <std_msgs/Bool.h>
boost::shared_ptr<ros::AsyncSpinner> g_spinner;
bool g_enable = false;
@lava
lava / hello_world.md
Last active March 2, 2024 17:22
Hello, world: Deep analysis of a shallow program.

Hello, world!

Please explain in detail what will happen if the following program is executed:

#include <iostream>

int main() {
    std::cout << "Hello, world!" << std::endl;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.