Skip to content

Instantly share code, notes, and snippets.

View LeDSantos's full-sized avatar

Letícia dos Santos LeDSantos

View GitHub Profile
@tdenewiler
tdenewiler / CMakeLists.txt
Last active July 17, 2024 02:33
ROS Synchronization Example
cmake_minimum_required(VERSION 2.8.3)
project(sync_example)
find_package(catkin REQUIRED COMPONENTS message_filters roscpp sensor_msgs)
catkin_package(
CATKIN_DEPENDS message_filters roscpp sensor_msgs
)
include_directories(${catkin_INCLUDE_DIRS})
@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;