Functions | Variables
mvsim-cli-topic.cpp File Reference
#include <mrpt/core/exceptions.h>
#include <mrpt/math/distributions.h>
#include <mrpt/math/ops_containers.h>
#include <mrpt/system/datetime.h>
#include <mvsim/Comms/Client.h>
#include <mvsim/mvsim-msgs/ObservationLidar2D.pb.h>
#include <mvsim/mvsim-msgs/TimeStampedPose.pb.h>
#include "mvsim-cli.h"
Include dependency graph for mvsim-cli-topic.cpp:

Go to the source code of this file.

Functions

static void callbackSubscribeTopicGeneric (const zmq::message_t &msg)
 
int commandTopic ()
 
static void echo_ObservationLidar2D (const std::string &data)
 
static void echo_TimeStampedPose (const std::string &data)
 
static int printCommandsTopic (bool showErrorMsg)
 
static int topicEcho ()
 
static int topicHz ()
 
static int topicList ()
 

Variables

const std::map< std::string, cmd_tcliTopicCommands
 

Function Documentation

◆ callbackSubscribeTopicGeneric()

static void callbackSubscribeTopicGeneric ( const zmq::message_t &  msg)
static

Definition at line 116 of file mvsim-cli-topic.cpp.

◆ commandTopic()

int commandTopic ( )

Definition at line 31 of file mvsim-cli-topic.cpp.

◆ echo_ObservationLidar2D()

static void echo_ObservationLidar2D ( const std::string &  data)
static

Definition at line 105 of file mvsim-cli-topic.cpp.

◆ echo_TimeStampedPose()

static void echo_TimeStampedPose ( const std::string &  data)
static

Definition at line 95 of file mvsim-cli-topic.cpp.

◆ printCommandsTopic()

int printCommandsTopic ( bool  showErrorMsg)
static

Definition at line 241 of file mvsim-cli-topic.cpp.

◆ topicEcho()

int topicEcho ( )
static

Definition at line 133 of file mvsim-cli-topic.cpp.

◆ topicHz()

int topicHz ( )
static

Definition at line 162 of file mvsim-cli-topic.cpp.

◆ topicList()

int topicList ( )
static

Definition at line 50 of file mvsim-cli-topic.cpp.

Variable Documentation

◆ cliTopicCommands

const std::map<std::string, cmd_t> cliTopicCommands
Initial value:
= {
{"list", cmd_t(&topicList)},
{"echo", cmd_t(&topicEcho)},
{"hz", cmd_t(&topicHz)},
}
static int topicEcho()
static int topicHz()
std::function< int(void)> cmd_t
Definition: mvsim-cli.h:74
static int topicList()

Definition at line 25 of file mvsim-cli-topic.cpp.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22