Is this typo? Chapter 4. minus sign seems not to be necessary?


I think the minus is not necessary in the following equation in Chapter 4.3.

Wrong) twist_object.angular.z = -error_x / 5000;
Correct) twist_object.angular.z = error_x / 5000;

What do you think? In fact, if I delete the minus, it works correct.


Hello @masanori_d_99

From what I can see from your post, it looks like the only difference will be the direction in which the robot turns. If this is not relevant for the exercise then yes, the minus sign is not necessary.


1 Like