Skip to content

Instantly share code, notes, and snippets.

@lkw303
lkw303 / gist:219972eaaf4e7955eae35d4d87d0f3e8
Created November 10, 2023 08:37
Gdb trace during RMF Perform Action Cancellation
#0 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_get_use_count (this=0x21a0) at /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:216
#1 0x00007ffff5c7e819 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_lock_nothrow (this=0x21a0)
at /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:258
#2 0x00007ffff5c7e788 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count (this=0x7fffce1fa148, __r=...)
at /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:883
#3 0x00007ffff56099d9 in std::__shared_ptr<rmf_fleet_adapter::agv::RobotUpdateHandle::ActionExecution::Implementation::Data, (__gnu_cxx::_Lock_policy)2>::__shared_ptr (this=0x7fffce1fa140, __r=...)
at /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1353
#4 0x00007ffff560999d in std::shared_ptr<rmf_fleet_adapter::agv::RobotUpdateHandle::ActionExecution::
repositories:
cmd_api_msgs:
type: git
url: https://gitlab.com/ROSI-AP/rosi-ap_ros2-iafpp/wp3-3/cmd_api_msgs.git
version: main
rmf_data_msgs:
type: git
url: https://gitlab.com/ROSI-AP/rosi-ap_ros2-iafpp/wp3-3/rmf_data_msgs.git
version: main
rmf_workcell_tools:
@lkw303
lkw303 / rmf_robot_sim_gazebo_plugins build error
Created December 9, 2022 06:26
rmf_robot_sim_gazebo_plugins build error: no such header file
Starting >>> rmf_traffic_examples
--- stderr: rmf_robot_sim_gz_plugins
In file included from /home/kai/rmf_humble_ws/src/rmf/rmf_simulation/rmf_robot_sim_gz_plugins/src/TeleportIngestor.cpp:23:
In file included from /usr/include/ignition/plugin1/ignition/plugin/Register.hh:18:
In file included from /usr/include/ignition/plugin1/gz/plugin/Register.hh:22:
/usr/include/ignition/plugin1/gz/plugin/detail/Register.hh:28:10: fatal error: 'gz/utilities/SuppressWarning.hh' file not found
#include <gz/utilities/SuppressWarning.hh>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kai/rmf_humble_ws/src/rmf/rmf_simulation/rmf_robot_sim_gz_plugins/src/TeleportDispenser.cpp:21:
In file included from /usr/include/ignition/plugin1/ignition/plugin/Register.hh:18:
@lkw303
lkw303 / ROS_NeoPixel.ino
Created January 15, 2020 02:43
Controlling Neopixel via ROS
/*
rosserial Servo Control Example
This sketch demonstrates the control of hobby R/C servos
using ROS and the arduiono
For the full tutorial write up, visit
www.ros.org/wiki/rosserial_arduino_demos
For more information on the Arduino Servo Library