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

catkin_make时报错 #6

Open
daynad opened this issue Mar 31, 2023 · 0 comments
Open

catkin_make时报错 #6

daynad opened this issue Mar 31, 2023 · 0 comments

Comments

@daynad
Copy link

daynad commented Mar 31, 2023

[ 15%] Building CXX object wrs-master/wrs/wrs_simu/wrs_run/CMakeFiles/wrs_run.dir/src/functions.cpp.o
/home/dayna/catkin_wrs/src/wrs-master/wrs/wrs_simu/wrs_run/src/functions.cpp: In function ‘void upright(moveit::planning_interface::MoveGroupInterface&, float, float, float)’:
/home/dayna/catkin_wrs/src/wrs-master/wrs/wrs_simu/wrs_run/src/functions.cpp:250:32: error: no matching function for call to ‘tf2::Matrix3x3::getRPY(tf2Scalar&, int (&)(int, FILE*), long long int (&)(const char*) throw ())’
mat.getRPY(yaw, putc, atoll);
^
In file included from /opt/ros/melodic/include/tf2/LinearMath/Transform.h:21:0,
from /opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:37,
from /home/dayna/catkin_wrs/src/wrs-master/wrs/wrs_simu/wrs_run/include/functions.h:7,
from /home/dayna/catkin_wrs/src/wrs-master/wrs/wrs_simu/wrs_run/src/functions.cpp:1:
/opt/ros/melodic/include/tf2/LinearMath/Matrix3x3.h:364:7: note: candidate: void tf2::Matrix3x3::getRPY(tf2Scalar&, tf2Scalar&, tf2Scalar&, unsigned int) const
void getRPY(tf2Scalar& roll, tf2Scalar& pitch, tf2Scalar& yaw, unsigned int solution_number = 1) const
^~~~~~
/opt/ros/melodic/include/tf2/LinearMath/Matrix3x3.h:364:7: note: no known conversion for argument 2 from ‘int(int, FILE*) {aka int(int, _IO_FILE*)}’ to ‘tf2Scalar& {aka double&}’
wrs-master/wrs/wrs_simu/wrs_run/CMakeFiles/wrs_run.dir/build.make:62: recipe for target 'wrs-master/wrs/wrs_simu/wrs_run/CMakeFiles/wrs_run.dir/src/functions.cpp.o' failed
make[2]: *** [wrs-master/wrs/wrs_simu/wrs_run/CMakeFiles/wrs_run.dir/src/functions.cpp.o] Error 1
CMakeFiles/Makefile2:11853: recipe for target 'wrs-master/wrs/wrs_simu/wrs_run/CMakeFiles/wrs_run.dir/all' failed
make[1]: *** [wrs-master/wrs/wrs_simu/wrs_run/CMakeFiles/wrs_run.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j2 -l2" failed
aee0153eb6ea5bafec660d99e553836

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

1 participant