mc_rtc学习:Failed to parse corba.master_manager, use 2810

问题:

Execution of Python script "sim_mc.py" has been started.
[rtm.py] nshost already set as localhost
[rtm.py] nsport already set as 2809
[rtm.py] Failed to parse corba.master_manager, use 2810
[rtm.py] configuration ORB with localhost:2809
[rtm.py] configuration RTCManager with localhost:2810
[rtm.py] trying to findRTCManager on port2810
creating components
[rtm.py] trying to findRTCManager on port2810
The execution of Python script "sim_mc.py" failed.
AttributeError: 'NoneType' object has no attribute 'service'

At:
  /usr/share/hrpsys/samples/test02/sim_mc.py(96): createComps
  /usr/share/hrpsys/samples/test02/sim_mc.py(166): init
  /usr/share/hrpsys/samples/test02/sim_mc.py(240): <module>

loading 
 cannot be found.
Retrying to load the file as a standard VRML file
 cannot be found.
loading failed.
 cannot be found.

原因及解决办法

缺少hrpsys各个RT组件配置文件说明,修改rtc.conf.choreonoid,指定各个RT组件的配置文件

corba.nameservers: localhost:2809
naming.formats: %n.rtc
logger.enable: YES
logger.log_level: NORMAL
logger.file_name: stdout
exec_cxt.periodic.type: ChoreonoidPeriodicExecutionContext
exec_cxt.periodic.rate: 10
manager.shutdown_onrtcs: NO
manager.is_master: YES
manager.refstring_path: /tmp/rtcmanager.ref
manager.modules.load_path: /usr/lib
manager.modules.search_auto: NO
example.RobotHardware.config_file: RobotHardware.conf
example.SequencePlayer.config_file: robot.conf
example.KalmanFilter.config_file: robot.conf
example.Stabilizer.config_file: robot.conf
example.WalkGenerator.config_file: robot.conf
example.StateHolder.config_file: robot.conf
example.PDcontroller.config_file: PDcontroller.conf.choreonoid
example.OccupancyGridMap3D.config_file: robot.conf
example.LocalStepPlanner.config_file: robot.conf
example.LocalStepPlanner2.config_file: robot.conf
example.VirtualCamera.config_file: VirtualCamera.conf
example.ForwardKinematics.config_file: robot.conf
example.ReachingPlanner.config_file: robot.conf
example.PanTilt.config_file: robot.conf
example.PathPlayer.config_file: robot.conf
example.RobotController.config_file: robot.conf
example.RobotController2.config_file: robot.conf
example.PositionManager.config_file: robot.conf
example.PositionManager2.config_file: robot.conf
example.Swinger.config_file: robot.conf
example.HumanoidMotionControl2.config_file: robot.conf
example.LandingStateEstimator.config_file: robot.conf
example.FloorMeasureSim.config_file: robot.conf
example.EnvMeasureSim.config_file: robot.conf
example.RobotGateway.config_file: robot.conf
example.ReachingPlannerAIK.config_file: robot.conf
example.PostureGenerator.config_file: robot.conf
example.Standup.config_file: robot.conf
example.StancePlanner.config_file: robot.conf
example.ModelRemover.config_file: robot.conf
example.AccelerationChecker.config_file: robot.conf
example.SelfCollisionChecker.config_file: robot.conf
example.MotionGenerator.config_file: robot.conf
example.FallBreaker.config_file: robot.conf
example.SoftwareEmergency.config_file: robot.conf
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值