質問編集履歴

3

文の追加

2022/06/24 14:17

投稿

noooooooob
noooooooob

スコア16

test CHANGED
File without changes
test CHANGED
@@ -50,4 +50,14 @@
50
50
  ROS初心者故、何をどう直せば使用できるようになるのか皆目見当もつきません。
51
51
  大変申し訳ありませんがご教授頂けると幸いです。
52
52
 
53
+ ###現在状況
54
+ エラーが発生している箇所の修正を行いました。
55
+ > /home/user/catkin_ws/src/gps_rviz_plugin/src/overlay_gps_display.cpp:55:33: error: ‘PyString_FromString’ was not declared in this scope; did you mean ‘PyLong_FromString’?
56
+ >55 | PyObject* request_url_str = PyString_FromString(request_url.c_str());
53
57
 
58
+ PyString_FromString → PyLong_FromString
59
+ に変えました。しかし、エラーは続きます。
60
+
61
+ 現在、エラーメッセージが載せられない状態なので、後日追記および修正します。
62
+
63
+

2

文の修正

2022/06/24 06:17

投稿

noooooooob
noooooooob

スコア16

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ### 実現したいこと
8
8
  GPSを用いての自律移動。
9
- 具体的には、GPSを用いてrvisにGoogleMAPを表示しGoogleMAP上の現在地を表示。
9
+ 具体的には、rvisにGoogleMAPを表示しGPS情報(RTK-GNSS)を用いてGoogleMAP上の現在地を表示。
10
10
  GoogleMAP上で目的地を指定し、そこへ自律移動を行う。
11
11
 
12
12
  現状は「GPSを用いてrvisにGoogleMAPを表示しGoogleMAP上の現在地を表示」で躓いています。

1

文の修正

2022/06/24 06:04

投稿

noooooooob
noooooooob

スコア16

test CHANGED
File without changes
test CHANGED
@@ -17,13 +17,13 @@
17
17
  [参考サイト](https://qiita.com/k-koh/items/91d7ea55cbdfc3d3aaf9)
18
18
 
19
19
  ```
20
- Errors << gps_rviz_plugin:make /home/aaaa/catkin_ws/logs/gps_rviz_plugin/build.make.000.log
20
+ Errors << gps_rviz_plugin:make /home/user/catkin_ws/logs/gps_rviz_plugin/build.make.000.log
21
- /home/aaaa/catkin_ws/src/gps_rviz_plugin/src/overlay_utils.cpp: In member function ‘virtual bool gps_rviz_plugin::OverlayObject::updateTextureSize(unsigned int, unsigned int)’:
21
+ /home/user/catkin_ws/src/gps_rviz_plugin/src/overlay_utils.cpp: In member function ‘virtual bool gps_rviz_plugin::OverlayObject::updateTextureSize(unsigned int, unsigned int)’:
22
- /home/aaaa/catkin_ws/src/gps_rviz_plugin/src/overlay_utils.cpp:176:3: warning: no return statement in function returning non-void [-Wreturn-type]
22
+ /home/user/catkin_ws/src/gps_rviz_plugin/src/overlay_utils.cpp:176:3: warning: no return statement in function returning non-void [-Wreturn-type]
23
23
  176 | }
24
24
  | ^
25
- /home/aaaa/catkin_ws/src/gps_rviz_plugin/src/overlay_gps_display.cpp: In member function ‘bool gps_rviz_plugin::OverlayGpsDisplay::download_map(std::string)’:
25
+ /home/user/catkin_ws/src/gps_rviz_plugin/src/overlay_gps_display.cpp: In member function ‘bool gps_rviz_plugin::OverlayGpsDisplay::download_map(std::string)’:
26
- /home/aaaa/catkin_ws/src/gps_rviz_plugin/src/overlay_gps_display.cpp:55:33: error: ‘PyString_FromString’ was not declared in this scope; did you mean ‘PyLong_FromString’?
26
+ /home/user/catkin_ws/src/gps_rviz_plugin/src/overlay_gps_display.cpp:55:33: error: ‘PyString_FromString’ was not declared in this scope; did you mean ‘PyLong_FromString’?
27
27
  55 | PyObject* request_url_str = PyString_FromString(request_url.c_str());
28
28
  | ^~~~~~~~~~~~~~~~~~~
29
29
  | PyLong_FromString
@@ -31,7 +31,7 @@
31
31
  make[2]: *** 未完了のジョブを待っています....
32
32
  make[1]: *** [CMakeFiles/Makefile2:211: CMakeFiles/gps_rviz_plugin.dir/all] エラー 2
33
33
  make: *** [Makefile:141: all] エラー 2
34
- cd /home/aaaa/catkin_ws/build/gps_rviz_plugin; catkin build --get-env gps_rviz_plugin | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -
34
+ cd /home/user/catkin_ws/build/gps_rviz_plugin; catkin build --get-env gps_rviz_plugin | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -
35
35
 
36
36
  ...............................................................................
37
37
  Failed << gps_rviz_plugin:make [ Exited with code 2 ]