MRPT  1.9.9
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.

Referenced by thread_subscriber().

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.

Referenced by thread_subscriber().

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

◆ 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: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019