MRPT
1.9.9
|
#include <mrpt/comms/nodelets.h>
#include <mrpt/math/TPose3D.h>
#include <chrono>
#include <cstdio>
#include <iostream>
#include <thread>
Go to the source code of this file.
Functions | |
void | thread_publisher () |
void | onNewMsg (const mrpt::math::TPose3D &p) |
void | onNewMsg2 (int idx, const mrpt::math::TPose3D &p) |
void | thread_subscriber () |
void | NodeletsTest () |
Variables | |
bool | nodelets_test_passed_ok = false |
const mrpt::math::TPose3D | p_tx (1.0, 2.0, 3.0, 0.2, 0.4, 0.6) |
[example-nodelets] More... | |
auto | dir = mrpt::comms::TopicDirectory::create() |
void NodeletsTest | ( | ) |
Definition at line 136 of file NodeletsTest_impl.cpp.
References thread_publisher(), and thread_subscriber().
Referenced by TEST().
void onNewMsg | ( | const mrpt::math::TPose3D & | p | ) |
Definition at line 60 of file NodeletsTest_impl.cpp.
References mrpt::math::TPose3D::asString().
Referenced by thread_subscriber().
void onNewMsg2 | ( | int | idx, |
const mrpt::math::TPose3D & | p | ||
) |
Definition at line 67 of file NodeletsTest_impl.cpp.
References mrpt::math::TPose3D::asString().
Referenced by thread_subscriber().
void thread_publisher | ( | ) |
Definition at line 29 of file NodeletsTest_impl.cpp.
Referenced by NodeletsTest().
void thread_subscriber | ( | ) |
Definition at line 75 of file NodeletsTest_impl.cpp.
References dir, nodelets_test_passed_ok, onNewMsg(), onNewMsg2(), and p_tx.
Referenced by NodeletsTest().
auto dir = mrpt::comms::TopicDirectory::create() |
Definition at line 27 of file NodeletsTest_impl.cpp.
Referenced by thread_publisher(), and thread_subscriber().
bool nodelets_test_passed_ok = false |
Definition at line 12 of file NodeletsTest_impl.cpp.
Referenced by TEST(), and thread_subscriber().
const mrpt::math::TPose3D p_tx(1.0, 2.0, 3.0, 0.2, 0.4, 0.6) |
[example-nodelets]
Referenced by thread_publisher(), and thread_subscriber().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |