You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quebeh edited this page Mar 25, 2023
·
2 revisions
Welcome to the Hexagone wiki!
Hexagone was not meant for a library. The resources on this repo DOES have some usable classes.
(This was ran on an NVIDIA Jetson Nano Developer Kit B01, with python3.8)
Quick start
Make sure you have Python version 3.7+.
Install cv2 and adafruit_pca9685 (required for PCA9685 control)
fromhardwareimportESC, Servo, getPCApca=getPCA()
esc=ESC(pca.channels[15]) # Replace with the esc channel usedservo=Servo(pca.channels[0]) # Replace with servo channel usedesc.speed=-1# Backwardsesc.speed=0# Stopesc.speed=1# Forwardservo.turn(90) # Turn to a certain angle