MRPT  2.0.4
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>

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

◆ onNewMsg()

void onNewMsg ( const mrpt::math::TPose3D p)

◆ onNewMsg2()

void onNewMsg2 ( int  idx,
const mrpt::math::TPose3D p 
)

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

◆ thread_subscriber()

void thread_subscriber ( )

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)



Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sun Jul 19 17:54:30 UTC 2020