-
Notifications
You must be signed in to change notification settings - Fork 41
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
HWT906 not showing any data #45
Comments
Press Ctrl+C to stop enumeration and see the report WITMOTION UART MESSAGE ENUMERATOR BY TWDRAGON Acquired at Rabu, 06 November 2024 22.19.29 WIB ID Qty Description 0x51 2 Accelerations
Total messages: 12 i try message enumator |
@musstt you should disable anything except Accelerations in the IMU ROS message builder, otherwise it will never consider the data structure complete, so: imu_publisher:
topic_name: /imu
frame_id: imu
use_native_orientation: false
measurements:
acceleration:
enabled: true
covariance: [ 0.0088, 0, 0,
0, 0.0550, 0,
0, 0, 0.0267 ]
angular_velocity:
- enabled: true
+ enabled: false
covariance: [ 0.1199, 0, 0,
0, 0.5753, 0,
0, 0, 0.0267 ]
orientation:
- enabled: true
+ enabled: false
covariance: [ 0.0190, 0, 0,
0, 0.0120, 0,
0, 0, 0.0107 ] |
what about the baud rate and polling interval parameters? |
and another publisher? should i change the enable parameters to false? |
musthofa@musthofa-ubuntu:~$ rosrun witmotion_ros message-enumerator -d ttyUSB0 -b 19200 -p 50 WITMOTION UART MESSAGE ENUMERATOR BY TWDRAGON Acquired at Rabu, 06 November 2024 22.30.38 WIB ID Qty Description 0x51 2 Accelerations
Total messages: 7 musthofa@musthofa-ubuntu:~$ rosrun witmotion_ros message-enumerator -d ttyUSB0 -b 19200 -p 50 WITMOTION UART MESSAGE ENUMERATOR BY TWDRAGON Acquired at Rabu, 06 November 2024 22.32.15 WIB ID Qty Description 0x51 2 Accelerations
Total messages: 3 i try another message enumator, but it seems like not consistent |
@musstt these parameters should be set up according to the actual settings of your device. Now I see only IMU and Magnetometer publishers should be enabled. Update For now it seems |
@musstt I recommend you reduce the baudrate to 115200, adjust the polling rate to 10 ms, and output rate to 100 Hz, and then set up the bandwidth accordingly. 1 KHz, as I see, will be less accurate (due to the Kalman filter) and redundant for most applications. |
@musstt sorry but I need to close this issue here, as your device is working and there are no bugs reported. Please, if you need still to reach me, do not hesitate to open a discussion on ROS Discourse mentioning me as |
Wait, could you tell me what parameters enable should be true or false, i cant figure it out although i see from the windows application, sorry |
@musstt you should set up |
@musstt once you see them in the Content section of the official app, then you should enable them in the config |
Thank you so much!!!!! It works!!!!! |
this is my config.yaml file
i dont know what parameter need to be set true and false
The text was updated successfully, but these errors were encountered: