I'm failing to understand what's the problem in here
I'm creating a program similar to the rosBubbleRob as a method to interact with ROS
Code: Select all
ros::ServiceClient client_enablePublisher=node.serviceClient<vrep_common::simRosEnablePublisher>("/vrep/simRosEnablePublisher");
vrep_common::simRosEnablePublisher pubtest;
pubtest.request.topicName="leftMotor";
pubtest.request.queueSize=1000;
pubtest.request.streamCmd=simros_strmcmd_get_joint_state;
pubtest.request.auxInt1=leftMotorHandle;
everytime I run the run the application it just doesn't give me the effectivetopicname when I tried to cout the response
is there something that is missing in my code ?
do I need to fill the request for the auxInt2 and the auxString ?