Comms latency
- pfs
- Topic Author
17 years 3 weeks ago #12627695
by pfs
Comms latency was created by pfs
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
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
Please Log in or Create an account to join the conversation.
- cosma
17 years 3 weeks ago #12628726
by cosma
Replied by cosma on topic Re:Comms latency
<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.
<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.
Please Log in or Create an account to join the conversation.
- pfs
- Topic Author
17 years 3 weeks ago #12629899
by pfs
Replied by pfs on topic Re:Comms latency
Thx!
If you allow me I would suggest to add this as a new feature in your firmware.
pfs
If you allow me I would suggest to add this as a new feature in your firmware.
pfs
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
Time to create page: 0.055 seconds