Functions | Variables
pilz_modbus_client_node.cpp File Reference
#include <algorithm>
#include <numeric>
#include <stdlib.h>
#include <ros/ros.h>
#include <pilz_utils/get_param.h>
#include <prbt_hardware_support/libmodbus_client.h>
#include <prbt_hardware_support/pilz_modbus_client.h>
#include <prbt_hardware_support/param_names.h>
#include <prbt_hardware_support/pilz_modbus_client_exception.h>
#include <prbt_hardware_support/modbus_topic_definitions.h>
#include <prbt_hardware_support/modbus_api_spec.h>
Include dependency graph for pilz_modbus_client_node.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Read requested parameters, start and initialize the prbt_hardware_support::PilzModbusClient. More...
 

Variables

static constexpr int32_t MODBUS_CONNECTION_RETRIES_DEFAULT { -1 }
 
static constexpr double MODBUS_CONNECTION_RETRY_TIMEOUT_S_DEFAULT { 1.0 }
 
static constexpr int MODBUS_RESPONSE_TIMEOUT_MS { 20 }
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Read requested parameters, start and initialize the prbt_hardware_support::PilzModbusClient.

Definition at line 41 of file pilz_modbus_client_node.cpp.

Variable Documentation

◆ MODBUS_CONNECTION_RETRIES_DEFAULT

constexpr int32_t MODBUS_CONNECTION_RETRIES_DEFAULT { -1 }
static

Definition at line 32 of file pilz_modbus_client_node.cpp.

◆ MODBUS_CONNECTION_RETRY_TIMEOUT_S_DEFAULT

constexpr double MODBUS_CONNECTION_RETRY_TIMEOUT_S_DEFAULT { 1.0 }
static

Definition at line 33 of file pilz_modbus_client_node.cpp.

◆ MODBUS_RESPONSE_TIMEOUT_MS

constexpr int MODBUS_RESPONSE_TIMEOUT_MS { 20 }
static

Definition at line 34 of file pilz_modbus_client_node.cpp.



prbt_hardware_support
Author(s):
autogenerated on Wed Nov 25 2020 03:10:38