qbo_webi: cherry server 有效url

qbo_webi/src/otherFunctions/mjpegServerFunctions/ 定义MjpegServerFunctions类。生成//mjpegServer/getUrlFrom.

以下为可选的url.

self.urls = {'leftEye':'/image/snapshot?topic=/stereo/left/image_raw&quality=',

                'rightEye':'/image/snapshot?topic=/stereo/right/image_raw&quality=',
                #'rightEye':'/image/snapshot?topic=/camera/rgb/image_mono&quality=',
                'objects':'/image/snapshot?topic=/qbo_stereo_selector/viewer&quality=',
                'faces':'/image/snapshot?topic=/qbo_face_tracking/viewer&quality=',
                'live_leftEye':'/image/stream?topic=/stereo/left/image_raw&quality=',
                'live_rightEye':'/image/stream?topic=/stereo/right/image_raw&quality=',
                'live_3d':'/image/stream?topic=/stereo_anaglyph&quality=',
                'live_objects':'/image/stream?topic=/qbo_stereo_selector/viewer&quality=',

                'live_faces':'/image/stream?topic=/qbo_face_tracking/viewer&quality=',

获取方法:这里要注意,真正的服务器端在src/mjpeg/mjpeg.py中。当中对客户端的/image/snapshot  image/stream等事件进行应答。

比如在cameraCheck中,前台调用ajax post step方法。在step中会立马返回imgSrc为相应目录的template.render。浏览器端即可获取。

比如在teleoperation中,前台使用iframeTeleoperation中设置属性为image/stream,服务器端。


摘录以下有效url: 注意有的是get,有的是post。同时需要注意参数匹配。否则无法访问。

__init__ [Mouth]
    __init__ [TeleoperationManager]
    setMouth [TeleoperationManager]
    unload [TeleoperationManager]
    index [TeleoperationManager]
    getAuth [TeleoperationManager]
    getAuthBot [TeleoperationManager]
    startSIPService [TeleoperationManager]
    stopSIPService [TeleoperationManager]
    mobile_startSIPServer [TeleoperationManager]
    mobile_stopSIPServer [TeleoperationManager]
    mobile_setIpSip [TeleoperationManager]
    mobile_getUserSipId [TeleoperationManager]
    mobile_getBotSipId [TeleoperationManager]
    mobile_endCall [TeleoperationManager]
    teleoperationJs [TeleoperationManager]
    move [TeleoperationManager]
    head [TeleoperationManager]
    changeHeadMoveType [TeleoperationManager]
    changeVideoSize [TeleoperationManager]
    changeMouth [TeleoperationManager]
    head_to_zero_position [TeleoperationManager]
    speak [TeleoperationManager]
    activate_3d [TeleoperationManager]
    sendSpeed [TeleoperationManager]
    headMoveType1 [TeleoperationManager]
    headMoveType2 [TeleoperationManager]
    sendHeadPose [TeleoperationManager]


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值