jsk-ros-pkg / jsk_robot

jsk-ros-pkg/jsk_robot
https://github.com/jsk-ros-pkg/jsk_robot
73 stars 97 forks source link

[Spot] Subscribed rate of images is very low via Sanshiro #1779

Closed sktometometo closed 1 year ago

sktometometo commented 1 year ago

Via sanshiro, image rate of BelKa is extremely low. With this, we cannot generate point cloud with depth_image_proc.

$ rostopic hz /spot/camera/hand_color/image
subscribed to [/spot/camera/hand_color/image]
no new messages
no new messages
average rate: 1.190
    min: 0.840s max: 0.840s std dev: 0.00000s window: 2
no new messages
no new messages
no new messages
no new messages
average rate: 0.343
    min: 0.840s max: 4.996s std dev: 2.07783s window: 3
knorth55 commented 1 year ago

how about compressed?

sktometometo commented 1 year ago

There is no compressed image topic for spot since the images are not published via image_transport.

k-okada commented 1 year ago

please use compressed image

◉ Kei Okada

2023年3月9日(木) 11:41 Koki Shinjo @.***>:

Via sanshiro, image rate is extremely low.

$ rostopic hz /spot/camera/hand_color/image subscribed to [/spot/camera/hand_color/image] no new messages no new messages average rate: 1.190 min: 0.840s max: 0.840s std dev: 0.00000s window: 2 no new messages no new messages no new messages no new messages average rate: 0.343 min: 0.840s max: 4.996s std dev: 2.07783s window: 3

— Reply to this email directly, view it on GitHub https://github.com/jsk-ros-pkg/jsk_robot/issues/1779, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADYNXDHWFFK3BKGWXEHM6DW3E7NPANCNFSM6AAAAAAVUQNLXA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

k-okada commented 1 year ago

please add to https://github.com/k-okada/jsk_robot/blob/spot_arm/jsk_spot_robot/jsk_spot_startup/launch/include/driver.launch#L75-L90

◉ Kei Okada

2023年3月9日(木) 11:44 Koki Shinjo @.***>:

There is no compressed image topic for spot since the images are not published via image_transport.

— Reply to this email directly, view it on GitHub https://github.com/jsk-ros-pkg/jsk_robot/issues/1779#issuecomment-1461184627, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADYNXFCGRPVLAJGC7CXEHLW3E7YLANCNFSM6AAAAAAVUQNLXA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sktometometo commented 1 year ago

I don't know why, but fixed.

$ rostopic hz /spot/camera/hand_color/image
subscribed to [/spot/camera/hand_color/image]
average rate: 4.426
    min: 0.191s max: 0.261s std dev: 0.03498s window: 3
average rate: 6.507
    min: 0.106s max: 0.261s std dev: 0.04319s window: 11
average rate: 6.978
    min: 0.106s max: 0.261s std dev: 0.03511s window: 19