Simple code to control the motors with a joystick. Allows for running forward with both motors running and turning is achieved by using a motor on each side. Using a map function the velocity of the motor is scalable with the tilt of the joystick (the greater the tilt the more power) although this effect is not very visible on the movie.
The 9 volt battery we tried to use proved underpowered therefore as a power supply we used an arduino board.
The project was created as a part of the Basics of Mechatronics course at AGH University of Science and Technology in Kraków. Authors: Aleksander S.; Rafał W.; Jakub.Z.; Marcin S.; Maciej S.; Maciej.S; Piotr W.; Ibrahim I.; Jakub W.; Borys D.; Jakub.S.; Katarzyna H.; Piotr B.; Tomasz S.