You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
hi,
by running the command: catkin_make -j1 --pkg rtabmap_ros , i got the following error. what is the solution???
Scanning dependencies of target rtabmap_ros
[ 57%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/MsgConversion.cpp.o
/home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp: In function ‘bool rtabmap_ros::convertScanMsg(const LaserScan&, const string&
, const string&, const ros::Time&, rtabmap::LaserScan&, tf::TransformListener&, double, bool)’:
/home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp:2105:81: error: expression cannot be used as a function
data = rtabmap::util3d::laserScan2dFromPointCloud(*pclScan, laserToOdom).data(); // put back in laser frame
^
/home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp:2113:81: error: expression cannot be used as a function
data = rtabmap::util3d::laserScan2dFromPointCloud(*pclScan, laserToOdom).data(); // put back in laser frame
^
/home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp: In function ‘bool rtabmap_ros::convertScan3dMsg(const PointCloud2&, const str
ing&, const string&, const ros::Time&, rtabmap::LaserScan&, tf::TransformListener&, double, int, float)’:
/home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp:2220:121: error: no matching function for call to ‘rtabmap::LaserScan::LaserSc
an(cv::Mat, int&, float&, rtabmap::Transform&)’
scan = rtabmap::LaserScan(rtabmap::util3d::laserScanFromPointCloud(*pclScan), maxPoints, maxRange, scanLocalTransform);
^
In file included from /usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/SensorData.h:38:0,
from /usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/Signature.h:42,
from /home/masoumeh/catkin_ws4/src/rtabmap_ros/include/rtabmap_ros/MsgConversion.h:47,
from /home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp:28:
/usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/LaserScan.h:79:2: note: candidate: rtabmap::LaserScan::LaserScan(const cv:
:Mat&, rtabmap::LaserScan::Format, float, float, float, float, float, const rtabmap::Transform&)
LaserScan(const cv::Mat & data,
^
/usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/LaserScan.h:79:2: note: candidate expects 8 arguments, 4 provided
/usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/LaserScan.h:74:2: note: candidate: rtabmap::LaserScan::LaserScan(const cv:
:Mat&, int, float, rtabmap::LaserScan::Format, const rtabmap::Transform&)
LaserScan(const cv::Mat & data,
^
/usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/LaserScan.h:74:2: note: no known conversion for argument 4 from ‘rtabmap
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hi,
by running the command: catkin_make -j1 --pkg rtabmap_ros , i got the following error. what is the solution???
Scanning dependencies of target rtabmap_ros
[ 57%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/MsgConversion.cpp.o
/home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp: In function ‘bool rtabmap_ros::convertScanMsg(const LaserScan&, const string&
, const string&, const ros::Time&, rtabmap::LaserScan&, tf::TransformListener&, double, bool)’:
/home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp:2105:81: error: expression cannot be used as a function
data = rtabmap::util3d::laserScan2dFromPointCloud(*pclScan, laserToOdom).data(); // put back in laser frame
^
/home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp:2113:81: error: expression cannot be used as a function
data = rtabmap::util3d::laserScan2dFromPointCloud(*pclScan, laserToOdom).data(); // put back in laser frame
^
/home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp: In function ‘bool rtabmap_ros::convertScan3dMsg(const PointCloud2&, const str
ing&, const string&, const ros::Time&, rtabmap::LaserScan&, tf::TransformListener&, double, int, float)’:
/home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp:2220:121: error: no matching function for call to ‘rtabmap::LaserScan::LaserSc
an(cv::Mat, int&, float&, rtabmap::Transform&)’
scan = rtabmap::LaserScan(rtabmap::util3d::laserScanFromPointCloud(*pclScan), maxPoints, maxRange, scanLocalTransform);
^
In file included from /usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/SensorData.h:38:0,
from /usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/Signature.h:42,
from /home/masoumeh/catkin_ws4/src/rtabmap_ros/include/rtabmap_ros/MsgConversion.h:47,
from /home/masoumeh/catkin_ws4/src/rtabmap_ros/src/MsgConversion.cpp:28:
/usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/LaserScan.h:79:2: note: candidate: rtabmap::LaserScan::LaserScan(const cv:
:Mat&, rtabmap::LaserScan::Format, float, float, float, float, float, const rtabmap::Transform&)
LaserScan(const cv::Mat & data,
^
/usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/LaserScan.h:79:2: note: candidate expects 8 arguments, 4 provided
/usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/LaserScan.h:74:2: note: candidate: rtabmap::LaserScan::LaserScan(const cv:
:Mat&, int, float, rtabmap::LaserScan::Format, const rtabmap::Transform&)
LaserScan(const cv::Mat & data,
^
/usr/local/lib/rtabmap-0.20/../../include/rtabmap-0.20/rtabmap/core/LaserScan.h:74:2: note: no known conversion for argument 4 from ‘rtabmap
The text was updated successfully, but these errors were encountered: