This file contains hidden or 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
| diff --git a/demo_nodes_cpp/src/topics/listener.cpp b/demo_nodes_cpp/src/topics/listener.cpp | |
| index 454f896..aa81a66 100644 | |
| --- a/demo_nodes_cpp/src/topics/listener.cpp | |
| +++ b/demo_nodes_cpp/src/topics/listener.cpp | |
| @@ -14,6 +14,7 @@ | |
| #include <iostream> | |
| #include <memory> | |
| +#include <vector> | |
This file contains hidden or 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
| #include <chrono> | |
| using std::chrono_literals::operator ""h; | |
| constexpr double operator "" _ping(unsigned long long ping) | |
| { | |
| return double(ping); | |
| } | |
| constexpr double operator "" pong(unsigned long long pong) |
This file contains hidden or 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
| #include <string> | |
| #include <vector> | |
| struct NodeBaseIface { | |
| virtual std::string get_name() = 0; | |
| }; | |
| struct NodeBase : public NodeBaseIface { | |
| explicit NodeBase(std::string name) : name_(name) {} | |
| virtual std::string get_name() {return name_;} |
This file contains hidden or 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
| repositories: | |
| ament/ament_cmake: | |
| type: git | |
| url: https://github.com/ament/ament_cmake.git | |
| version: master | |
| ament/ament_index: | |
| type: git | |
| url: https://github.com/ament/ament_index.git | |
| version: master | |
| ament/ament_lint: |
This file contains hidden or 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
| repositories: | |
| ament/ament_cmake: | |
| type: git | |
| url: https://github.com/ament/ament_cmake.git | |
| version: 6b3f5b7155712b0b3208250f30d73b45f5b079ec | |
| ament/ament_index: | |
| type: git | |
| url: https://github.com/ament/ament_index.git | |
| version: d4a45a6e03d44883cc12e4ded80e9252e8706557 | |
| ament/ament_lint: |
This file contains hidden or 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
| #include <iostream> | |
| #include "rclcpp/rclcpp.hpp" | |
| #include <memory> | |
| using rclcpp::parameter_client::AsyncParametersClient; | |
| rclcpp::node::Node::SharedPtr node; | |
| void spin() | |
| { |
This file contains hidden or 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
| repositories: | |
| ament/ament_cmake: | |
| type: git | |
| url: https://github.com/ament/ament_cmake.git | |
| version: fb07c964b0eb8f062225d23ca68510dfe0dee3a9 | |
| ament/ament_index: | |
| type: git | |
| url: https://github.com/ament/ament_index.git | |
| version: da6a5f331eb8d0f2c250af6cdac5da7ec0a06e15 | |
| ament/ament_lint: |
This file contains hidden or 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
| --- ASCIIDOCTORJ_HOME=/Users/william/.gvm/asciidoctorj | |
| +++ (clipboard) | |
| @@ -4,6 +4,7 @@ | |
| COMMAND_MODE=unix2003 | |
| CRASH_HOME=/Users/william/.gvm/crash/current | |
| DISPLAY=/private/tmp/com.apple.launchd.vg8pbx8aEZ/org.macosforge.xquartz:0 | |
| +DYLD_LIBRARY_PATH=/Users/william/rti_connext_dds-5.2.0/lib/: | |
| EDITOR='subl -w' | |
| GAIDEN_HOME=/Users/william/.gvm/gaiden/current | |
| GLIDE_HOME=/Users/william/.gvm/glide/current |
This file contains hidden or 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
| --- #! /usr/bin/env python | |
| +++ (clipboard) | |
| @@ -1,10 +1,34 @@ | |
| #! /usr/bin/env python | |
| # coding=utf-8 | |
| +# The MIT License (MIT) | |
| +# | |
| +# Copyright (c) 2010, 2011, 2012, 2013, 2014 Ilya Kulakov | |
| +# |
This file contains hidden or 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
| void create_subscription(..., std::function<void()> callback); | |
| void create_subscription(..., std::function<void(const T & message)> callback); | |
| create_subscription(..., []() -> void {}); // This is an ambiguous call on Windows. |