Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does it run in ros2 foxy? #5

Open
ashsifat opened this issue May 6, 2021 · 3 comments
Open

does it run in ros2 foxy? #5

ashsifat opened this issue May 6, 2021 · 3 comments

Comments

@ashsifat
Copy link

ashsifat commented May 6, 2021

I was trying to build it in ros2-foxy using colcon build and have this error.
Starting >>> slam_gmapping
--- stderr: slam_gmapping
-fuse-ld=lld -Wl,--disable-new-dtags
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:9,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/particlefilter/particlefilter.h: In function ‘void rle(OutputIterator&, const Iterator&, const Iterator&)’:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/particlefilter/particlefilter.h:140:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
140 | if (count>0)
| ^~
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/particlefilter/particlefilter.h:142:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
142 | out++;
| ^~~
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:10,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/utils/point.h: At global scope:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/utils/point.h:205:2: warning: extra ‘;’ [-Wpedantic]
205 | }; //end namespace
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/sensor/sensor_base/sensorreading.h:4,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/log/sensorlog.h:6,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:12,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/sensor/sensor_base/sensor.h:21:2: warning: extra ‘;’ [-Wpedantic]
21 | }; //end namespace
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/log/sensorlog.h:6,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:12,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/sensor/sensor_base/sensorreading.h:23:2: warning: extra ‘;’ [-Wpedantic]
23 | }; //end namespace
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/log/sensorlog.h:7,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:12,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/sensor/sensor_odometry/odometrysensor.h:17:2: warning: extra ‘;’ [-Wpedantic]
17 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/log/sensorlog.h:8,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:12,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/sensor/sensor_range/rangesensor.h:33:2: warning: extra ‘;’ [-Wpedantic]
33 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/log/sensorlog.h:9,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:12,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/sensor/sensor_odometry/odometryreading.h:27:2: warning: extra ‘;’ [-Wpedantic]
27 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/log/sensorlog.h:10,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:12,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/sensor/sensor_range/rangereading.h:24:2: warning: extra ‘;’ [-Wpedantic]
24 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/log/sensorlog.h:11,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:12,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/log/configuration.h:15:2: warning: extra ‘;’ [-Wpedantic]
15 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:12,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/log/sensorlog.h:27:2: warning: extra ‘;’ [-Wpedantic]
27 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/grid/map.h:5,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/smmap.h:3,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/scanmatcher.h:5,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:15,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/grid/accessstate.h:6:2: warning: extra ‘;’ [-Wpedantic]
6 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/grid/map.h:6,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/smmap.h:3,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/scanmatcher.h:5,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:15,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/grid/array2d.h:185:2: warning: extra ‘;’ [-Wpedantic]
185 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/smmap.h:3,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/scanmatcher.h:5,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:15,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/grid/map.h:262:2: warning: extra ‘;’ [-Wpedantic]
262 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/grid/harray2d.h:5,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/smmap.h:4,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/scanmatcher.h:5,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:15,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/utils/autoptr.h:96:2: warning: extra ‘;’ [-Wpedantic]
96 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/smmap.h:4,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/scanmatcher.h:5,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:15,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/grid/harray2d.h:197:2: warning: extra ‘;’ [-Wpedantic]
197 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/scanmatcher.h:5,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:15,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/smmap.h:52:2: warning: extra ‘;’ [-Wpedantic]
52 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/scanmatcher.h:7,
from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:15,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/utils/stat.h:145:2: warning: extra ‘;’ [-Wpedantic]
145 | }; //end namespace
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:15,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/scanmatcher/scanmatcher.h:250:2: warning: extra ‘;’ [-Wpedantic]
250 | };
| ^
In file included from /home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:16,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/motionmodel.h:17:2: warning: extra ‘;’ [-Wpedantic]
17 | };
| ^
In file included from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/include/slam_gmapping/slam_gmapping.h:45,
from /home/ash/dev_ws/src/slam_gmapping/slam_gmapping/src/slam_gmapping.cpp:24:
/home/ash/dev_ws/install/openslam_gmapping/include/gmapping/gridfastslam/gridslamprocessor.h:335:2: warning: extra ‘;’ [-Wpedantic]
335 | };
| ^

Finished <<< slam_gmapping [7.90s]

Summary: 3 packages finished [11.5s]
1 package had stderr output: slam_gmapping

@shiveshkhaitan
Copy link
Member

Yes it compiled successfully. It does work in foxy as well.

@ashsifat
Copy link
Author

ashsifat commented May 7, 2021

any idea why this error is happening in foxy? i tried building the master branch using colcon build.

@shiveshkhaitan
Copy link
Member

There is no error. These are just warnings. You can ignore them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants