sudo apt-get update sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential
sudo apt-get install qt5-default pyqt5-dev pyqt5-dev-tools
sudo rosdep init rosdep update
sudo apt-get update sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential
sudo apt-get install qt5-default pyqt5-dev pyqt5-dev-tools
sudo rosdep init rosdep update
* * * * * eval "export $(egrep -z DBUS_SESSION_BUS_ADDRESS /proc/$(pgrep -u $LOGNAME gnome-session)/environ)"; /usr/bin/notify-send "Foo" | |
source: https://askubuntu.com/a/346580 |
alias.find-svn-revision=!git log --name-status --grep "git-svn-id.*@$1" # |
``` | |
cmake src/<package_name>/ --graphviz=foo.dot | |
xdot foo.dot | |
``` | |
Set options for better exclude by adding a file src/<package_name>/CMakeGraphVizOptions.cmake with | |
``` | |
set(GRAPHVIZ_EXTERNAL_LIBS FALSE) | |
set(GRAPHVIZ_IGNORE_TARGETS "gtest;gmock;unittest*;integrationtest*") | |
``` |
Building your workspace with -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
which will create a file compile_commands.json
in your build/<pkg>
directory containing all compiler calls.
colcon build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
See images below
#include <iostream> | |
#include <boost/asio.hpp> | |
using boost::asio::ip::udp; | |
// Build using g++ main.cpp -L /usr/include/boost -pthread | |
int main(int argc, char* argv[]) | |
{ | |
try |