rosprofiler 安装和使用

2023-11-17

rosprofiler wiki 页面
http://wiki.ros.org/rosprofiler#rosprofiler_package


下载rosprofiler和ros_statistics_msgs,放到工程目录下编译
https://github.com/osrf/rosprofiler
https://github.com/osrf/ros_statistics_msgs


运行:
rosparam set enable_statistics true
rosrun rosprofiler rosprofiler


运行报错:
  File "/home/administrator/code/autogo/autogo-2.6.0-2/src/ros_tool/rosprofiler/src/rosprofiler/host_monitor.py", line 40, in update
    self.phymem_used_log.append(psutil.used_phymem())
AttributeError: 'module' object has no attribute 'used_phymem'


Published Topics
/host_statistics (ros_statistics_msgs/HostStatistics)


Host machine information and resource statistics
/node_statistics (ros_statistics_msgs/NodeStatistics)
Process information and statistics for each node running on the host


Running rosgrapher


rosrun rosprofiler rosgrapher
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

rosprofiler 安装和使用 的相关文章

随机推荐