导航

    蓝鲸ROS机器人论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 热门
    ROS交流群
    ROS Group
    产品服务
    Product Service
    开源代码库
    Github
    官网
    Official website
    技术交流
    Technological exchanges
    激光雷达
    LIDAR
    ROS教程
    ROS Tourials
    深度学习
    Deep Learning
    机器视觉
    Computer Vision

    xiaoqiang tutorial (9) use rostopic to control kinect tilt angle

    产品服务
    1
    1
    1229
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • weijiz
      weijiz 最后由 weijiz 编辑

      Xiaoqiang Homepage

      use rostopic control kinect tilt angle

      Prepared work:

      Please check the kinect version, indicated on the kinect base label. For the users of the model1473, due to the defect of the drive (which does not affect other functions of the kinect, only the motor), the following operations need to be performed first, and the model1414 user can directly skip.

      ssh login xiaoqiang host

      ssh xiaoqiang@192.168.0.xxx -X
      freenect-micview
      

      If the following figure appears, close the above command and continue the tutorial

      0_1536152713115_5ac887e3-9847-4956-a393-5afc6057b373-image.png

      Steps:

      1. Open a new window in the local virtual machine, start the freenect_stack driver

      ssh login Xiaoqiang host

      ssh xiaoqiang@192.168.0.xxx -X
      roslaunch freenect_launch freenect-xyz.launch
      

      The normal startup will appear below, if there is a red error (driver defect), please update the freenect_stack program through git pull.

      0_1536152779362_62cfdad0-cc17-4f6d-8242-613716d871eb-image.png

      2.Open a new window in the local virtual machine, release the motor angle control command

      ssh login Xiaoqiang host

      ssh xiaoqiang@192.168.0.xxx -X
      rostopic pub /set_tilt_degree std_msgs/Int16 '{data: -20}' -1
      

      If all goes well, you can now see that the elevation of the kinect keeps getting smaller. The {data: -20} number in the above command represents the angle and can be set to an integer between 30 and -30. Insert the kinect cable into the host’s blue Color usb3.0 port so that kinect can work properly.

      Xiaoqiang Homepage
      Back To Index

      1 条回复 最后回复 回复 引用 0
      • 1 / 1
      • First post
        Last post
      Copyright © 2015-2023 BlueWhale community