Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Massive latency in HWT906 with dev board and USBC connection. #24

Open
FPSychotic opened this issue Apr 15, 2023 · 5 comments
Open

Massive latency in HWT906 with dev board and USBC connection. #24

FPSychotic opened this issue Apr 15, 2023 · 5 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request question Further information is requested

Comments

@FPSychotic
Copy link

FPSychotic commented Apr 15, 2023

Tested sensor

<sensor model, case type, connection type>
HWT906 with dev board
<machine, architecture, CPU, kernel>
Jetson Orin NX , ARM64,
List of tested modes
ROS driver,

list or table of tested baudrates,

921600 is the only that works by default
frequencies,
polling rates,
any, 5 to 50ms

Always massive latency of 40sec or more.
Tested native orientatation true or false, rc clock true or false, always that massive latency when work.

IMU static TF is not published , please add a TF publisher in the node.

https://github.com/yowlings/wit_node after change the bauds in the code it works at 1000hz. Maybe you could check why is working and not yours.

Thanks.

@twdragon
Copy link
Collaborator

@FPSychotic TF information should not be published by IMU driver, you should add the transform publisher node in your launch file declaring the installed position of your sensor.

921600 is the only that works by default

If this baudrate is set up on the sensor board, the Qt backend cannot access the sensor. Can you change this setting of your sensor to 115200 baud using the official Windows application, and then retry?

after change the bauds in the code it works at 1000hz.

Do you know what are the acquisition rates your sensor really supports? Does it really have 1 KHz acquisition frequency?

What do you mean the delay? You wait 40s and then the messages start being published? Or the sensor starts throw out the data after restart? Are the timestamps of the published IMU messages corresponding to the real time or they are delayed?

@FPSychotic
Copy link
Author

FPSychotic commented Apr 15, 2023 via email

@FPSychotic
Copy link
Author

FPSychotic commented Apr 15, 2023

The timestamps are in sync with the system ones, they are correct, but the readings take that time in arrive.
Please find attached picture you can see the wit IMU timestamp, and the livox's imu timestamp as comparation.
As maybe relevant info I use ptpd to synchronize the ROS system, in example with the lidar via Ethernet.

IMG_20230415_232750

@FPSychotic
Copy link
Author

FPSychotic commented Apr 15, 2023

after change from windows app to 115200 it works at 200hz. Won't work at 1khz. Won't work any baudrate or poll rate above that.
would be nice cant get full functionality at 1000hz , thanks.

@twdragon
Copy link
Collaborator

@FPSychotic I will register it as a feature request. Can we also try to find the documentation about the operational codes to set the proper acquisition frequency above 200 Hz? Our current setup has no proper rates and opcodes to document, so we cannot build the real backward compatible library for your given sensor.

Anyhow, the first thing we can try is to set the acquisition rate for the given baudrate 115200 baud, it could work. However, we need the sensor opcode documentation and it will be very good if you could share your own, once you have it.

@twdragon twdragon added documentation Improvements or additions to documentation enhancement New feature or request question Further information is requested labels Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants