I missed the github class so here it is the good’old zip
Here’s the link to the repo, you’re welcome to contribute ;)
There are still a couple of enhancements on the list:
- real metrics and scale
- connect to motor encoders
- record a path on the virtual world and let the real robot follow it
- become real simulator of the arduino code used in our robotics workshops
The video is reproduced a lot faster than the program really performs :p
The program basically maps joystick values X and Y to a differential drive system where two motors are used to drive a robot.
There is also a representation of a robot and its path according to the motors differential rotation.
The joystick program was based on a program entitled ‘JoystickSimulation’ by: Vince Thompson
The robot program was based on a program entitled ‘Kephera Simulator’ by Adam Matic of Croatia