Friday, April 5, 2019

AM- 1 hr 30 min- Deciphering PS2 C++ code...

April 5, 2019

This is what we did today:
Today, we tried out the Arduino code from last time. It took us a while to get back to where we were because we forgot which wires went to which pins. Once we got it, the light would blink and when it connected to the controller, it would not blink. However, Benny found a better code by watching a helpful YouTube video. In the description, the person links you to their website where you can get the PS2 library and the example code. The example code provided much more results than the other one. In regards to how far we got, the Serial Monitor prints "Unknown  Controller," which is an issue because it should print "Dual Shock Controller," or have similar results to the controller in the video because they are the same. Most of the time, we spent trying to debug the "Unknown Controller" problem.

Next Steps:

  • Figure out how to get the program to recognize the controller
  • Have the program read the inputs
  • Design/Mount the camera to the Donkey Car

No comments:

Post a Comment