osrf / rvizweb

RVizWeb: RViz on the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no depth cloud shown on web

chuan9 opened this issue · comments

@jubeira @chapulina
hi, all
This project is great to show ros on web. I tried this project and most of them can work but two feature: Point cloud2 and Depth cloud. Point cloud is in progress AFA, will you have have a look on depth cloud?
The log is as bellow:

bowen@amp1:~/ws$ roslaunch rvizweb rvizweb.launch depth_cloud:=true
... logging to /home/bowen/.ros/log/9890dd46-d343-11ea-95b0-1c697a086611/roslaunch-amp1-18035.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://amp1:45519/

SUMMARY
========

PARAMETERS
 * /depthcloud_encoder/depth: /camera/depth/ima...
 * /depthcloud_encoder/rgb: /camera/rgb/image...
 * /rosapi/params_glob: [*]
 * /rosapi/services_glob: [*]
 * /rosapi/topics_glob: [*]
 * /rosbridge_websocket/address: 0.0.0.0
 * /rosbridge_websocket/authenticate: False
 * /rosbridge_websocket/bson_only_mode: False
 * /rosbridge_websocket/delay_between_messages: 0
 * /rosbridge_websocket/fragment_timeout: 600
 * /rosbridge_websocket/max_message_size: None
 * /rosbridge_websocket/params_glob: [*]
 * /rosbridge_websocket/port: 9090
 * /rosbridge_websocket/retry_startup_delay: 5
 * /rosbridge_websocket/services_glob: [*]
 * /rosbridge_websocket/topics_glob: [*]
 * /rosbridge_websocket/unregister_timeout: 10
 * /rosbridge_websocket/use_compression: False
 * /rosbridge_websocket/websocket_external_port: None
 * /rosbridge_websocket/websocket_ping_interval: 0
 * /rosbridge_websocket/websocket_ping_timeout: 30
 * /rosdistro: melodic
 * /rosversion: 1.14.5
 * /rvizweb/global_config: <...>
 * /web_video_server/port: 9999
 * /web_video_server/type: vp8

NODES
  /
    depthcloud_encoder (depthcloud_encoder/depthcloud_encoder_node)
    interactive_marker_proxy (interactive_marker_proxy/proxy)
    rosapi (rosapi/rosapi_node)
    rosbridge_websocket (rosbridge_server/rosbridge_websocket)
    roswww (roswww/webserver.py)
    tf2_web_republisher (tf2_web_republisher/tf2_web_republisher)
    web_video_server (web_video_server/web_video_server)

ROS_MASTER_URI=http://localhost:11311

process[rosbridge_websocket-1]: started with pid [18050]
process[rosapi-2]: started with pid [18051]
process[roswww-3]: started with pid [18052]
process[tf2_web_republisher-4]: started with pid [18053]
process[interactive_marker_proxy-5]: started with pid [18054]
process[web_video_server-6]: started with pid [18059]
process[depthcloud_encoder-7]: started with pid [18067]
2020-08-01 03:17:05+0800 [-] Log opened.
[INFO] [1596223025.919737, 12626.827000]: Rosapi started
2020-08-01 03:17:05,949 - roswww - INFO - roswww : # of packages : 279
2020-08-01 03:17:05,950 - roswww - INFO - roswww : Weg Page root : /
2020-08-01 03:17:06+0800 [-] registered capabilities (classes):
2020-08-01 03:17:06+0800 [-]  - rosbridge_library.capabilities.call_service.CallService
2020-08-01 03:17:06+0800 [-]  - rosbridge_library.capabilities.advertise.Advertise
2020-08-01 03:17:06+0800 [-]  - rosbridge_library.capabilities.publish.Publish
2020-08-01 03:17:06+0800 [-]  - rosbridge_library.capabilities.subscribe.Subscribe
2020-08-01 03:17:06+0800 [-]  - <class 'rosbridge_library.capabilities.defragmentation.Defragment'>
2020-08-01 03:17:06+0800 [-]  - rosbridge_library.capabilities.advertise_service.AdvertiseService
2020-08-01 03:17:06+0800 [-]  - rosbridge_library.capabilities.service_response.ServiceResponse
2020-08-01 03:17:06+0800 [-]  - rosbridge_library.capabilities.unadvertise_service.UnadvertiseService
2020-08-01 03:17:06,299 - roswww - INFO - roswww : Initialised
2020-08-01 03:17:06,301 - roswww - INFO - roswww : Attempting to start webserver on port 8001
2020-08-01 03:17:06,307 - roswww - INFO - roswww : Webserver successfully started on port 8001
2020-08-01 03:17:06+0800 [-] WebSocketServerFactory starting on 9090
2020-08-01 03:17:06+0800 [-] Starting factory <autobahn.twisted.websocket.WebSocketServerFactory object at 0x7f99731a7210>
2020-08-01 03:17:06+0800 [-] [INFO] [1596223026.427806, 12627.264000]: Rosbridge WebSocket server started at ws://0.0.0.0:9090



2020-08-01 03:17:22+0800 [-] [INFO] [1596223042.035907, 12641.350000]: Client connected.  1 clients total.
2020-08-01 03:17:23+0800 [-] [INFO] [1596223043.631862, 12642.672000]: [Client 0] Subscribed to /tf2_web_republisher/feedback
[libvpx @ 0x7fad0c302ac0] v1.7.0
[webm @ 0x7fad0c3011c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
2020-08-01 03:20:03+0800 [-] [INFO] [1596223203.082036, 12775.200000]: [Client 0] Subscribed to /tf
2020-08-01 03:20:07+0800 [-] [INFO] [1596223207.282464, 12778.455000]: [Client 0] Subscribed to /map
2020-08-01 03:20:07+0800 [-] [INFO] [1596223207.294007, 12778.461000]: [Client 0] Unsubscribed from /map
2020-08-01 03:20:07+0800 [-] [INFO] [1596223207.340166, 12778.489000]: [Client 0] Subscribed to /map
2020-08-01 03:20:14+0800 [-] [INFO] [1596223214.792246, 12784.430000]: [Client 0] Subscribed to /camera/rgb/image_raw/compressed
2020-08-01 03:20:14+0800 [-] [INFO] [1596223214.804249, 12784.448000]: [Client 0] Unsubscribed from /camera/rgb/image_raw/compressed
2020-08-01 03:20:14+0800 [-] [INFO] [1596223214.863353, 12784.484000]: [Client 0] Subscribed to /camera/rgb/image_raw/compressed

And I use command toecho the following command:

rostopic echo /camera/rgb/image_raw
rostopic echo /camera/depth/image_raw
rostopic echo /depthcloud_encoded

All of them have data output.

Thanks

I am also interested on this and waiting

There's no active development happening on this repository, so I don't foresee this being tackled in the near future.