• ROS报错:IOError: [Errno 13] Permission denied: '/home/zn/.ros/log/robotiq2FGripper.log'


    运行Robotiq控制驱动节点报错

    rosrun robotiq_2f_gripper_control Robotiq2FGripperRtuNode.py / dev / ttyUSB0
    IOError: [Errno 13] Permission denied: '/home/zn/.ros/log/robotiq2FGripper.log'

    解决方案

    这个问题是由于该路径下ros文件权限造成的。

    输入以下命令修改权限:

    sudo chmod 777 -R ~/.ros/

    修改完成后再次输入roscore就ok了

    /home/zn/robotiq_ws/src/robotiq/robotiq_2f_gripper_control/nodes/Robotiq2FGripperRtuNode.py:65: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
      pub = rospy.Publisher('Robotiq2FGripperRobotInput', inputMsg.Robotiq2FGripper_robot_input)
  • 相关阅读:
    学生信息录入系统
    作业11(增删改查listview)
    作业10(qq增删改查)
    作业9
    作业8
    作业7
    右键打开Windows Terminal
    axure 动态面板中滚动条
    TortoiseSVN服务端的配置与使用
    hfs使用小技巧
  • 原文地址:https://www.cnblogs.com/feifanrensheng/p/15972259.html
Copyright © 2020-2023  润新知