Community

icon-forum Forum/FAQ
icon-youtube Roboteq TV
roboteq-twitter Follow Us

Controller finder

Motor Type :
Max Amps (A) :
Max Volts (V) :
Encoder In
USB
CAN

Home Support Online Forum
Roboteq Online Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Favoured: 0
TOPIC: Comms latency
#12627695
pfs (Visitor)
Posts: 2
User Offline
Comms latency 6 Years, 8 Months ago  
Hi!

I'm commanding the AX3500 through the serial port. I've been sending commands and telemetry requests independently (as described in the manual). The problem is that if we sum up all communication delays per each command (i.e. sending a speed command, reading current speed, current current, etc.) I can't manage to have a proper control loop.

Is there any way of fetching all telemetry data from a single request? I think this would reduce the latency of the system

Thanks,
pfs

 
Logged Logged  
  The administrator has disabled public write access.
#12628726
cosma (Visitor)
Posts: 0
User Offline
Re:Comms latency 6 Years, 8 Months ago  
<P style="MARGIN: 0px">There is no way to get all telemetry information in a single query.
<P style="MARGIN: 0px">
<P style="MARGIN: 0px">The best way around your problem is to interleave commands (if/when they need to be issued) and queries.
<P style="MARGIN: 0px">
<P style="MARGIN: 0px">Example:
<P style="MARGIN: 0px">
<P style="MARGIN: 0px">command
<P style="MARGIN: 0px">query amps
<P style="MARGIN: 0px">command
<P style="MARGIN: 0px">query temp
<P style="MARGIN: 0px">command
<P style="MARGIN: 0px">query voltage
<P style="MARGIN: 0px">...
<P style="MARGIN: 0px">
<P style="MARGIN: 0px">Information that does not change often, such as temperature or voltage, can be queried even less often.
 
Logged Logged  
  The administrator has disabled public write access.
#12629899
pfs (Visitor)
Posts: 0
User Offline
Re:Comms latency 6 Years, 8 Months ago  
Thx!

If you allow me I would suggest to add this as a new feature in your firmware.

pfs

 
Logged Logged  
  The administrator has disabled public write access.
Go to top