This topic has 1 reply, 2 voices, and was last updated 2 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
feel free to call us +919.557.9162 sdr@sdrobots.com
Tagged: Roboteq
This topic has 1 reply, 2 voices, and was last updated 2 years, 9 months ago by SuperDroid.
Hello,
I am trying to send !VAR command values from nvidia to roboteq drive controller.
Successfully can send !EX and !MG ASCII strings but not able to send ‘!VAR 1 250’
Could you please help me with this issue.
I have attached the code below:
import time
import serial
ser = serial.Serial(
port=”/dev/ttyTHS1″,
baudrate=115200,
bytesize=serial.EIGHTBITS,
parity=serial.PARITY_NONE,
stopbits=serial.STOPBITS_ONE,
)
command = ‘!EX’ +’ \r’ //Command goes through and activates E-Stop
ser.write(command.encode())
print(“E-Stop ON”)
command = ‘!VAR 1 250′ +’ \r’ //Not able to send this command
ser.write(command.encode())
print(“Forward”)
Hello,
Unfortunately, we are not familiar with this command. This question is probably better for the RoboteQ forum.
You must be logged in to reply to this topic.
©2024 SDRobots.com | All rights reserved.