Tagged: 

This topic has 1 reply, 2 voices, and was last updated 2 years, 10 months ago by SuperDroid.

  • Author
    Posts
  • #8705
     scoutingrobot
    Participant

    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”)

    • This topic was modified 2 years, 10 months ago by scoutingrobot.
    #8707
     SuperDroid
    Keymaster

    Hello,

    Unfortunately, we are not familiar with this command. This question is probably better for the RoboteQ forum.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Login Register

©2024 SDRobots.com | All rights reserved.

Log in with your credentials

or    

Forgot your details?

Create Account