Closed man4567890 closed 2 years ago
Look in js/watney.js - you want to catch Q / W keyDown / keyUp, add lookLR near sendKeys and finally actually send it to sendCommand endpoint. In python you need to parse those values and call the servo controller
Hi, Cool project, but I have a pan tilt servo mounted on the camera, where would the changes be in the code for using Q and W for left and right please, I connected the additional servo pin to GPIO3 and made changes in rover.conf
and added the new function to servocontroller.py
But I do not know what changes are needed in the UI code, please