質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
cb(msg)
|
20
20
|
File "/practice_ws/src/map2gazebo/src/map2gazebo.py", line 43, in map_callback
|
21
21
|
mesh.export(f, "stl")
|
22
|
-
File "/
|
22
|
+
File "/.local/lib/python3.8/site-packages/trimesh/base.py", line 2712, in export
|
23
23
|
return export_mesh(mesh=self,
|
24
24
|
File "/.local/lib/python3.8/site-packages/trimesh/exchange/export.py", line 85, in export_mesh
|
25
25
|
result = util.write_encoded(file_obj, export)
|
@@ -32,6 +32,8 @@
|
|
32
32
|
### 該当のソースコード
|
33
33
|
|
34
34
|
```ここに言語名を入力
|
35
|
+
|
36
|
+
|
35
37
|
def write_encoded(file_obj,
|
36
38
|
stuff,
|
37
39
|
encoding='utf-8'):
|
@@ -60,6 +62,7 @@
|
|
60
62
|
elif binary_file and string_stuff:
|
61
63
|
file_obj.write(stuff.encode(encoding))
|
62
64
|
elif not binary_file and binary_stuff:
|
65
|
+
#/.local/lib/python3.8/site-packages/trimesh/util.py", line 2118
|
63
66
|
file_obj.write(stuff.decode(encoding))
|
64
67
|
else:
|
65
68
|
file_obj.write(stuff)
|