Go to the documentation of this file.
35 #include <std_srvs/Empty.h>
36 #include <test_roscpp/TestEmpty.h>
37 #include <test_roscpp/TestArray.h>
50 g_pub = nh.
advertise<test_roscpp::TestEmpty>(
"test_star_inter", 0);
53 g_pub = nh.
advertise<test_roscpp::TestArray>(
"test_star_inter", 0);
64 int main(
int argc,
char** argv)
66 ros::init(argc, argv,
"publisher_for_star_subscriber");
69 g_pub = nh.
advertise<test_roscpp::TestEmpty>(
"test_star_inter", 0);
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ServiceServer advertiseService(AdvertiseServiceOptions &ops)
void publish(const boost::shared_ptr< M > &message) const
Publisher advertise(AdvertiseOptions &ops)
bool switchPublisherType(std_srvs::EmptyRequest &, std_srvs::EmptyResponse &)
void pubTimer(const ros::TimerEvent &)
Timer createTimer(Duration period, const TimerCallback &callback, bool oneshot=false, bool autostart=true) const
int main(int argc, char **argv)
test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:57