Page 1 of 1

Bug in ros_bubble_rob.cpp

Posted: 27 Jan 2014, 16:27
by fherrmann
Hello Coppelia,

there is a small bug in the ros_bubble_rob.cpp file.
The published vrep_common::JointSetStateData motorSpeeds will blow up endlessly.

Everytime it jumps into the while, the handles etc. will be appended to the existing message.

Line 122 - 148

Code: Select all

vrep_common::JointSetStateData motorSpeeds;
	while (ros::ok()&&simulationRunning)
	...
	motorSpeeds.handles.data.push_back(leftMotorHandle);
	motorSpeeds.handles.data.push_back(rightMotorHandle);
	...
	motorSpeedPub.publish(motorSpeeds);
Greets Felix

Re: Bug in ros_bubble_rob.cpp

Posted: 27 Jan 2014, 17:47
by coppelia
You are right! Thanks again for your help Felix.

Cheers