Functions | Variables
publisher_for_star_subscriber.cpp File Reference
#include <ros/ros.h>
#include <std_srvs/Empty.h>
#include <test_roscpp/TestEmpty.h>
#include <test_roscpp/TestArray.h>
Include dependency graph for publisher_for_star_subscriber.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
void pubTimer (const ros::TimerEvent &)
 
bool switchPublisherType (std_srvs::EmptyRequest &, std_srvs::EmptyResponse &)
 

Variables

ros::Publisher g_pub
 
int8_t type = 0
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 64 of file publisher_for_star_subscriber.cpp.

◆ pubTimer()

void pubTimer ( const ros::TimerEvent )

Definition at line 59 of file publisher_for_star_subscriber.cpp.

◆ switchPublisherType()

bool switchPublisherType ( std_srvs::EmptyRequest &  ,
std_srvs::EmptyResponse &   
)

Definition at line 42 of file publisher_for_star_subscriber.cpp.

Variable Documentation

◆ g_pub

Definition at line 39 of file publisher_for_star_subscriber.cpp.

◆ type

int8_t type = 0

Definition at line 40 of file publisher_for_star_subscriber.cpp.



test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Thu Nov 23 2023 04:02:03