This forum has been archived. All content is frozen. Please use KDE Discuss instead.

no error message

Tags: None
(comma "," separated)
gonggonggong
Registered Member
Posts
1
Karma
0

no error message

Thu Jul 07, 2022 5:13 am
The code is that

Eigen::MatrixXd tmp(2,1);
tmp<<1,2,3,4,5,6,7;
ROS_INFO("%f",tmp(2,2));

However, when I run this code in visual studio in windows, there will an error.
And when I run in ubuntu18.04 complied by catkin_make, it can be executed successfully without any error message, even though there is an error obviously.
What should I do in ubuntu so that there will be an error message.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]