Functions | Variables
ServiceClient.cpp File Reference
#include <ros.h>
#include <std_msgs/String.h>
#include <rosserial_mbed/Test.h>
Include dependency graph for ServiceClient.cpp:

Go to the source code of this file.

Functions

int main ()
 

Variables

ros::Publisher chatter ("chatter", &str_msg)
 
ros::ServiceClient< Test::Request, Test::Response > client ("test_srv")
 
char hello [13] = "hello world!"
 
ros::NodeHandle nh
 
std_msgs::String str_msg
 

Function Documentation

◆ main()

int main ( )

Definition at line 19 of file ServiceClient.cpp.

Variable Documentation

◆ chatter

ros::Publisher chatter("chatter", &str_msg)

◆ client

ros::ServiceClient<Test::Request, Test::Response> client("test_srv")

◆ hello

char hello[13] = "hello world!"

Definition at line 17 of file ServiceClient.cpp.

◆ nh

Definition at line 9 of file ServiceClient.cpp.

◆ str_msg

std_msgs::String str_msg

Definition at line 14 of file ServiceClient.cpp.



rosserial_mbed
Author(s): Gary Servin
autogenerated on Wed Mar 2 2022 00:58:08