We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac8a65e commit 5d406ecCopy full SHA for 5d406ec
examples/track_heading/src/robot.h
@@ -22,7 +22,7 @@ class RobotController : public Process, public AgentInterface {
22
counter = 0;
23
}
24
track_velocity(20,30*sin(desired_heading-angle()) - 100*angular_velocity());
25
- label(std::to_string((int) (2*desired_heading/M_PI)) + " pi",15,-15);
+ label(std::to_string(((int) (2*desired_heading/M_PI))/2.0) + " pi",15,-15);
26
27
void stop() {}
28
0 commit comments