質問するログイン新規登録

質問編集履歴

2

質問箇所の修正

2021/02/22 11:47

投稿

YProg
YProg

スコア67

title CHANGED
File without changes
body CHANGED
@@ -18,7 +18,29 @@
18
18
  ImportError: cannot import name 'Log' from 'rosgraph_msgs.msg' (unknown location)
19
19
 
20
20
  ```
21
+
21
22
 
23
+ ## 修正(2021/2/22 追記)
24
+ ```
25
+ Traceback (most recent call last):
26
+ File "/home/user/ros_catkin_ws/devel/bin/roslaunch", line 15, in <module>
27
+ exec(compile(fh.read(), python_script, 'exec'), context)
28
+ File "/home/user/ros_catkin_ws/src/ros_comm/roslaunch/scripts/roslaunch", line 34, in <module>
29
+ import roslaunch
30
+ File "/home/user/ros_catkin_ws/devel/lib/python3/dist-packages/roslaunch/__init__.py", line 34, in <module>
31
+ exec(__fh.read())
32
+ File "<string>", line 62, in <module>
33
+ File "/home/user/ros_catkin_ws/src/ros_comm/roslaunch/src/roslaunch/scriptapi.py", line 42, in <module>
34
+ import roslaunch.parent
35
+ File "/home/user/ros_catkin_ws/src/ros_comm/roslaunch/src/roslaunch/parent.py", line 54, in <module>
36
+ import roslaunch.server
37
+ File "/home/user/ros_catkin_ws/src/ros_comm/roslaunch/src/roslaunch/server.py", line 83, in <module>
38
+ from rosgraph_msgs.msg import Log
39
+ ImportError: cannot import name 'Log' from 'rosgraph_msgs.msg' (unknown location)
40
+
41
+ ```
42
+
43
+
22
44
  # 環境
23
45
  ubuntu20.04
24
46
  ros noetic

1

2021/02/22 11:47

投稿

YProg
YProg

スコア67

title CHANGED
File without changes
body CHANGED
@@ -1,6 +1,7 @@
1
1
  # 質問内容
2
2
  現在、ubuntuでROSを使っているのですが、以下のエラーが表示されます。
3
3
 
4
+ 解決策を知っている方がいましたら、教えて頂けると幸いです。
4
5
 
5
6
  ## 端末内のコマンド
6
7
  ```