MRPT  1.9.9
Functions | Variables
NodeletsTest_impl.cpp File Reference
#include <mrpt/comms/nodelets.h>
#include <mrpt/math/TPose3D.h>
#include <chrono>
#include <cstdio>
#include <iostream>
#include <thread>
Include dependency graph for NodeletsTest_impl.cpp:
This graph shows which files directly or indirectly include this file:

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()
 

Function Documentation

◆ NodeletsTest()

void NodeletsTest ( )
Examples:
comms_nodelets_example/NodeletsTest_impl.cpp.

Definition at line 136 of file NodeletsTest_impl.cpp.

References thread_publisher(), and thread_subscriber().

Referenced by TEST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onNewMsg()

void onNewMsg ( const mrpt::math::TPose3D p)
Examples:
comms_nodelets_example/NodeletsTest_impl.cpp.

Definition at line 60 of file NodeletsTest_impl.cpp.

References mrpt::math::TPose3D::asString().

Referenced by thread_subscriber().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onNewMsg2()

void onNewMsg2 ( int  idx,
const mrpt::math::TPose3D p 
)
Examples:
comms_nodelets_example/NodeletsTest_impl.cpp.

Definition at line 67 of file NodeletsTest_impl.cpp.

References mrpt::math::TPose3D::asString().

Referenced by thread_subscriber().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ thread_publisher()

void thread_publisher ( )
Examples:
comms_nodelets_example/NodeletsTest_impl.cpp.

Definition at line 29 of file NodeletsTest_impl.cpp.

References dir, and p_tx.

Referenced by NodeletsTest().

Here is the caller graph for this function:

◆ thread_subscriber()

void thread_subscriber ( )
Examples:
comms_nodelets_example/NodeletsTest_impl.cpp.

Definition at line 75 of file NodeletsTest_impl.cpp.

References dir, nodelets_test_passed_ok, onNewMsg(), onNewMsg2(), and p_tx.

Referenced by NodeletsTest().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ dir

Definition at line 27 of file NodeletsTest_impl.cpp.

Referenced by thread_publisher(), and thread_subscriber().

◆ nodelets_test_passed_ok

bool nodelets_test_passed_ok = false
Examples:
comms_nodelets_example/NodeletsTest_impl.cpp.

Definition at line 12 of file NodeletsTest_impl.cpp.

Referenced by TEST(), and thread_subscriber().

◆ p_tx

const mrpt::math::TPose3D p_tx(1.0, 2.0, 3.0, 0.2, 0.4, 0.6)

[example-nodelets]

Examples:
comms_nodelets_example/NodeletsTest_impl.cpp.

Referenced by thread_publisher(), and thread_subscriber().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7e629e01a Sat Dec 14 00:05:55 2019 +0100 at sáb dic 14 00:15:10 CET 2019