- Posts: 12
- Thank you received: 2
yes, I checked, it works as expected, the upper frequency depends on the parameter PRU_BASEFREQ 40000 // PRU Base thread ISR update frequency (hz)Скотта пост = 311675 идентификатор пользователя = 24854
xaxexa пост=311475 идентификатор пользователя=40489Проверьте github pls
remora cpp
Спасибо за ваши усилия по запуску счетчика частоты аппаратного модуля QDC. Я проверю код и объединю с главной веткой. Работает ли он так, как вы ожидали? т. е. диапазон частот и т. д. Оптоэлектронные преобразователи ограничат верхнюю частоту.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It would be interesting to update the load modules, to put the QDC module in the servo thread. Given that the counting is done in hardware there is no need to update faster than the servo thread frequency. It might help with the frequency error as well.
Скотта пост = 311675 идентификатор пользователя = 24854
xaxexa пост=311475 идентификатор пользователя=40489Проверьте github pls
remora cpp
Спасибо за ваши усилия по запуску счетчика частоты аппаратного модуля QDC. Я проверю код и объединю с главной веткой. Работает ли он так, как вы ожидали? т. е. диапазон частот и т. д. Оптоэлектронные преобразователи ограничат верхнюю частоту.
yes, I checked, it works as expected, the upper frequency depends on the parameter PRU_BASEFREQ 40000 // PRU Base thread ISR update frequency (hz)
at servo flow frequency of 40 kHz, frequency error from 1-500 = 0-5 Hz
from 500-1000 = 0-25
from 1000-2000 = ~50
if you increase the servo flow frequency, the error will be less
after some time I could record a video with a demonstration and changing the frequency of the base thread
Thank you very much for your great work
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.