This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Temporary cookie jar | |
tmpfile=$(mktemp) | |
cleanup() { | |
rm -rf "$tmpfile" | |
} | |
trap cleanup EXIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Prints all ROS specific environment variables used for building the package. Intended to be used for configuring IDE | |
# environment variables. | |
# | |
# Tested with ROS Noetic, ROS Melodic and ROS2 Foxy | |
# | |
# @author: Ashwin A Nayar | |
read -rd '' ROS2_VARS << EOL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file macrologger.hpp | |
* | |
* @brief Quick and simple logging for C++ projects | |
* | |
* @author David Rodrigues (primary author) | |
* @author Ashwin A Nayar | |
* | |
* Add compile flag -DLOG_LEVEL=<value> to set log level | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file Instrumentor.hpp | |
* | |
* @brief Basic Instrumentation Profiler for C++ | Macro-fied | |
* | |
* Upon execution of profile macro embedded source code, all the profiling data | |
* is dumped to a JSON file compatible with Chrome Tracing tool. The JSON file can | |
* then be loaded to chrome tracing (chrome://tracing) to visualise the data. | |
* | |
* @author TheCherno (primary author) |