- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- [SDC2150] Help to understand commands to send
[SDC2150] Help to understand commands to send
- marcusbarnet
- Topic Author
- Offline
Less
More
- Posts: 69
- Thank you received: 0
11 years 6 months ago #29526961
by marcusbarnet
[SDC2150] Help to understand commands to send was created by marcusbarnet
I\'m trying to control my SDC2150 2x20A controller via USB under Ubuntu; i can successfully send commands to the controller but i\'m not able to understand what kind of string command i have to send in order to let motors move forward and to reverse their rotation direction.
At the moment, in the sample program, i\'ve seen that there is this command:
However, when i use this, motors just move forward for few seconds and then stop.
Can you help me to understand what kind of commands i have to send, please?
Is there any documentation about the protocol to use?
I\'ve read the text file included in the libraries, but it wasn\'t very clear for me.
Thanks a lot!
At the moment, in the sample program, i\'ve seen that there is this command:
device.SetCommand(_GO, 1, 1))
However, when i use this, motors just move forward for few seconds and then stop.
Can you help me to understand what kind of commands i have to send, please?
Is there any documentation about the protocol to use?
I\'ve read the text file included in the libraries, but it wasn\'t very clear for me.
Thanks a lot!
Please Log in or Create an account to join the conversation.
- roboteq
11 years 6 months ago #29526965
by roboteq
Replied by roboteq on topic Re:[SDC2150] Help to understand commands to send
This is because of the watchdog.
If no new command is received within 1000ms (factory default), the motors stop.
You can either change/disable the watchdog, or repeat your commands within the timeout delay
If no new command is received within 1000ms (factory default), the motors stop.
You can either change/disable the watchdog, or repeat your commands within the timeout delay
Please Log in or Create an account to join the conversation.
- marcusbarnet
- Topic Author
- Offline
Less
More
- Posts: 69
- Thank you received: 0
11 years 6 months ago #29526967
by marcusbarnet
Replied by marcusbarnet on topic Re:[SDC2150] Help to understand commands to send
Thanks for your reply!
I\'d like to disable to watchdog, what i should do to do this?
It\'s an operating system feature, or i have to disable it directly on the controller firmware?
Can i use a while loop and always send the same command?
I\'d like to disable to watchdog, what i should do to do this?
It\'s an operating system feature, or i have to disable it directly on the controller firmware?
Can i use a while loop and always send the same command?
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- [SDC2150] Help to understand commands to send
Time to create page: 0.073 seconds