JetsonHacksNano / ServoKit

Install the Adafruit ServoKit Circuit Python library on the NVIDIA Jetson Nano Developer Kit
MIT License
58 stars 34 forks source link

[Question]Angle-Servo Moves but Continuous servo motor doesn't move #3

Open mhaboali opened 3 years ago

mhaboali commented 3 years ago

Describe the issue I have one servo motor is connected to the first channel and another continuous motor is connected to channel 2 to the pca_9685

I've set up this library on my Jetson Xavier Nx and I managed to command an angle-servo motor but when I've commanded a continuous servo motor, it didn't move.

NVIDIA Jetson Hardware

I"ve used this code

from adafruit_servokit import ServoKit
import board
import busio
import time
print("Initializing Servos")
Initializing Servos
i2c_bus0=(busio.I2C(board.SCL_1, board.SDA_1))
print("Initializing ServoKit")
Initializing ServoKit
kit = ServoKit(channels=16, address=0x41, i2c=i2c_bus0)

And when use this kit.servo[0].angle=30 the motor moves but when use this command kit.continuous_servo[1].throttle=0.5 the motor doesn't move.

Any help, please?

Sameed66 commented 3 years ago

I am facing the same issue... Did you find out any solution?

jakobjackson2016 commented 3 years ago

Bump. Were you able to figure out the issue?

mhaboali commented 3 years ago

Nope, I'd used the Arduino library