How to extract time?
Hi,
I am currently using a Boe-Bot with·BS2sx microcontroller. I need to calculate the point to point·velocity using distance/time.
I am able to calculate the distance using a localizer. Due to the localizer, the encoders are not used.
However, I am facing a problem with the time information.
Usually, there is·an internal clock in a·microcontroller.
Is there any relevant function or command to extract the time taken·for the Boe-Bot to travel from one point to another?
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I am currently using a Boe-Bot with·BS2sx microcontroller. I need to calculate the point to point·velocity using distance/time.
I am able to calculate the distance using a localizer. Due to the localizer, the encoders are not used.
However, I am facing a problem with the time information.
Usually, there is·an internal clock in a·microcontroller.
Is there any relevant function or command to extract the time taken·for the Boe-Bot to travel from one point to another?
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
Did you build the localizer or buy it? I'd like to have a localizer.
I'm using the Propeller on my robot. For the Propeller you calculate time with the System Counter register named cnt.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
WGX Can you tell me what you have achieved so far?
WGX Can you tell me what you have achieved so far?