2 #include "sensor_msgs/JointState.h"
9 pub =
nh.advertise<sensor_msgs::JointState>(
"/motor/states", 1);
14 void callback(
const sensor_msgs::JointState &_msg)
25 int main(
int argc,
char **argv)
27 ros::init(argc, argv,
"slave_node");
31 ros::Rate loop_rate(100000);
void callback(const sensor_msgs::JointState &_msg)
int main(int argc, char **argv)