zoukankan      html  css  js  c++  java
  • ros: python 找不到对应msg

    错误原因:

    import-im6.q16: not authorized `np' @ error/constitute.c/WriteImage/1037.
    import-im6.q16: not authorized `plt' @ error/constitute.c/WriteImage/1037.
    import-im6.q16: not authorized `rospy' @ error/constitute.c/WriteImage/1037.
    from: can't read /var/mail/VehicleMsg.msg
    from: can't read /var/mail/VehicleMsg.msg
    from: can't read /var/mail/VehicleMsg.msg
    from: can't read /var/mail/MissionfunctionV2_3
    from: can't read /var/mail/BehaviorfunctionupperV2_3
    from: can't read /var/mail/BehaviorfunctionlowerV2_3
    from: can't read /var/mail/BehaviorDecisionMsg.msg
    from: can't read /var/mail/DispatchMsg.msg
    from: can't read /var/mail/VehicleMsg.msg
    from: can't read /var/mail/std_msgs.msg
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 15: CurrentTask: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 16: Route: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 17: VehTaskCompletion: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 18: DischargeReq: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 19: Gear_des: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 20: V_refer: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 21: Route_List: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 22: DiveroffReq: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 23: Scenario: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 24: ADS_Mode: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 25: Valetparking_control: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 26: ChargeParking_Enable: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 27: ValetParking_Enable: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 28: DC_stoprequest: command not found
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 31: syntax error near unexpected token `('
    /home/yang/G-Plore/src/StateMachine/src/BehaviorDecisionNodeV2_3.py: line 31: `task_list = GetRouteList()'

    解决方法:指定代码执行环境

    #!/usr/bin/env python2
     
  • 相关阅读:
    Arcgis javascript api离线开发环境搭建
    hbase基础
    Dojo 之 面向对象(转)
    Linux
    并行计算多线程常见问题
    [转]捕捉DataGridView的单元格编辑时的键事件
    'router' => array( 'routes' => array( 'album' => array( 'type' => 'segment', 'options' => arra
    [疯狂xml讲义]chap4之Schema记录
    [WinForm]DataGridView如何绑定对象的复合属性
    [C#之Ftp]RFC959笔记01
  • 原文地址:https://www.cnblogs.com/yang220/p/13397070.html
Copyright © 2011-2022 走看看