pioneers / pimulator-js

Portable robotics simulator for the Pioneers in Engineering robotics kit (JavaScript edition)
3 stars 1 forks source link

[Robot] Move Line sensor #78

Closed master-puller closed 3 years ago

master-puller commented 3 years ago

Fixed a critical issue with the line-following sensor

The issue was: The line sensor was in line with the wheel center Changes: Offset line sensor, add rotation code into the Sensor.js file, and fix representation in the html template

76 does not make specific offsets for each robot, but makes line-following much easier and robust.