質問編集履歴

2

質問箇所の修正

2021/02/22 11:47

投稿

YProg
YProg

スコア67

test CHANGED
File without changes
test CHANGED
@@ -38,6 +38,50 @@
38
38
 
39
39
  ```
40
40
 
41
+
42
+
43
+
44
+
45
+ ## 修正(2021/2/22 追記)
46
+
47
+ ```
48
+
49
+ Traceback (most recent call last):
50
+
51
+ File "/home/user/ros_catkin_ws/devel/bin/roslaunch", line 15, in <module>
52
+
53
+ exec(compile(fh.read(), python_script, 'exec'), context)
54
+
55
+ File "/home/user/ros_catkin_ws/src/ros_comm/roslaunch/scripts/roslaunch", line 34, in <module>
56
+
57
+ import roslaunch
58
+
59
+ File "/home/user/ros_catkin_ws/devel/lib/python3/dist-packages/roslaunch/__init__.py", line 34, in <module>
60
+
61
+ exec(__fh.read())
62
+
63
+ File "<string>", line 62, in <module>
64
+
65
+ File "/home/user/ros_catkin_ws/src/ros_comm/roslaunch/src/roslaunch/scriptapi.py", line 42, in <module>
66
+
67
+ import roslaunch.parent
68
+
69
+ File "/home/user/ros_catkin_ws/src/ros_comm/roslaunch/src/roslaunch/parent.py", line 54, in <module>
70
+
71
+ import roslaunch.server
72
+
73
+ File "/home/user/ros_catkin_ws/src/ros_comm/roslaunch/src/roslaunch/server.py", line 83, in <module>
74
+
75
+ from rosgraph_msgs.msg import Log
76
+
77
+ ImportError: cannot import name 'Log' from 'rosgraph_msgs.msg' (unknown location)
78
+
79
+
80
+
81
+ ```
82
+
83
+
84
+
41
85
 
42
86
 
43
87
  # 環境

1

2021/02/22 11:47

投稿

YProg
YProg

スコア67

test CHANGED
File without changes
test CHANGED
@@ -3,6 +3,8 @@
3
3
  現在、ubuntuでROSを使っているのですが、以下のエラーが表示されます。
4
4
 
5
5
 
6
+
7
+ 解決策を知っている方がいましたら、教えて頂けると幸いです。
6
8
 
7
9
 
8
10