8 #include <std_msgs/Int8MultiArray.h> 10 int main(
int argc,
char** argv)
16 std_msgs::Int8MultiArray data;
17 data.data.reserve(NUM_BYTES);
26 for(
size_t i = 0; i < NUM_BYTES; ++i)
28 data.data.push_back(start + i);
void publish(const boost::shared_ptr< M > &message) const
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
int main(int argc, char **argv)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)