Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all 336 articles
Browse latest View live

Close Rqt Plugin from a button

$
0
0
Hello everyone I want to know how I can close my rqt plugin when I push a button on it. I tried with exit(0) but it close the plugin like if it was an error in a thread (My plugin doesn't use threads) and the last thing I tried was widget.close() but this one close the widget but rqt main window continues running. I will appreciate any help.Thanks

rosdep update error

$
0
0
I'm troubled in install ROS on my BeagleBone Black,everything runs ok until "rosdep update",for example: ubuntu@arm:~$ rosdep update reading in sources list data from /etc/ros/rosdep/sources.list.d Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml]: (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml) ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]: Failed to download target platform data for gbpdistro: Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml ERROR: error loading sources list: (https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml)> There are about 5 URLs above,while only one or two will failed randomly each time,and the types of the error would be either "Connection reset by peer",or "name/service not known".I have no idea about it,p.s. my rosdep version is 0.11.4 and is the lasted version till now. I have successfully installed ROS on my device last month,I really want to know how to resolve it. When I try "rosdep update" on my pc(ubuntu 14.04),it comes the same result,I have tried 100 times with only one time succeed Thank you for you attention!

Problems with Int32MultiArrays

$
0
0
Hi, I'm wondering if anyone knows what these errors mean: My code is really long to post, so I was wondering if there was something general that these are getting at that I can look out for in my code. I'm trying to pass `std_msgs::Int32MultiArray::ConstPtr&` arrays from a subscribed topic into a function to pull out the data. Any help on this would be greatly appreciated!! Edit: I am running ROS electric on Ubuntu 11.10. Full Error Message: /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:570:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(const boost::shared_ptr&)const, const boost::shared_ptr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:618:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (*)(M), const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:663:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (*)(const boost::shared_ptr&), const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:706:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, const boost::function&)>&, const VoidConstPtr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:752:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, const boost::function&, const VoidConstPtr&, const ros::TransportHints&) /home/gregory/ros_workspace/socbot/src/mainProcessing.cpp:111:133: error: no matching function for call to ‘ros::NodeHandle::subscribe(const char [17], int, void (mainProcessing::*)(const ConstPtr&), mainProcessing* const)’ /home/gregory/ros_workspace/socbot/src/mainProcessing.cpp:111:133: note: candidates are: /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:379:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(M), T*, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:390:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(M)const, T*, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:438:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(const boost::shared_ptr&), T*, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:448:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(const boost::shared_ptr&)const, T*, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:498:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(M), const boost::shared_ptr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:509:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(M)const, const boost::shared_ptr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:559:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(const boost::shared_ptr&), const boost::shared_ptr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:570:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(const boost::shared_ptr&)const, const boost::shared_ptr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:618:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (*)(M), const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:663:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (*)(const boost::shared_ptr&), const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:706:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, const boost::function&)>&, const VoidConstPtr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:752:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, const boost::function&, const VoidConstPtr&, const ros::TransportHints&) /home/gregory/ros_workspace/socbot/src/mainProcessing.cpp:112:136: error: no matching function for call to ‘ros::NodeHandle::subscribe(const char [18], int, void (mainProcessing::*)(const ConstPtr&), mainProcessing* const)’ /home/gregory/ros_workspace/socbot/src/mainProcessing.cpp:112:136: note: candidates are: /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:379:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(M), T*, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:390:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(M)const, T*, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:438:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(const boost::shared_ptr&), T*, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:448:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(const boost::shared_ptr&)const, T*, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:498:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(M), const boost::shared_ptr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:509:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(M)const, const boost::shared_ptr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:559:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(const boost::shared_ptr&), const boost::shared_ptr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:570:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (T::*)(const boost::shared_ptr&)const, const boost::shared_ptr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:618:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (*)(M), const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:663:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, void (*)(const boost::shared_ptr&), const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:706:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, const boost::function&)>&, const VoidConstPtr&, const ros::TransportHints&) /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:752:14: note: template ros::Subscriber ros::NodeHandle::subscribe(const string&, uint32_t, const boost::function&, const VoidConstPtr&, const ros::TransportHints&) make[3]: *** [CMakeFiles/mainProcessing.dir/src/mainProcessing.o] Error 1 make[3]: Leaving directory `/home/gregory/ros_workspace/socbot/build' make[2]: *** [CMakeFiles/mainProcessing.dir/all] Error 2 make[2]: Leaving directory `/home/gregory/ros_workspace/socbot/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/gregory/ros_workspace/socbot/build' Code: class mainProcessing{ public: mainProcessing(); private: int RED; //Value of 333 int BLUE; //Value of 444 std_msgs::Int32MultiArray arrayRED; std_msgs::Int32MultiArray arrayBLUE; std_msgs::Int32MultiArray arrayBALL; int leaderRED; //Value of 0, 1 or 2 int leaderBLUE; //Value of 0, 1 or 2 int fwd; //Value of 123 int def; //Value of 456 int minPixelX; int maxPixelX; int defenceRefRED; int defenceRefBLUE; int goalxRED; int goalyRED; int goalxBLUE; int goalyBLUE; ros::NodeHandle mainHUB; ros::Publisher redBLANKPUB; ros::Publisher redWHITEPUB; ros::Publisher redBLACKPUB; ros::Publisher blueBLANKPUB; ros::Publisher blueWHITEPUB; ros::Publisher blueBLACKPUB; ros::Subscriber redTrackSUB; ros::Subscriber blueTrackSUB; ros::Subscriber ballTrackSUB; ros::Subscriber leaderRedSUB; ros::Subscriber leaderBlueSUB; double calcDistance(int,int,int,int); double calcRelDefAngle(int,int,int,int,int,int); double calcRelFwdAngle(int,int,int,int); void setCurrPosRED(const std_msgs::Int32MultiArray::ConstPtr&); void setCurrPosBLUE(const std_msgs::Int32MultiArray::ConstPtr&); void setCurrPosBALL(const std_msgs::Int32MultiArray::ConstPtr&); void updateLeaderRED(const std_msgs::Int32MultiArray::ConstPtr&); void updateLeaderBLUE(const std_msgs::Int32MultiArray::ConstPtr&); void initializeSides(); void run(); void leaderPush0(std_msgs::Int32MultiArray&); void fwdPush(std_msgs::Int32MultiArray&, int, int, int, int); void defPush(std_msgs::Int32MultiArray&, int, int, int, int); }; int RED = 333; int BLUE = 444; int minPixelX = 0; int maxPixelX = 640; int defenceRefRED = -1; int defenceRefBLUE = -1; int fwd = 123; int def = 456; mainProcessing::mainProcessing(){ //Individual Robot Publishers (Publishes RoLES and Directions) redBLANKPUB = mainHUB.advertise("redBLANK", 30); redWHITEPUB = mainHUB.advertise("redWHITE", 30); redBLACKPUB = mainHUB.advertise("redBLACK", 30); blueBLANKPUB = mainHUB.advertise("blueBLANK", 30); blueWHITEPUB = mainHUB.advertise("blueWHITE", 30); blueBLACKPUB = mainHUB.advertise("blueBLACK", 30); //Subscriptions redTrackSUB = mainHUB.subscribe("redTrack", 30, &mainProcessing::setCurrPosRED,this); blueTrackSUB = mainHUB.subscribe("blueTrack", 30, &mainProcessing::setCurrPosBLUE,this); ballTrackSUB = mainHUB.subscribe("ballTrack", 30, &mainProcessing::setCurrPosBALL,this); leaderRedSUB = mainHUB.subscribe("toArduinoLeadRED", 30, &mainProcessing::updateLeaderRED,this); leaderBlueSUB = mainHUB.subscribe("toArduinoLeadBLUE", 30, &mainProcessing::updateLeaderBLUE,this); this->run(); } void mainProcessing::setCurrPosRED(const std_msgs::Int32MultiArray::ConstPtr& x){ //This function stores and updates the current positions of each robot in arrayRED //This didn't work on Arduino code, need to figure out how to use this one. arrayRED.data = x->data; } void mainProcessing::setCurrPosBLUE(const std_msgs::Int32MultiArray::ConstPtr& x){ //This function stores and updates the current positions of each robot in arrayBLUE //This didn't work on Arduino code, need to figure out how to use this one. arrayBLUE.data = x->data; } void mainProcessing::setCurrPosBALL(const std_msgs::Int32MultiArray::ConstPtr& x){ //This function stores and updates the current positions of each robot in arrayBALL //This didn't work on Arduino code, need to figure out how to use this one. arrayBALL.data = x->data; } void mainProcessing::updateLeaderRED(const std_msgs::Int32MultiArray::ConstPtr& x){ // Leader = 0 = BLANK RED/BLUE is leader (default) // Leader = 1 = WHITE is leader // Leader = 2 = BLACK is leader if(x->data[0] == 1) leaderRED = 0; else if(x->data[1] == 1) leaderRED = 1; else if(x->data[2] == 1) leaderRED = 2; else{ ROS_ERROR("mainProcessing::updateLeaderRED: Invalid leaderRED assignment"); return; } return; } void mainProcessing::updateLeaderBLUE(const std_msgs::Int32MultiArray::ConstPtr& x){ // Leader = 0 = BLANK RED/BLUE is leader (default) // Leader = 1 = WHITE is leader // Leader = 2 = BLACK is leader if(x->data[0] == 1) leaderBLUE = 0; else if(x->data[1] == 1) leaderBLUE = 1; else if(x->data[2] == 1) leaderBLUE = 2; else{ ROS_ERROR("mainProcessing::updateLeaderBLUE: Invalid leaderBLUE assignment"); return; } return; } void mainProcessing::initializeSides(){ //This function determines what sides the colour teams are initially on. This will give a reference to the defensive zones of the respective teams throughout the rest of the game. //Assume traditional camera placement of left-to-right, along the X pixel axis of the camera. //Pixel 0 indicates the left side of the arena //Pixel 640 represents the right side of the arena //arrayRED/arrayBLUE = [333/222, blankX, blankY, 111, whiteX, whiteY,222, blackX, blackY]; int midline = (minPixelX + maxPixelX)/2; //check this division... if((arrayRED.data[1] < midline && arrayRED.data[4] < midline && arrayRED.data[7] < midline) && (arrayBLUE.data[1] > midline && arrayBLUE.data[4] > midline && arrayBLUE.data[7] > midline)){ defenceRefRED = minPixelX; defenceRefBLUE = maxPixelX; goalxRED = defenceRefRED + 10; goalyRED = (arrayRED.data[7]+arrayBLUE.data[7])/2; goalxBLUE = defenceRefBLUE - 10; goalyBLUE = (arrayRED.data[7]+arrayBLUE.data[7])/2; } else if((arrayRED.data[1] > midline && arrayRED.data[4] > midline && arrayRED.data[7] > midline) && (arrayBLUE.data[1] < midline && arrayBLUE.data[4] < midline && arrayBLUE.data[7] < midline)){ defenceRefRED = maxPixelX; defenceRefBLUE = minPixelX; goalxRED = defenceRefRED - 10; goalyRED = (arrayRED.data[7]+arrayBLUE.data[7])/2; goalxBLUE = defenceRefBLUE + 10; goalyBLUE = (arrayRED.data[7]+arrayBLUE.data[7])/2; } else{ ROS_ERROR("mainProcessing::initializeSides(): Invalid initialization of Defensive References"); } return; } double mainProcessing::calcDistance(int x0, int y0, int x1, int y1){ double a = sqrt((pow(y1,2)-pow(y0,2)) + (pow(x1,2)-pow(x0,2))); return a; } double mainProcessing::calcRelDefAngle(int ballX, int ballY, int goalX, int goalY, int defX, int defY){ //This one will get the relative angle, from the robots persepctive (start of robot is angle 0), of which the robot needs to point. //It accepts an input of ballX,ballY, goalX, goalY, and defX, defY //This function is specific to the defensive position of the team. //For now, it will hard code to 20% of the distance between the ball and the pre-determined goal point. double k1 = 1; double k2 = 4; double tempX = ((k1*ballX)+(k2*goalX))/(k1+k2); double tempY = ((k1*ballY)+(k2*goalY))/(k1+k2); double A = calcDistance(tempX,tempY,defX,defY); double B = calcDistance(tempX,tempY, tempX,defY); //This assumes the arena is 90 degrees with camera. May want to account for tilt later. double C = calcDistance(tempX,defY,defX,defY); double theta = acos((pow(A,2) + pow(C,2) - pow(B,2))/(2*A*C)); if(tempY > defY) //Account for 0 Degree relative +/- convention for robot angle theta = -theta; if(theta >= 180) theta = theta - 360; else if(theta <=-180) theta = theta + 360; return round(theta); } double mainProcessing::calcRelFwdAngle(int oppX, int oppY, int fwdX, int fwdY){ //This one will get the relative angle, from the robots persepctive (start of robot is angle 0), of which the robot needs to point. //It accepts an input of oppX, oppY, fwdX and fwdY //This function is specific to the forward position of the team. //The idea is to locate and follow the positions of the opposing team's leader double A = calcDistance(oppX,oppY,fwdX,fwdY); double B = calcDistance(oppX,oppY, oppX,fwdY); //This assumes the arena is 90 degrees with camera. May want to account for tilt later. double C = calcDistance(oppX,fwdY,fwdX,fwdY); double theta = acos((pow(A,2) + pow(C,2) - pow(B,2))/(2*A*C)); if(oppY > fwdY) //Account for 0 Degree relative +/- convention for robot angle theta = -theta; if(theta >= 180) theta = theta - 360; else if(theta <=-180) theta = theta + 360; return round(theta); } void mainProcessing::run(){ if(defenceRefRED == -1 && defenceRefBLUE == -1){ ROS_ERROR("mainProcessing::run(): Invalid initialization of Defensive References. Did not run()."); return; } //This function watches the Arena and transmits AI controls: //AI = [CONTROL(POSITION), FORWARD(ON), TURN(ON), ANGLE] //It is up to the code on the microcontroller to limit the updates(perhaps every 3s?). (This will update frequently) //Position of Robots //arrayRED/arrayBLUE = [333/222, blankX, blankY, 111, whiteX, whiteY,222, blackX, blackY]; //Robot Reference // Index 0 = BLANK RED/BLUE Robot(default leaderRED) // Index 1 = WHITE Robot (default fRED) // Index 2 = BLACK Robot (default dRED) //Set up Arrays to be Published std_msgs::Int32MultiArray arrayRed0; std_msgs::Int32MultiArray arrayRed1; std_msgs::Int32MultiArray arrayRed2; std_msgs::Int32MultiArray arrayBlue0; std_msgs::Int32MultiArray arrayBlue1; std_msgs::Int32MultiArray arrayBlue2; //Clear Arrays to be Published arrayRed0.data.clear(); arrayRed1.data.clear(); arrayRed2.data.clear(); arrayBlue0.data.clear(); arrayBlue1.data.clear(); arrayBlue2.data.clear(); //Initialize Local Variables int blankxRED = arrayRED.data[1]; int blankyRED = arrayRED.data[2]; int whitexRED = arrayRED.data[4]; int whiteyRED = arrayRED.data[5]; int blackxRED = arrayRED.data[7]; int blackyRED = arrayRED.data[8]; int blankxBLUE = arrayBLUE.data[1]; int blankyBLUE = arrayBLUE.data[2]; int whitexBLUE = arrayBLUE.data[4]; int whiteyBLUE = arrayBLUE.data[5]; int blackxBLUE = arrayBLUE.data[7]; int blackyBLUE = arrayBLUE.data[8]; int ballX = arrayBALL.data[0]; int ballY = arrayBALL.data[1]; int leaderxRED; int leaderyRED; int leaderxBLUE; int leaderyBLUE; //***NOTE: Assumed Starting of Linear Position along centre line: leaderRED, fRED, then bRED***// while(1){ //Update Local Variables blankxRED = arrayRED.data[1]; blankyRED = arrayRED.data[2]; whitexRED = arrayRED.data[4]; whiteyRED = arrayRED.data[5]; blackxRED = arrayRED.data[7]; blackyRED = arrayRED.data[8]; blankxBLUE = arrayBLUE.data[1]; blankyBLUE = arrayBLUE.data[2]; whitexBLUE = arrayBLUE.data[4]; whiteyBLUE = arrayBLUE.data[5]; blackxBLUE = arrayBLUE.data[7]; blackyBLUE = arrayBLUE.data[8]; ballX = arrayBALL.data[0]; ballY = arrayBALL.data[1]; //Determine Leader Coordinates if(leaderRED == 0){ leaderxRED = blankxRED; leaderyRED = blankyRED; leaderPush0(arrayRed0); //Blank Controlled if(calcDistance(goalxRED, goalyRED,whitexRED,whiteyRED) > calcDistance(goalxRED,goalyRED,blackxRED,blackyRED)){ fwdPush(arrayRed1,leaderxRED,leaderyRED,whitexRED,whiteyRED); //White Forward defPush(arrayRed2,leaderxRED,leaderyRED,blackxRED,blackyRED); //Black Defence } else{ fwdPush(arrayRed2,leaderxRED,leaderyRED,blackxRED,blackyRED); //Black Forward defPush(arrayRed1,leaderxRED,leaderyRED,whitexRED,whiteyRED); //White Defence } } else if(leaderRED == 1){ leaderxRED = whitexRED; leaderyRED = whiteyRED; leaderPush0(arrayRed1); //White Controlled if(calcDistance(goalxRED, goalyRED,blankxRED,blankyRED) > calcDistance(goalxRED,goalyRED,blackxRED,blackyRED)){ fwdPush(arrayRed0,leaderxRED,leaderyRED,blankxRED,blankyRED); //Blank Forward defPush(arrayRed2,leaderxRED,leaderyRED,blackxRED,blackyRED); //Black Defence } else{ fwdPush(arrayRed2,leaderxRED,leaderyRED,blackxRED,blackyRED); //Black Forward defPush(arrayRed0,leaderxRED,leaderyRED,blankxRED,blankyRED); //Blank Defence } } else if(leaderRED == 2){ leaderxRED = blackxRED; leaderyRED = blackyRED; leaderPush0(arrayRed2); //Black Controlled if(calcDistance(goalxRED, goalyRED,whitexRED,whiteyRED) > calcDistance(goalxRED,goalyRED,blankxRED,blankyRED)){ fwdPush(arrayRed1,leaderxRED,leaderyRED,whitexRED,whiteyRED); //White Forward defPush(arrayRed0,leaderxRED,leaderyRED,blankxRED,blankyRED); //Blank Defence } else{ fwdPush(arrayRed0,leaderxRED,leaderyRED,blankxRED,blankyRED); //Blank Forward defPush(arrayRed1,leaderxRED,leaderyRED,whitexRED,whiteyRED); //White Defence } } else{ ROS_ERROR("mainProcessing::run(): Invalid leaderRED"); continue; } if(leaderBLUE == 0){ leaderxBLUE = blankxBLUE; leaderyBLUE = blankyBLUE; leaderPush0(arrayBlue0); //Blank Controlled if(calcDistance(goalxBLUE, goalyBLUE,whitexBLUE,whiteyBLUE) > calcDistance(goalxBLUE,goalyBLUE,blackxBLUE,blackyBLUE)){ fwdPush(arrayBlue1,leaderxBLUE,leaderyBLUE,whitexBLUE,whiteyBLUE); //White Forward defPush(arrayBlue2,leaderxBLUE,leaderyBLUE,blackxBLUE,blackyBLUE); //Black Defence } else{ fwdPush(arrayBlue2,leaderxBLUE,leaderyBLUE,blackxBLUE,blackyBLUE); //Black Forward defPush(arrayBlue1,leaderxBLUE,leaderyBLUE,whitexBLUE,whiteyBLUE); //White Defence } } else if(leaderBLUE == 1){ leaderxBLUE = whitexBLUE; leaderyBLUE = whiteyBLUE; leaderPush0(arrayBlue1); //White Controlled if(calcDistance(goalxBLUE, goalyBLUE,blankxBLUE,blankyBLUE) > calcDistance(goalxBLUE,goalyBLUE,blackxBLUE,blackyBLUE)){ fwdPush(arrayBlue0,leaderxBLUE,leaderyBLUE,blankxBLUE,blankyBLUE); //Blank Forward defPush(arrayBlue2,leaderxBLUE,leaderyBLUE,blackxBLUE,blackyBLUE); //Black Defence } else{ fwdPush(arrayBlue2,leaderxBLUE,leaderyBLUE,blackxBLUE,blackyBLUE); //Black Forward defPush(arrayBlue0,leaderxBLUE,leaderyBLUE,blankxBLUE,blankyBLUE); //Blank Defence } } else if(leaderBLUE == 2){ leaderxBLUE = blackxBLUE; leaderyBLUE = blackyBLUE; leaderPush0(arrayBlue2); //Blank Controlled if(calcDistance(goalxBLUE, goalyBLUE,whitexBLUE,whiteyBLUE) > calcDistance(goalxBLUE,goalyBLUE,blankxBLUE,blankyBLUE)){ fwdPush(arrayBlue1,leaderxBLUE,leaderyBLUE,whitexBLUE,whiteyBLUE); //White Forward defPush(arrayBlue0,leaderxBLUE,leaderyBLUE,blankxBLUE,blankyBLUE); //Blank Defence } else{ fwdPush(arrayBlue0,leaderxBLUE,leaderyBLUE,blankxBLUE,blankyBLUE); //Blank Forward defPush(arrayBlue1,leaderxBLUE,leaderyBLUE,whitexBLUE,whiteyBLUE); //White Defence } } else{ ROS_ERROR("mainProcessing::run(): Invalid leaderBLUE"); continue; } //Publish Arrays redBLANKPUB.publish(arrayRed0); redWHITEPUB.publish(arrayRed1); redBLACKPUB.publish(arrayRed2); blueBLANKPUB.publish(arrayBlue0); blueWHITEPUB.publish(arrayBlue1); blueBLACKPUB.publish(arrayBlue2); } return; } void mainProcessing::leaderPush0(std_msgs::Int32MultiArray& arr){ arr.data.push_back(0); arr.data.push_back(0); arr.data.push_back(0); arr.data.push_back(0); return; } void mainProcessing::fwdPush(std_msgs::Int32MultiArray& arr, int leaderX, int leaderY, int fwdX, int fwdY){ //Forward Array Inputs int distance = (int)(round(calcDistance(leaderX, leaderY,fwdX,fwdY))); int fwdAngle = (int)calcRelFwdAngle(leaderX, leaderY,fwdX,fwdY); arr.data.push_back(fwd); if(distance > 30) arr.data.push_back(1); else arr.data.push_back(0); arr.data.push_back(1); arr.data.push_back(fwdAngle); return; } void mainProcessing::defPush(std_msgs::Int32MultiArray& arr, int leaderX, int leaderY, int defX, int defY){ //Defence Array Inputs int distance = (int)(round(calcDistance(leaderX, leaderY,defX,defY))); int defAngle = (int)calcRelFwdAngle(leaderX, leaderY,defX,defY); arr.data.push_back(def); if(distance > 0) arr.data.push_back(1); else arr.data.push_back(0); arr.data.push_back(1); arr.data.push_back(defAngle); return; } int main(int argc, char **argv) { std::cout << "Running Main Processing" << std::endl; ros::init(argc, argv, "mainProcessing"); ros::NodeHandle node; mainProcessing centralHub; ros::spin(); //Enters Loop. Cancells when node is shut down or Ctrl+C is pressed return 0; }

error: ‘visualization_msgs::Marker’ has no member named ‘set_points_size’

$
0
0
i wrote fdisplay.cpp in src folder, when i run rosmake , i have error . #include #include #include #include #include #include class Transforms{ public: Transforms(); void f1Callback(const geometry_msgs::WrenchStamped&); void f2Callback(const geometry_msgs::WrenchStamped&); void DrawFn(int,char*,geometry_msgs::Vector3Stamped,int); geometry_msgs::Vector3Stamped f1ft,f2ft; geometry_msgs::PointStamped f1cl,f2cl; geometry_msgs::PointStamped start; ros::NodeHandle node; tf::TransformListener listener; ros::Subscriber f1_sub,f2_sub; ros::Publisher marker_pub; visualization_msgs::Marker marker; private: }; Transforms::Transforms(){ marker_pub = node.advertise("fmarker", 10); start.point.x=0; start.point.y=0; start.point.z=0; } void Transforms::DrawFn(int id,char* frame, geometry_msgs::Vector3Stamped vector,int color){ marker.header.frame_id = frame; marker.header.stamp = ros::Time(); marker.ns = "my_namespace"; marker.id = id; marker.type = visualization_msgs::Marker::ARROW; marker.action = visualization_msgs::Marker::ADD; marker.pose.position.x = 0; marker.pose.position.y = 0; marker.pose.position.z = 0; marker.pose.orientation.x = 0.0; marker.pose.orientation.y = 0.0; marker.pose.orientation.z = 0.0; marker.pose.orientation.w = 1.0; marker.scale.x = 0.008; marker.scale.y = 0.02; marker.scale.z = 0.0; marker.color.a = 1.0; marker.color.r = 1.0; marker.color.g = 0.0; marker.color.b = 0.0; marker.set_points_size(2); marker.points[0].x=(start.point.x)/1000; marker.points[0].y=(start.point.y)/1000; marker.points[0].z=(start.point.z)/1000; marker.points[1].x=start.point.x/1000+vector.vector.x/100; marker.points[1].y=start.point.y/1000+vector.vector.y/100; marker.points[1].z=start.point.z/1000+vector.vector.z/100; marker_pub.publish(marker); } void Transforms::f1Callback(const geometry_msgs::WrenchStamped& msg){ f1ft.vector=msg.wrench.force; } void Transforms::f2Callback(const geometry_msgs::WrenchStamped& msg){ f2ft.vector=msg.wrench.force; } int main(int argc, char** argv){ ros::init(argc, argv, "forcesdisplay"); Transforms Trans; Trans.f1_sub=Trans.node.subscribe("finger1/nano17ft",1000,&Transforms::f1Callback,&Trans); Trans.f2_sub=Trans.node.subscribe("finger2/nano17ft",1000,&Transforms::f2Callback,&Trans); ros::Rate rate(10.0); ros::Time now; geometry_msgs::Vector3Stamped wvect,weight,weight1; tf::Vector3 weight2; tf::Transformer TransClass; tf::StampedTransform transform; tf::Stamped vaux,w2; while (Trans.node.ok()){ Trans.DrawFn(1,"/BHand/FingerOne/Sensor",Trans.f1ft,1); Trans.DrawFn(2,"/BHand/FingerTwo/Sensor",Trans.f2ft,1); //DRAW WEIGHT: //FINGER 1 tf::vector3StampedMsgToTF(Trans.f1ft,vaux); try{ now = ros::Time::now(); vaux.frame_id_="/BHand/FingerOne/Sensor"; vaux.stamp_=now; Trans.listener.waitForTransform("/BHand/FingerOne/Sensor", "/robot_base", now, ros::Duration(3.0)); Trans.listener.lookupTransform("/BHand/FingerOne/Sensor", "/robot_base",now/*ros::Time(0)*/, transform); Trans.listener.transformVector("/robot_base",vaux,w2); tf::vector3TFToMsg(w2,wvect.vector); weight=wvect; } catch (tf::TransformException ex){ ROS_ERROR("%s",ex.what()); } try{ //FINGER 2 tf::vector3StampedMsgToTF(Trans.f2ft,vaux); now = ros::Time::now(); vaux.frame_id_="/BHand/FingerTwo/Sensor"; vaux.stamp_=now; Trans.listener.waitForTransform("/BHand/FingerTwo/Sensor", "/robot_base",now, ros::Duration(3.0)); Trans.listener.lookupTransform("/BHand/FingerTwo/Sensor", "/robot_base",now, transform); Trans.listener.transformVector("/robot_base",vaux,w2); tf::vector3TFToMsg(w2,wvect.vector); weight.vector.x=weight.vector.x+wvect.vector.x; weight.vector.y=weight.vector.y+wvect.vector.y; weight.vector.z=weight.vector.z+wvect.vector.z; Trans.DrawFn(5,"/robot_base",weight,3); printf("Weight:%f %f %f = %f\n",weight.vector.x,weight.vector.y,weight.vector.z,sqrt(weight.vector.x*weight.vector.x+weight.vector.y*weight.vector.y+weight.vector.z*weight.vector.z)); } catch (tf::TransformException ex){ ROS_ERROR("%s",ex.what()); } ros::spinOnce(); rate.sleep(); } return 0; }; error : Scanning dependencies of target rospack_genmsg_libexe [ 0%] Built target rospack_genmsg_libexe Scanning dependencies of target rosbuild_precompile [ 0%] Built target rosbuild_precompile Scanning dependencies of target fdisplay [ 50%] Building CXX object CMakeFiles/fdisplay.dir/src/fdisplay.cpp.o /home/zakizadeh/catkin_ws6/src/tf_workshop/src/fdisplay.cpp: In member function ‘void Transforms::DrawFn(int, char*, geometry_msgs::Vector3Stamped, int)’: /home/zakizadeh/catkin_ws6/src/tf_workshop/src/fdisplay.cpp:62:9: error: ‘visualization_msgs::Marker’ has no member named ‘set_points_size’ marker.set_points_size(2); ^ /home/zakizadeh/catkin_ws6/src/tf_workshop/src/fdisplay.cpp: In function ‘int main(int, char**)’: /home/zakizadeh/catkin_ws6/src/tf_workshop/src/fdisplay.cpp:107:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Trans.DrawFn(1,"/BHand/FingerOne/Sensor",Trans.f1ft,1); ^ /home/zakizadeh/catkin_ws6/src/tf_workshop/src/fdisplay.cpp:108:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Trans.DrawFn(2,"/BHand/FingerTwo/Sensor",Trans.f2ft,1); ^ /home/zakizadeh/catkin_ws6/src/tf_workshop/src/fdisplay.cpp:151:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Trans.DrawFn(5,"/robot_base",weight,3); ^ make[2]: *** [CMakeFiles/fdisplay.dir/src/fdisplay.cpp.o] Error 1 make[1]: *** [CMakeFiles/fdisplay.dir/all] Error 2

Linking issues with catkin: undefined references

$
0
0
I've been trying to use a sound source localization library I've attempted to catkinize, but am hitting some linking issues and am not sure why. I've followed the auto generated cmake files and adapted it to accommodate for the MARS libraries' use of in source directory header files, but I feel I'm still missing something. The packages and commits in question: * [mars](https://github.com/ruffsl/mars/tree/feb5c4fff3f0c16d623ac603b32bda450984a366) ([upstream fork](https://github.com/introlab/mars/tree/dev)) * [mars_ros](https://github.com/ruffsl/mars_ros/tree/e3ecd15c3daac49d1fb4c7c14607fc0d6bc6fe1e) Here is the main error: Starting >>> mars_ros _______________________________________________________________________________ Errors << mars_ros:make /root/catkin_ws/logs/mars_ros/build.make.000.log CMakeFiles/buf_test.dir/src/buf_test.cpp.o: In function `main': buf_test.cpp:(.text.startup+0xf): undefined reference to `arguments_construct_null()' buf_test.cpp:(.text.startup+0x1b): undefined reference to `parameters_construct_null()' buf_test.cpp:(.text.startup+0x23): undefined reference to `configs_construct_null()' buf_test.cpp:(.text.startup+0x2b): undefined reference to `objects_construct_null()' buf_test.cpp:(.text.startup+0xd1): undefined reference to `file2parameters(parameters*, char const*)' buf_test.cpp:(.text.startup+0x103): undefined reference to `parameters2configs(configs*, parameters const*)' buf_test.cpp:(.text.startup+0x144): undefined reference to `configs2objects(objects*, configs const*, arguments const*)' buf_test.cpp:(.text.startup+0x191): undefined reference to `objects2objects_process(objects*, profiler_obj*)' buf_test.cpp:(.text.startup+0x1d7): undefined reference to `arguments_destroy(arguments*)' buf_test.cpp:(.text.startup+0x1df): undefined reference to `parameters_destroy(parameters*)' buf_test.cpp:(.text.startup+0x1e7): undefined reference to `configs_destroy(configs*)' buf_test.cpp:(.text.startup+0x1ef): undefined reference to `objects_destroy(objects*)' buf_test.cpp:(.text.startup+0x36b): undefined reference to `profiler_destroy(profiler_obj*)' buf_test.cpp:(.text.startup+0x3b0): undefined reference to `tracks_printf(tracks_obj const*)' collect2: error: ld returned 1 exit status make[2]: *** [/root/catkin_ws/devel/.private/mars_ros/lib/mars_ros/buf_test] Error 1 make[1]: *** [CMakeFiles/buf_test.dir/all] Error 2 make: *** [all] Error 2 cd /root/catkin_ws/build/mars_ros; catkin build --get-env mars_ros | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd - ............................................................................... Failed << mars_ros:make [ Exited with code 2 ] Failed <<< mars_ros [ 1.6 seconds ] [build] Summary: 2 of 3 packages succeeded. [build] Ignored: None. [build] Warnings: None. [build] Abandoned: No packages were abandoned. [build] Failed: 1 packages failed. [build] Runtime: 5.6 seconds total. [build] Note: Workspace packages have changed, please re-source setup files to use them. The command '/bin/sh -c catkin config --extend /opt/ros/$ROS_DISTRO --cmake-args -DCMAKE_BUILD_TYPE=Release && catkin build' returned a non-zero code: 1 Makefile:13: recipe for target 'build' failed make: *** [build] Error 1 Here is entire verbose [catkin build log](http://pastebin.com/jcE2pHL2). And here is a dockerfile to reproduce the build error: FROM ros:kinetic # install deps RUN apt-get -qq update && \ apt-get -qq install -y \ build-essential \ cmake \ git \ libasound2-dev \ libconfig++-dev \ libfftw3-dev \ python-catkin-tools && \ rm -rf /var/lib/apt/lists/* # setup catkin workspace ENV CATKIN_WS=/root/catkin_ws RUN mkdir -p $CATKIN_WS/src WORKDIR $CATKIN_WS/src # clone source RUN git clone https://github.com/ruffsl/mars.git && \ cd mars && \ git checkout feb5c4fff3f0c16d623ac603b32bda450984a366 RUN git clone https://github.com/ruffsl/mars_ros.git && \ cd mars_ros && \ git checkout e3ecd15c3daac49d1fb4c7c14607fc0d6bc6fe1e # catkin build WORKDIR $CATKIN_WS ENV TERM xterm ENV PYTHONIOENCODING UTF-8 RUN catkin config \ --extend /opt/ros/$ROS_DISTRO \ --cmake-args \ -DCMAKE_BUILD_TYPE=Release && \ catkin build --verbose Also any recommendations for the CMakelists for either the library or node package would be welcome.

Error trying to catkin_package an existing ros package that uses eigen

$
0
0
Hi folks! I'm trying to use a ros package, specifically [force_torque_sensor_calib](https://github.com/kth-ros-pkg/force_torque_tools/tree/indigo/force_torque_sensor_calib), in my project. When I try to catkin_package() it like catkin_package(catkin REQUIRED COMPONENTS... etc... force_torque_sensor_calib) I get this error CMake Error at /home/xenvre/xenvre_ws/devel/share/force_torque_sensor_calib/cmake/force_torque_sensor_calibConfig.cmake:165 (find_package): By not providing "Findeigen.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "eigen", but CMake did not find one. Could not find a package configuration file provided by "eigen" with any of the following names: eigenConfig.cmake eigen-config.cmake Add the installation prefix of "eigen" to CMAKE_PREFIX_PATH or set "eigen_DIR" to a directory containing one of the above files. If "eigen" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package) lwr_force_position_controllers/CMakeLists.txt:7 (find_package) -- Configuring incomplete, errors occurred! where lwr_force_position_controllers is the name of my ros package. The package force_torque_sensor_calib compiles successfully. I've already tried to use cmake_modules following [this](https://github.com/ros/cmake_modules/blob/0.3-devel/README.md#usage) without success.

getting error while doing rosmake lsd_slam

$
0
0
reethiga@robot:~/rosbuild_ws/package_dir$ rosmake lsd_slam [ rosmake ] rosmake starting... [ rosmake ] Packages requested are: ['lsd_slam'] [ rosmake ] Logging to directory /home/reethiga/.ros/rosmake/rosmake_output-20170311-162303 [ rosmake ] Expanded args ['lsd_slam'] to: ['lsd_slam_viewer', 'lsd_slam_core'] [rosmake-0] Starting >>> catkin [ make ] [rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin No Makefile in package catkin [rosmake-0] Starting >>> genmsg [ make ] [rosmake-0] Finished <<< genmsg ROS_NOBUILD in package genmsg No Makefile in package genmsg [rosmake-0] Starting >>> genlisp [ make ] [rosmake-1] Starting >>> genpy [ make ] [rosmake-0] Finished <<< genlisp ROS_NOBUILD in package genlisp No Makefile in package genlisp [rosmake-0] Starting >>> gencpp [ make ] [rosmake-1] Finished <<< genpy ROS_NOBUILD in package genpy No Makefile in package genpy [rosmake-1] Starting >>> geneus [ make ] [rosmake-0] Finished <<< gencpp ROS_NOBUILD in package gencpp No Makefile in package gencpp [rosmake-0] Starting >>> gennodejs [ make ] [rosmake-0] Finished <<< gennodejs ROS_NOBUILD in package gennodejs No Makefile in package gennodejs [rosmake-0] Starting >>> cpp_common [ make ] [rosmake-1] Finished <<< geneus ROS_NOBUILD in package geneus No Makefile in package geneus [rosmake-1] Starting >>> message_generation [ make ] [rosmake-0] Finished <<< cpp_common ROS_NOBUILD in package cpp_common No Makefile in package cpp_common [rosmake-0] Starting >>> rostime [ make ] [rosmake-1] Finished <<< message_generation ROS_NOBUILD in package message_generation No Makefile in package message_generation [rosmake-1] Starting >>> opencv3 [ make ] [rosmake-0] Finished <<< rostime ROS_NOBUILD in package rostime No Makefile in package rostime [rosmake-0] Starting >>> roscpp_traits [ make ] [rosmake-1] Finished <<< opencv3 ROS_NOBUILD in package opencv3 No Makefile in package opencv3 [rosmake-0] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits No Makefile in package roscpp_traits [rosmake-0] Starting >>> roscpp_serialization [ make ] [rosmake-1] Starting >>> rosgraph [ make ] [rosmake-0] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization No Makefile in package roscpp_serialization [rosmake-0] Starting >>> message_runtime [ make ] [rosmake-1] Finished <<< rosgraph ROS_NOBUILD in package rosgraph No Makefile in package rosgraph [rosmake-1] Starting >>> rosparam [ make ] [rosmake-0] Finished <<< message_runtime ROS_NOBUILD in package message_runtime No Makefile in package message_runtime [rosmake-1] Finished <<< rosparam ROS_NOBUILD in package rosparam No Makefile in package rosparam [rosmake-1] Starting >>> cmake_modules [ make ] [rosmake-0] Starting >>> std_msgs [ make ] [rosmake-0] Finished <<< std_msgs ROS_NOBUILD in package std_msgs No Makefile in package std_msgs [rosmake-0] Starting >>> geometry_msgs [ make ] [rosmake-1] Finished <<< cmake_modules ROS_NOBUILD in package cmake_modules No Makefile in package cmake_modules [rosmake-1] Starting >>> rosgraph_msgs [ make ] [rosmake-0] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs No Makefile in package geometry_msgs [rosmake-0] Starting >>> sensor_msgs [ make ] [rosmake-1] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs No Makefile in package rosgraph_msgs [rosmake-1] Starting >>> rospack [ make ] [rosmake-0] Finished <<< sensor_msgs ROS_NOBUILD in package sensor_msgs No Makefile in package sensor_msgs [rosmake-0] Starting >>> rosbuild [ make ] [rosmake-1] Finished <<< rospack ROS_NOBUILD in package rospack 21/45 Complete ] No Makefile in package rospack [rosmake-1] Starting >>> roslib [ make ] [rosmake-0] Finished <<< rosbuild ROS_NOBUILD in package rosbuild No Makefile in package rosbuild [rosmake-0] Starting >>> rosmaster [ make ] [rosmake-1] Finished <<< roslib ROS_NOBUILD in package roslib No Makefile in package roslib [rosmake-1] Starting >>> rosunit [ make ] [rosmake-0] Finished <<< rosmaster ROS_NOBUILD in package rosmaster No Makefile in package rosmaster [rosmake-0] Starting >>> roslang [ make ] [rosmake-1] Finished <<< rosunit ROS_NOBUILD in package rosunit No Makefile in package rosunit [rosmake-1] Starting >>> rosconsole [ make ] [rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang No Makefile in package roslang [rosmake-0] Starting >>> xmlrpcpp [ make ] [rosmake-1] Finished <<< rosconsole ROS_NOBUILD in package rosconsole No Makefile in package rosconsole [rosmake-1] Starting >>> rosclean [ make ] [rosmake-0] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp No Makefile in package xmlrpcpp [rosmake-0] Starting >>> roscpp [ make ] [rosmake-1] Finished <<< rosclean ROS_NOBUILD in package rosclean No Makefile in package rosclean [rosmake-1] Starting >>> roslz4 [ make ] [rosmake-0] Finished <<< roscpp ROS_NOBUILD in package roscpp No Makefile in package roscpp [rosmake-0] Starting >>> rosout [ make ] [rosmake-0] Finished <<< rosout ROS_NOBUILD in package rosout No Makefile in package rosout [rosmake-0] Starting >>> roslaunch [ make ] [rosmake-1] Finished <<< roslz4 ROS_NOBUILD in package roslz4 No Makefile in package roslz4 [rosmake-1] Starting >>> rospy [ make ] [rosmake-1] Finished <<< rospy ROS_NOBUILD in package rospy No Makefile in package rospy [rosmake-1] Starting >>> rosbag_storage [ make ] [rosmake-0] Finished <<< roslaunch ROS_NOBUILD in package roslaunch No Makefile in package roslaunch [rosmake-0] Starting >>> rostest [ make ] [rosmake-1] Finished <<< rosbag_storage ROS_NOBUILD in package rosbag_storage No Makefile in package rosbag_storage [rosmake-0] Finished <<< rostest ROS_NOBUILD in package rostest No Makefile in package rostest [rosmake-0] Starting >>> cv_bridge [ make ] [rosmake-0] Finished <<< cv_bridge ROS_NOBUILD in package cv_bridge No Makefile in package cv_bridge [rosmake-0] Starting >>> topic_tools [ make ] [rosmake-0] Finished <<< topic_tools ROS_NOBUILD in package topic_tools No Makefile in package topic_tools [rosmake-0] Starting >>> rosbag [ make ] [rosmake-0] Finished <<< rosbag ROS_NOBUILD in package rosbag No Makefile in package rosbag [rosmake-0] Starting >>> rosmsg [ make ] [rosmake-0] Finished <<< rosmsg ROS_NOBUILD in package rosmsg No Makefile in package rosmsg [rosmake-0] Starting >>> rosservice [ make ] [rosmake-0] Finished <<< rosservice ROS_NOBUILD in package rosservice No Makefile in package rosservice [rosmake-0] Starting >>> dynamic_reconfigure [ make ] [rosmake-0] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure No Makefile in package dynamic_reconfigure [rosmake-0] Starting >>> lsd_slam_viewer [ make ] [ rosmake ] Last 40 linesd_slam_viewer: 34.9 sec ] [ 1 Active 43/45 Complete ] {------------------------------------------------------------------------------- QGLVIEWER_INCLUDE_DIR used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer used as include directory in directory /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer -- Configuring incomplete, errors occurred! See also "/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeOutput.log". See also "/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeError.log". /opt/ros/kinetic/share/mk/cmake.mk:7: recipe for target 'all' failed -------------------------------------------------------------------------------} [ rosmake ] Output from build of package lsd_slam_viewer written to:5 Complete ] [ rosmake ] /home/reethiga/.ros/rosmake/rosmake_output-20170311-162303/lsd_slam_viewer/build_output.log [rosmake-0] Finished <<< lsd_slam_viewer [FAIL] [ 34.94 seconds ] [ rosmake ] Halting due to failure in package lsd_slam_viewer. [ rosmake ] Waiting for other threads to complete. [ rosmake ] Results: [ rosmake ] Built 44 packages with 1 failures. [ rosmake ] Summary output to directory [ rosmake ] /home/reethiga/.ros/rosmake/rosmake_output-20170311-162303 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: *** CMakeOutput.log --------------- *** The system is: Linux - 4.4.0-64-generic - x86_64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /usr/bin/cc Build flags: Id flags: The output was: 0 Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is GNU, found in "/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/3.5.1/CompilerIdC/a.out" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /usr/bin/c++ Build flags: Id flags: The output was: 0 Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" The CXX compiler identification is GNU, found in "/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/3.5.1/CompilerIdCXX/a.out" Determining if the C compiler works passed with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1e9ed/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_1e9ed.dir/build.make CMakeFiles/cmTC_1e9ed.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1e9ed.dir/testCCompiler.c.o /usr/bin/cc -o CMakeFiles/cmTC_1e9ed.dir/testCCompiler.c.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_1e9ed /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1e9ed.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTC_1e9ed.dir/testCCompiler.c.o -o cmTC_1e9ed -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Detecting C compiler ABI info compiled with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e480e/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e480e.dir/build.make CMakeFiles/cmTC_e480e.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e480e.dir/CMakeCCompilerABI.c.o /usr/bin/cc -o CMakeFiles/cmTC_e480e.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c Linking C executable cmTC_e480e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e480e.dir/link.txt --verbose=1 /usr/bin/cc -v CMakeFiles/cmTC_e480e.dir/CMakeCCompilerABI.c.o -o cmTC_e480e -rdynamic Using built-in specs. COLLECT_GCC=/usr/bin/cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e480e' '-rdynamic' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccxqT1i8.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_e480e /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_e480e.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Parsed C implicit link information from above output: link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:"/usr/bin/make" "cmTC_e480e/fast"] ignore line: [make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp'] ignore line: [/usr/bin/make -f CMakeFiles/cmTC_e480e.dir/build.make CMakeFiles/cmTC_e480e.dir/build] ignore line: [make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp'] ignore line: [Building C object CMakeFiles/cmTC_e480e.dir/CMakeCCompilerABI.c.o] ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_e480e.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c] ignore line: [Linking C executable cmTC_e480e] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e480e.dir/link.txt --verbose=1] ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_e480e.dir/CMakeCCompilerABI.c.o -o cmTC_e480e -rdynamic ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/cc] ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ignore line: [Target: x86_64-linux-gnu] ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] ignore line: [Thread model: posix] ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ] ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e480e' '-rdynamic' '-mtune=generic' '-march=x86-64'] link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccxqT1i8.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_e480e /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_e480e.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o] arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore arg [-plugin] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/ccxqT1i8.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [--sysroot=/] ==> ignore arg [--build-id] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-m] ==> ignore arg [elf_x86_64] ==> ignore arg [--hash-style=gnu] ==> ignore arg [--as-needed] ==> ignore arg [-export-dynamic] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib64/ld-linux-x86-64.so.2] ==> ignore arg [-zrelro] ==> ignore arg [-o] ==> ignore arg [cmTC_e480e] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/x86_64-linux-gnu/5] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5] arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu] arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib] arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] arg [-L/lib/../lib] ==> dir [/lib/../lib] arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..] arg [CMakeFiles/cmTC_e480e.dir/CMakeCCompilerABI.c.o] ==> ignore arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [-lc] ==> lib [c] arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtend.o] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o] ==> ignore remove lib [gcc] remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5] ==> [/usr/lib/gcc/x86_64-linux-gnu/5] collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib] ==> [/usr/lib] collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] collapse library dir [/lib/../lib] ==> [/lib] collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] collapse library dir [/usr/lib/../lib] ==> [/usr/lib] collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> [/usr/lib] implicit libs: [c] implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/5;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] implicit fwks: [] Detecting C [-std=c11] compiler features compiled with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_833eb/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_833eb.dir/build.make CMakeFiles/cmTC_833eb.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_833eb.dir/feature_tests.c.o /usr/bin/cc -std=c11 -o CMakeFiles/cmTC_833eb.dir/feature_tests.c.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/feature_tests.c Linking C executable cmTC_833eb /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_833eb.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTC_833eb.dir/feature_tests.c.o -o cmTC_833eb -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Feature record: C_FEATURE:1c_function_prototypes Feature record: C_FEATURE:1c_restrict Feature record: C_FEATURE:1c_static_assert Feature record: C_FEATURE:1c_variadic_macros Detecting C [-std=c99] compiler features compiled with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bf365/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_bf365.dir/build.make CMakeFiles/cmTC_bf365.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bf365.dir/feature_tests.c.o /usr/bin/cc -std=c99 -o CMakeFiles/cmTC_bf365.dir/feature_tests.c.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/feature_tests.c Linking C executable cmTC_bf365 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bf365.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTC_bf365.dir/feature_tests.c.o -o cmTC_bf365 -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Feature record: C_FEATURE:1c_function_prototypes Feature record: C_FEATURE:1c_restrict Feature record: C_FEATURE:0c_static_assert Feature record: C_FEATURE:1c_variadic_macros Detecting C [-std=c90] compiler features compiled with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_85b64/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_85b64.dir/build.make CMakeFiles/cmTC_85b64.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_85b64.dir/feature_tests.c.o /usr/bin/cc -std=c90 -o CMakeFiles/cmTC_85b64.dir/feature_tests.c.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/feature_tests.c Linking C executable cmTC_85b64 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_85b64.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTC_85b64.dir/feature_tests.c.o -o cmTC_85b64 -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Feature record: C_FEATURE:1c_function_prototypes Feature record: C_FEATURE:0c_restrict Feature record: C_FEATURE:0c_static_assert Feature record: C_FEATURE:0c_variadic_macros Determining if the CXX compiler works passed with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7cab0/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7cab0.dir/build.make CMakeFiles/cmTC_7cab0.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_7cab0.dir/testCXXCompiler.cxx.o /usr/bin/c++ -o CMakeFiles/cmTC_7cab0.dir/testCXXCompiler.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_7cab0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7cab0.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_7cab0.dir/testCXXCompiler.cxx.o -o cmTC_7cab0 -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Detecting CXX compiler ABI info compiled with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_97c67/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_97c67.dir/build.make CMakeFiles/cmTC_97c67.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_97c67.dir/CMakeCXXCompilerABI.cpp.o /usr/bin/c++ -o CMakeFiles/cmTC_97c67.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp Linking CXX executable cmTC_97c67 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_97c67.dir/link.txt --verbose=1 /usr/bin/c++ -v CMakeFiles/cmTC_97c67.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_97c67 -rdynamic Using built-in specs. COLLECT_GCC=/usr/bin/c++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_97c67' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccwZPdBE.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_97c67 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_97c67.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Parsed CXX implicit link information from above output: link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:"/usr/bin/make" "cmTC_97c67/fast"] ignore line: [make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp'] ignore line: [/usr/bin/make -f CMakeFiles/cmTC_97c67.dir/build.make CMakeFiles/cmTC_97c67.dir/build] ignore line: [make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp'] ignore line: [Building CXX object CMakeFiles/cmTC_97c67.dir/CMakeCXXCompilerABI.cpp.o] ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_97c67.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp] ignore line: [Linking CXX executable cmTC_97c67] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_97c67.dir/link.txt --verbose=1] ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_97c67.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_97c67 -rdynamic ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/c++] ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ignore line: [Target: x86_64-linux-gnu] ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] ignore line: [Thread model: posix] ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ] ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_97c67' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccwZPdBE.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_97c67 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_97c67.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o] arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore arg [-plugin] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/ccwZPdBE.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [--sysroot=/] ==> ignore arg [--build-id] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-m] ==> ignore arg [elf_x86_64] ==> ignore arg [--hash-style=gnu] ==> ignore arg [--as-needed] ==> ignore arg [-export-dynamic] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib64/ld-linux-x86-64.so.2] ==> ignore arg [-zrelro] ==> ignore arg [-o] ==> ignore arg [cmTC_97c67] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/x86_64-linux-gnu/5] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5] arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu] arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib] arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] arg [-L/lib/../lib] ==> dir [/lib/../lib] arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..] arg [CMakeFiles/cmTC_97c67.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore arg [-lstdc++] ==> lib [stdc++] arg [-lm] ==> lib [m] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [-lc] ==> lib [c] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtend.o] ==> ignore arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o] ==> ignore remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] remove lib [gcc] collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5] ==> [/usr/lib/gcc/x86_64-linux-gnu/5] collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib] ==> [/usr/lib] collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] collapse library dir [/lib/../lib] ==> [/lib] collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] collapse library dir [/usr/lib/../lib] ==> [/usr/lib] collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> [/usr/lib] implicit libs: [stdc++;m;c] implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/5;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] implicit fwks: [] Detecting CXX [-std=c++14] compiler features compiled with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_cc6d8/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_cc6d8.dir/build.make CMakeFiles/cmTC_cc6d8.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_cc6d8.dir/feature_tests.cxx.o /usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_cc6d8.dir/feature_tests.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_cc6d8 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cc6d8.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_cc6d8.dir/feature_tests.cxx.o -o cmTC_cc6d8 -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers Feature record: CXX_FEATURE:1cxx_alias_templates Feature record: CXX_FEATURE:1cxx_alignas Feature record: CXX_FEATURE:1cxx_alignof Feature record: CXX_FEATURE:1cxx_attributes Feature record: CXX_FEATURE:1cxx_attribute_deprecated Feature record: CXX_FEATURE:1cxx_auto_type Feature record: CXX_FEATURE:1cxx_binary_literals Feature record: CXX_FEATURE:1cxx_constexpr Feature record: CXX_FEATURE:1cxx_contextual_conversions Feature record: CXX_FEATURE:1cxx_decltype Feature record: CXX_FEATURE:1cxx_decltype_auto Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types Feature record: CXX_FEATURE:1cxx_default_function_template_args Feature record: CXX_FEATURE:1cxx_defaulted_functions Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers Feature record: CXX_FEATURE:1cxx_delegating_constructors Feature record: CXX_FEATURE:1cxx_deleted_functions Feature record: CXX_FEATURE:1cxx_digit_separators Feature record: CXX_FEATURE:1cxx_enum_forward_declarations Feature record: CXX_FEATURE:1cxx_explicit_conversions Feature record: CXX_FEATURE:1cxx_extended_friend_declarations Feature record: CXX_FEATURE:1cxx_extern_templates Feature record: CXX_FEATURE:1cxx_final Feature record: CXX_FEATURE:1cxx_func_identifier Feature record: CXX_FEATURE:1cxx_generalized_initializers Feature record: CXX_FEATURE:1cxx_generic_lambdas Feature record: CXX_FEATURE:1cxx_inheriting_constructors Feature record: CXX_FEATURE:1cxx_inline_namespaces Feature record: CXX_FEATURE:1cxx_lambdas Feature record: CXX_FEATURE:1cxx_lambda_init_captures Feature record: CXX_FEATURE:1cxx_local_type_template_args Feature record: CXX_FEATURE:1cxx_long_long_type Feature record: CXX_FEATURE:1cxx_noexcept Feature record: CXX_FEATURE:1cxx_nonstatic_member_init Feature record: CXX_FEATURE:1cxx_nullptr Feature record: CXX_FEATURE:1cxx_override Feature record: CXX_FEATURE:1cxx_range_for Feature record: CXX_FEATURE:1cxx_raw_string_literals Feature record: CXX_FEATURE:1cxx_reference_qualified_functions Feature record: CXX_FEATURE:1cxx_relaxed_constexpr Feature record: CXX_FEATURE:1cxx_return_type_deduction Feature record: CXX_FEATURE:1cxx_right_angle_brackets Feature record: CXX_FEATURE:1cxx_rvalue_references Feature record: CXX_FEATURE:1cxx_sizeof_member Feature record: CXX_FEATURE:1cxx_static_assert Feature record: CXX_FEATURE:1cxx_strong_enums Feature record: CXX_FEATURE:1cxx_template_template_parameters Feature record: CXX_FEATURE:1cxx_thread_local Feature record: CXX_FEATURE:1cxx_trailing_return_types Feature record: CXX_FEATURE:1cxx_unicode_literals Feature record: CXX_FEATURE:1cxx_uniform_initialization Feature record: CXX_FEATURE:1cxx_unrestricted_unions Feature record: CXX_FEATURE:1cxx_user_literals Feature record: CXX_FEATURE:1cxx_variable_templates Feature record: CXX_FEATURE:1cxx_variadic_macros Feature record: CXX_FEATURE:1cxx_variadic_templates Detecting CXX [-std=c++11] compiler features compiled with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a1cef/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a1cef.dir/build.make CMakeFiles/cmTC_a1cef.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_a1cef.dir/feature_tests.cxx.o /usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_a1cef.dir/feature_tests.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_a1cef /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a1cef.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_a1cef.dir/feature_tests.cxx.o -o cmTC_a1cef -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers Feature record: CXX_FEATURE:1cxx_alias_templates Feature record: CXX_FEATURE:1cxx_alignas Feature record: CXX_FEATURE:1cxx_alignof Feature record: CXX_FEATURE:1cxx_attributes Feature record: CXX_FEATURE:0cxx_attribute_deprecated Feature record: CXX_FEATURE:1cxx_auto_type Feature record: CXX_FEATURE:0cxx_binary_literals Feature record: CXX_FEATURE:1cxx_constexpr Feature record: CXX_FEATURE:0cxx_contextual_conversions Feature record: CXX_FEATURE:1cxx_decltype Feature record: CXX_FEATURE:0cxx_decltype_auto Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types Feature record: CXX_FEATURE:1cxx_default_function_template_args Feature record: CXX_FEATURE:1cxx_defaulted_functions Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers Feature record: CXX_FEATURE:1cxx_delegating_constructors Feature record: CXX_FEATURE:1cxx_deleted_functions Feature record: CXX_FEATURE:0cxx_digit_separators Feature record: CXX_FEATURE:1cxx_enum_forward_declarations Feature record: CXX_FEATURE:1cxx_explicit_conversions Feature record: CXX_FEATURE:1cxx_extended_friend_declarations Feature record: CXX_FEATURE:1cxx_extern_templates Feature record: CXX_FEATURE:1cxx_final Feature record: CXX_FEATURE:1cxx_func_identifier Feature record: CXX_FEATURE:1cxx_generalized_initializers Feature record: CXX_FEATURE:0cxx_generic_lambdas Feature record: CXX_FEATURE:1cxx_inheriting_constructors Feature record: CXX_FEATURE:1cxx_inline_namespaces Feature record: CXX_FEATURE:1cxx_lambdas Feature record: CXX_FEATURE:0cxx_lambda_init_captures Feature record: CXX_FEATURE:1cxx_local_type_template_args Feature record: CXX_FEATURE:1cxx_long_long_type Feature record: CXX_FEATURE:1cxx_noexcept Feature record: CXX_FEATURE:1cxx_nonstatic_member_init Feature record: CXX_FEATURE:1cxx_nullptr Feature record: CXX_FEATURE:1cxx_override Feature record: CXX_FEATURE:1cxx_range_for Feature record: CXX_FEATURE:1cxx_raw_string_literals Feature record: CXX_FEATURE:1cxx_reference_qualified_functions Feature record: CXX_FEATURE:0cxx_relaxed_constexpr Feature record: CXX_FEATURE:0cxx_return_type_deduction Feature record: CXX_FEATURE:1cxx_right_angle_brackets Feature record: CXX_FEATURE:1cxx_rvalue_references Feature record: CXX_FEATURE:1cxx_sizeof_member Feature record: CXX_FEATURE:1cxx_static_assert Feature record: CXX_FEATURE:1cxx_strong_enums Feature record: CXX_FEATURE:1cxx_template_template_parameters Feature record: CXX_FEATURE:1cxx_thread_local Feature record: CXX_FEATURE:1cxx_trailing_return_types Feature record: CXX_FEATURE:1cxx_unicode_literals Feature record: CXX_FEATURE:1cxx_uniform_initialization Feature record: CXX_FEATURE:1cxx_unrestricted_unions Feature record: CXX_FEATURE:1cxx_user_literals Feature record: CXX_FEATURE:0cxx_variable_templates Feature record: CXX_FEATURE:1cxx_variadic_macros Feature record: CXX_FEATURE:1cxx_variadic_templates Detecting CXX [-std=c++98] compiler features compiled with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ea9c3/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ea9c3.dir/build.make CMakeFiles/cmTC_ea9c3.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ea9c3.dir/feature_tests.cxx.o /usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_ea9c3.dir/feature_tests.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_ea9c3 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ea9c3.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_ea9c3.dir/feature_tests.cxx.o -o cmTC_ea9c3 -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers Feature record: CXX_FEATURE:0cxx_alias_templates Feature record: CXX_FEATURE:0cxx_alignas Feature record: CXX_FEATURE:0cxx_alignof Feature record: CXX_FEATURE:0cxx_attributes Feature record: CXX_FEATURE:0cxx_attribute_deprecated Feature record: CXX_FEATURE:0cxx_auto_type Feature record: CXX_FEATURE:0cxx_binary_literals Feature record: CXX_FEATURE:0cxx_constexpr Feature record: CXX_FEATURE:0cxx_contextual_conversions Feature record: CXX_FEATURE:0cxx_decltype Feature record: CXX_FEATURE:0cxx_decltype_auto Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types Feature record: CXX_FEATURE:0cxx_default_function_template_args Feature record: CXX_FEATURE:0cxx_defaulted_functions Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers Feature record: CXX_FEATURE:0cxx_delegating_constructors Feature record: CXX_FEATURE:0cxx_deleted_functions Feature record: CXX_FEATURE:0cxx_digit_separators Feature record: CXX_FEATURE:0cxx_enum_forward_declarations Feature record: CXX_FEATURE:0cxx_explicit_conversions Feature record: CXX_FEATURE:0cxx_extended_friend_declarations Feature record: CXX_FEATURE:0cxx_extern_templates Feature record: CXX_FEATURE:0cxx_final Feature record: CXX_FEATURE:0cxx_func_identifier Feature record: CXX_FEATURE:0cxx_generalized_initializers Feature record: CXX_FEATURE:0cxx_generic_lambdas Feature record: CXX_FEATURE:0cxx_inheriting_constructors Feature record: CXX_FEATURE:0cxx_inline_namespaces Feature record: CXX_FEATURE:0cxx_lambdas Feature record: CXX_FEATURE:0cxx_lambda_init_captures Feature record: CXX_FEATURE:0cxx_local_type_template_args Feature record: CXX_FEATURE:0cxx_long_long_type Feature record: CXX_FEATURE:0cxx_noexcept Feature record: CXX_FEATURE:0cxx_nonstatic_member_init Feature record: CXX_FEATURE:0cxx_nullptr Feature record: CXX_FEATURE:0cxx_override Feature record: CXX_FEATURE:0cxx_range_for Feature record: CXX_FEATURE:0cxx_raw_string_literals Feature record: CXX_FEATURE:0cxx_reference_qualified_functions Feature record: CXX_FEATURE:0cxx_relaxed_constexpr Feature record: CXX_FEATURE:0cxx_return_type_deduction Feature record: CXX_FEATURE:0cxx_right_angle_brackets Feature record: CXX_FEATURE:0cxx_rvalue_references Feature record: CXX_FEATURE:0cxx_sizeof_member Feature record: CXX_FEATURE:0cxx_static_assert Feature record: CXX_FEATURE:0cxx_strong_enums Feature record: CXX_FEATURE:1cxx_template_template_parameters Feature record: CXX_FEATURE:0cxx_thread_local Feature record: CXX_FEATURE:0cxx_trailing_return_types Feature record: CXX_FEATURE:0cxx_unicode_literals Feature record: CXX_FEATURE:0cxx_uniform_initialization Feature record: CXX_FEATURE:0cxx_unrestricted_unions Feature record: CXX_FEATURE:0cxx_user_literals Feature record: CXX_FEATURE:0cxx_variable_templates Feature record: CXX_FEATURE:0cxx_variadic_macros Feature record: CXX_FEATURE:0cxx_variadic_templates Determining if the include file pthread.h exists passed with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_55607/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_55607.dir/build.make CMakeFiles/cmTC_55607.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_55607.dir/CheckIncludeFile.c.o /usr/bin/cc -o CMakeFiles/cmTC_55607.dir/CheckIncludeFile.c.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_55607 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55607.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTC_55607.dir/CheckIncludeFile.c.o -o cmTC_55607 -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Determining if the function pthread_create exists in the pthread passed with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ed6d6/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ed6d6.dir/build.make CMakeFiles/cmTC_ed6d6.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ed6d6.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_ed6d6.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c Linking C executable cmTC_ed6d6 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ed6d6.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_ed6d6.dir/CheckFunctionExists.c.o -o cmTC_ed6d6 -rdynamic -lpthread make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Determining if the Q_WS_X11 exist passed with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_91f7e/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_91f7e.dir/build.make CMakeFiles/cmTC_91f7e.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_91f7e.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/qt4 -o CMakeFiles/cmTC_91f7e.dir/CheckSymbolExists.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx Linking CXX executable cmTC_91f7e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_91f7e.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_91f7e.dir/CheckSymbolExists.cxx.o -o cmTC_91f7e -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' File /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_X11 return ((int*)(&Q_WS_X11))[argc]; #else (void)argc; return 0; #endif } Performing C++ SOURCE FILE Test HAS_SSE3_EXTENSIONS succeeded with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2d828/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_2d828.dir/build.make CMakeFiles/cmTC_2d828.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_2d828.dir/src.cxx.o /usr/bin/c++ -DHAS_SSE3_EXTENSIONS -msse3 -o CMakeFiles/cmTC_2d828.dir/src.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_2d828 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2d828.dir/link.txt --verbose=1 /usr/bin/c++ -DHAS_SSE3_EXTENSIONS -msse3 CMakeFiles/cmTC_2d828.dir/src.cxx.o -o cmTC_2d828 -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Return value: 1 Source file was: #include int main() { __m128d a, b; double vals[2] = {0}; a = _mm_loadu_pd(vals); b = _mm_hadd_pd(a,a); _mm_storeu_pd(vals, b); return 0; } Performing C++ SOURCE FILE Test HAS_SSE2_EXTENSIONS succeeded with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_36703/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_36703.dir/build.make CMakeFiles/cmTC_36703.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_36703.dir/src.cxx.o /usr/bin/c++ -DHAS_SSE2_EXTENSIONS -msse2 -o CMakeFiles/cmTC_36703.dir/src.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_36703 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_36703.dir/link.txt --verbose=1 /usr/bin/c++ -DHAS_SSE2_EXTENSIONS -msse2 CMakeFiles/cmTC_36703.dir/src.cxx.o -o cmTC_36703 -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Return value: 1 Source file was: #include int main() { __m128d a, b; double vals[2] = {0}; a = _mm_loadu_pd(vals); b = _mm_add_pd(a,a); _mm_storeu_pd(vals,b); return 0; } Performing C++ SOURCE FILE Test HAS_SSE_EXTENSIONS succeeded with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9d01e/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_9d01e.dir/build.make CMakeFiles/cmTC_9d01e.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_9d01e.dir/src.cxx.o /usr/bin/c++ -DHAS_SSE_EXTENSIONS -msse -o CMakeFiles/cmTC_9d01e.dir/src.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_9d01e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9d01e.dir/link.txt --verbose=1 /usr/bin/c++ -DHAS_SSE_EXTENSIONS -msse CMakeFiles/cmTC_9d01e.dir/src.cxx.o -o cmTC_9d01e -rdynamic make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Return value: 1 Source file was: #include int main() { __m128 a, b; float vals[4] = {0}; a = _mm_loadu_ps(vals); b = a; b = _mm_add_ps(a,b); _mm_storeu_ps(vals,b); return 0; } :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ***CMakeError.log*** -------------------- Determining if the pthread_create exist failed with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_24ee5/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_24ee5.dir/build.make CMakeFiles/cmTC_24ee5.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_24ee5.dir/CheckSymbolExists.c.o /usr/bin/cc -o CMakeFiles/cmTC_24ee5.dir/CheckSymbolExists.c.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_24ee5 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_24ee5.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTC_24ee5.dir/CheckSymbolExists.c.o -o cmTC_24ee5 -rdynamic CMakeFiles/cmTC_24ee5.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_24ee5.dir/build.make:97: recipe for target 'cmTC_24ee5' failed make[2]: *** [cmTC_24ee5] Error 1 make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_24ee5/fast' failed make[1]: *** [cmTC_24ee5/fast] Error 2 make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' File /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c8472/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c8472.dir/build.make CMakeFiles/cmTC_c8472.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c8472.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_c8472.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c Linking C executable cmTC_c8472 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c8472.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_c8472.dir/CheckFunctionExists.c.o -o cmTC_c8472 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_c8472.dir/build.make:97: recipe for target 'cmTC_c8472' failed make[2]: *** [cmTC_c8472] Error 1 make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c8472/fast' failed make[1]: *** [cmTC_c8472/fast] Error 2 make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_aced5/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_aced5.dir/build.make CMakeFiles/cmTC_aced5.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_aced5.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/qt4 -o CMakeFiles/cmTC_aced5.dir/CheckSymbolExists.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope return ((int*)(&Q_WS_WIN))[argc]; ^ CMakeFiles/cmTC_aced5.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_aced5.dir/CheckSymbolExists.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_aced5.dir/CheckSymbolExists.cxx.o] Error 1 make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_aced5/fast' failed make[1]: *** [cmTC_aced5/fast] Error 2 make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' File /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_WIN return ((int*)(&Q_WS_WIN))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_QWS exist failed with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ebca9/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ebca9.dir/build.make CMakeFiles/cmTC_ebca9.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ebca9.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/qt4 -o CMakeFiles/cmTC_ebca9.dir/CheckSymbolExists.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_QWS’ was not declared in this scope return ((int*)(&Q_WS_QWS))[argc]; ^ CMakeFiles/cmTC_ebca9.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ebca9.dir/CheckSymbolExists.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_ebca9.dir/CheckSymbolExists.cxx.o] Error 1 make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_ebca9/fast' failed make[1]: *** [cmTC_ebca9/fast] Error 2 make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' File /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_QWS return ((int*)(&Q_WS_QWS))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_MAC exist failed with the following output: Change Dir: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_57374/fast" make[1]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_57374.dir/build.make CMakeFiles/cmTC_57374.dir/build make[2]: Entering directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_57374.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/qt4 -o CMakeFiles/cmTC_57374.dir/CheckSymbolExists.cxx.o -c /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_MAC’ was not declared in this scope return ((int*)(&Q_WS_MAC))[argc]; ^ CMakeFiles/cmTC_57374.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_57374.dir/CheckSymbolExists.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_57374.dir/CheckSymbolExists.cxx.o] Error 1 make[2]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_57374/fast' failed make[1]: *** [cmTC_57374/fast] Error 2 make[1]: Leaving directory '/home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp' File /home/reethiga/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_MAC return ((int*)(&Q_WS_MAC))[argc]; #else (void)argc; return 0; #endif }

Could not find the 'robot' element in the xml file

$
0
0
we faced this error while running a robot model package. why this error appears? could you help us with solving this problem?

error message "could not find package 'ros-kinetic-desktop-full'"

$
0
0
Trying to install ROS both through the terminal and by clicking on the "click here" link. In both cases I get an error message "could not find package 'ros-kinetic-desktop-full'". What do I do now? Thanks for your help. Zale

the terminator report Name error :'global name : 'AddTwoIntsResponse' is not defined'.

$
0
0
I am leaning ROS,and my distribution is Indigo,when I followed the [tutorials](http://wiki.ros.org/cn/ROS/Tutorials/WritingServiceClient%28python%29).When I run the `rosrun beginner_tutorials add_two_ints_client.py` I encountered this error:`Name error:global name:'AddTwoIntsResponse' is not defined`.But I do find the AddTwoIntsResponse class at line 115:`~/catkin_ws/devel/lib/python2.7/dist-packages/beginner_tutorials/srv/_AddTwoInts.py`,why do this happens?

help building cpp opencv app with ROS

$
0
0
Have a working OpenCV app, and working rosserial_arduino pieces. Want to do some tracking with OpenCV + ROS. Integrated ROS code in OpenCV app and compiles clean with catkin_make. But catkin_make Linking cannot find libs for cvCreateCameraCapture, etc. Line from CMakeLIsts.txt target_link_libraries(myopencvtest ${OpenCV_LIBRARIES} ${catkin_LIBRARIES}) Running Indigo. Ubuntu 14.04 (actually Mint 17.1) What do I need to do to get OpenCV libs to link in?

Problem with move_base and plugin

$
0
0
Hi,
I'm trying to set up my navigation stack as described in the [navigation tutorial (3)](http://wiki.ros.org/navigation/Tutorials/RobotSetup). I'm just using laserscanning data (topic: /scan) as input data. When launching move_base.launch I get the following error message:
[ INFO] [1492703004.522593034]: Using plugin "static_layer" [ INFO] [1492703004.934024440]: Requesting the map... [ INFO] [1492703008.961617911]: Resizing costmap to 4000 X 4000 at 0.050000 m/pix [ INFO] [1492703009.729487121]: Received a 4000 X 4000 map at 0.050000 m/pix [ INFO] [1492703009.773186553]: Using plugin "obstacle_layer" [ INFO] [1492703009.846848125]: Subscribed to Topics: laser_scan_sensor [ INFO] [1492703010.106286438]: Using plugin "inflation_layer" [ INFO] [1492703011.212133919]: Using plugin "obstacle_layer" terminate called after throwing an instance of 'pluginlib::LibraryLoadException' what(): Could not find library corresponding to plugin costmap_2d::ObstacleLayer. Make sure the plugin description XML file has the correct name of the library and that the library actually exists. [move_base-3] process has died [pid 21563, exit code -6, cmd /opt/ros/kinetic/share/move_base/move_base __name:=move_base __log:=/home/ubuntu/.ros/log/5d670626-25d8-11e7-9af6-b827ebab1210/move_base-3.log]. log file: /home/ubuntu/.ros/log/5d670626-25d8-11e7-9af6-b827ebab1210/move_base-3*.log What am I doing wrong? Where is my mistake... I searched the forum for quiet a long time now, but still havn't found a working answer.
Thanks in advance. ---------- ## base_local_planner_params.yaml ## TrajectoryPlannerROS: max_vel_x: 0.19 min_vel_x: 0.095 max_vel_theta: 0.256 min_in_place_vel_theta: 0.192 acc_lim_theta: 3.2 acc_lim_x: 2.5 acc_lim_y: 2.5 holonomic_robot: true ---------- ## costmap_common_params.yaml ## obstacle_range: 2.5 raytrace_range: 3.0 footprint: [[5, 5], [5, 15],[0, 10]] inflation_radius: 0.55 observation_sources: laser_scan_sensor laser_scan_sensor: {sensor_frame: laser, data_type: LaserScan, topic: scan, marking: true, clearing: true} ---------- ## global_costmap_params.yaml ## global_costmap: global_frame: /odom robot_base_frame: base update_frequency: 2.0 static_map: true ---------- ## local_costmap_params.yaml ## local_costmap: global_frame: odom robot_base_frame: base update_frequency: 5.0 publish_frequency: 2.0 static_map: false rolling_window: true width: 6.0 height: 6.0 resolution: 0.05

What dependencies to specify in CMakeLists.txt and which to specify in package.xml?

$
0
0
Even after having read [this post](http://answers.ros.org/question/217475/cmakeliststxt-vs-packagexml/) regarding the difference between `CMakeLists.xml` and `package.xml` files (in the ROS context), I'm still not sure which dependencies should be specified in one or the other file. I thought I needed to include (at least) in `find_package` (of the `CMakeLists.xml`) all the build dependencies (what about the other dependencies?) specified in the corresponding `package.xml` file, but this isn't the case, since I have a package where I'm specifying `rospkg` as a `` in `package.xml`, but if I also include `rospkg` in `find_packages` it gives me an error of the form > Could not find a package configuration file provided by "rospkg" with any of the following names: > rospkgConfig.cmake > rospkg-config.cmake On the other hand, a package like `rospy` also contains C++ code and I can include it in the `find_package` list. The reason to have a `package.xml` and also a `CMakeLists.txt` is mainly due to, I guess, the need to support Python and C++ in ROS, but it's not very clear, again, which dependencies need to be specified in which files. I checked the Github repository for `rospkg` and, indeed, it does not contain any C++ files (if I checked correctly), and thus it wouldn't make much sense to include `rospkg` in `CMakeLists.xml`...

Error in ROS MoveIt! while loading an URDF

$
0
0
Hello Everyone, I am new to the world of ROS and MoveIt! I was following a Tutorial for MoveIt! from Youtube but unfortunately I seem to have hit a dead end ! The link to the video is : https://www.youtube.com/watch?v=l4dtSRvlAjg&t=211s \ The files can be found here : https://github.com/andrewneill/abb_irb1600id_support I was wondering if anyone has seen errors similar to what I am getting in my system. I have attached a log of the Errors and Warning which I am getting. [ERROR] [1493769151.230318708]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_6.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.230503507]: No geometry is associated to any robot links [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.286802660]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.286997492]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.287209099]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl' for link 'base_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.287365178]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.287495477]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl' for link 'base_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.351944981]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.352115926]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.352225292]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl' for link 'base_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.352363664]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.352483467]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl' for link 'base_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.416339139]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.416589330]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.416810894]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl' for link 'link_1': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.417039379]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.417266708]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl' for link 'link_1': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.474063049]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.474251651]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.474378854]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl' for link 'link_1': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.474501086]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.474605033]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl' for link 'link_1': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.539378695]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.539574675]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.539705489]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl' for link 'link_2': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.539832181]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.539941274]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl' for link 'link_2': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.596937972]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.597132697]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.597262418]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl' for link 'link_2': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.597383633]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.597491713]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl' for link 'link_2': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.665565324]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_3.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.665743205]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_3.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.665872357]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_3.stl' for link 'link_3': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_3.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.665990597]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_3.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.666101247]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_3.stl' for link 'link_3': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_3.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.723425814]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_3.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.723601941]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_3.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.723712567]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_3.stl' for link 'link_3': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_3.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.723840648]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_3.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.723953400]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_3.stl' for link 'link_3': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_3.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.781860010]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_4.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.782057315]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_4.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.782166075]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_4.stl' for link 'link_4': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_4.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.782287855]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_4.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.782369322]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_4.stl' for link 'link_4': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_4.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.841870369]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_4.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.842057182]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_4.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.842254608]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_4.stl' for link 'link_4': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_4.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.842372001]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_4.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.842453821]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_4.stl' for link 'link_4': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_4.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.907482500]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_5.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.907642310]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_5.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.907742480]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_5.stl' for link 'link_5': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_5.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.907837454]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_5.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.907917612]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_5.stl' for link 'link_5': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_5.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769151.963832692]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_5.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769151.963994316]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_5.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.964091106]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_5.stl' for link 'link_5': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_5.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769151.964186418]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_5.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769151.964268472]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_5.stl' for link 'link_5': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_5.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.026149006]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_6.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769152.026322869]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_6.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.026422314]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_6.stl' for link 'link_6': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_6.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.026516921]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_6.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.026597295]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_6.stl' for link 'link_6': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_6.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.098173686]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_6.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769152.098347456]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_6.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.098445227]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_6.stl' for link 'link_6': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_6.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.098551529]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_6.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.098631581]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_6.stl' for link 'link_6': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_6.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ INFO] [1493769152.107095780]: Loading robot model 'abb_irb1600id'... [ INFO] [1493769152.107145311]: No root/virtual joint specified in SRDF. Assuming fixed joint [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.165300005]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.221162103]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.276850635]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.333118477]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.389389503]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.451283969]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.508154071]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_3.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.565125854]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_3.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.629435128]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_4.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.684919528]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_4.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.746105146]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_5.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.803527250]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_5.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.862703195]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/collision/link_6.stl]: Package [abb_irb1600id_support] does not exist [rospack] Error: package 'abb_irb1600id_support' not found [librospack]: error while executing command [ERROR] [1493769152.918415253]: Error retrieving file [package://abb_irb1600id_support/meshes/irb1600id/visual/link_6.stl]: Package [abb_irb1600id_support] does not exist [ WARN] [1493769152.918616287]: No geometry is associated to any robot links [ WARN] [1493769152.918926892]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.919061444]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl' for link 'base_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.919176779]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.919301989]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl' for link 'base_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.919429631]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.919552625]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl' for link 'base_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.919665207]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.919778756]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl' for link 'base_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/base_link.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.919982330]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.920103174]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl' for link 'link_1': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.920221119]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.920340642]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl' for link 'link_1': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.920456495]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.920572440]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl' for link 'link_1': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.920686003]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.920802253]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl' for link 'link_1': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.921000233]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.921116255]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl' for link 'link_2': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.921234835]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.921350220]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl' for link 'link_2': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/visual/link_2.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ WARN] [1493769152.921470499]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) [ERROR] [1493769152.921585968]: Could not load model 'package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl' for link 'link_2': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://abb_irb1600id_support/meshes/irb1600id/collision/link_2_whole.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756) I would be very grateful if someone can try to import the URDF and suggest ways to eliminate the issues I am facing. Btw, I am using Ubuntu 14.4 and ROS Indigo. Any leads would be deeply appreciated. Kind Regards, Sagnik Basu Choudhuri

ExceptionInInitializerError from TCPClient. when connecting Publisher and Subscriber

$
0
0
Hey, when executing a simple pair of Publisher and Subscriber i get a ExceptionInInitializerError while establishing a TCP connection between them. Here is the code i run to execute them. public class RosController { private NodeMainExecutor mainExecutor; //[...] private MyPublisher pub; private MySubscriber sub; private NodeConfiguration pubConfig; private NodeConfiguration subConfig; public RosController(model.Model model) { this.mainExecutor = DefaultNodeMainExecutor.newDefault(); //[...] this.pub = new MyPublisher(); this.pubConfig = NodeConfiguration.newPrivate(); this.sub = new MySubscriber(); this.subConfig = NodeConfiguration.newPrivate(); } public void startRosNodes() { ProcessBuilder rosCoreBuilder = new ProcessBuilder("/bin/bash", "-c", "source /opt/ros/indigo/setup.bash && roscore"); rosCoreBuilder.inheritIO(); try { this.rosCore = rosCoreBuilder.start(); Thread.sleep(3000); //[...] this.subConfig.setMasterUri(new URI(Settings.ROSSERVERURL)); this.pubConfig.setMasterUri(new URI(Settings.ROSSERVERURL)); this.mainExecutor.execute(pub, pubConfig); this.mainExecutor.execute(sub, subConfig); } // catch... } //[...] } Depending on the the MainExecuter.execute call sequenz, the second Node fails when calling either AddSubscriber (in case of the provided code), or AddPublisher (in case i swap the execute calls) during their OnStart method. Executing just one Node works fine. The execution fails when Ros tries to establish a TCP connection between both nodes. Exception in thread "pool-1-thread-28" java.lang.ExceptionInInitializerError at resources.libraries.netty.channel.socket.nio.NioClientBossPool.(NioClientBossPool.java:55) at resources.libraries.netty.channel.socket.nio.NioClientSocketChannelFactory.(NioClientSocketChannelFactory.java:167) at resources.libraries.netty.channel.socket.nio.NioClientSocketChannelFactory.(NioClientSocketChannelFactory.java:151) at resources.libraries.netty.channel.socket.nio.NioClientSocketChannelFactory.(NioClientSocketChannelFactory.java:116) at resources.libraries.rosjava.internal.transport.tcp.TcpClient.(TcpClient.java:64) at resources.libraries.rosjava.internal.transport.tcp.TcpClientManager.connect(TcpClientManager.java:67) at resources.libraries.rosjava.internal.node.topic.DefaultSubscriber.addPublisher(DefaultSubscriber.java:149) at resources.libraries.rosjava.internal.node.topic.UpdatePublisherRunnable.run(UpdatePublisherRunnable.java:68) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.RuntimeException: java.lang.NoSuchFieldException: workerState at java.util.concurrent.atomic.AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl.(AtomicIntegerFieldUpdater.java:403) at java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater(AtomicIntegerFieldUpdater.java:88) at resources.libraries.netty.util.HashedWheelTimer.(HashedWheelTimer.java:89) ... 11 more Caused by: java.lang.NoSuchFieldException: workerState at java.lang.Class.getDeclaredField(Class.java:2070) at java.util.concurrent.atomic.AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl$1.run(AtomicIntegerFieldUpdater.java:390) at java.util.concurrent.atomic.AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl$1.run(AtomicIntegerFieldUpdater.java:388) at java.security.AccessController.doPrivileged(Native Method) at java.util.concurrent.atomic.AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl.(AtomicIntegerFieldUpdater.java:387) ... 13 more Here are my Publisher Subscriber nodes for completness. But as you can see they are trivial. public class MySubscriber implements NodeMain { private Subscriber sub; @Override public void onStart(ConnectedNode node) { sub = node.newSubscriber("testtopic", std_msgs.String._TYPE); } } public class MyPublisher implements NodeMain { private Publisher pub; @Override public void onStart(ConnectedNode node) { pub = node.newPublisher("testtopic", std_msgs.String._TYPE); } }

JointState message

$
0
0
void callback(const sensor_msgs::JointState::ConstPtr& msg) { sensor_msgs::JointState output; output.name=msg->name; output.position=msg->position; output.header=msg->header; pub_.publish(output); } ---------- the topic i subscribe is “Joint_states” the msg->name=[‘Joint0’,‘Joint1’,‘Joint2’,‘Joint3’,‘Joint4’,‘Joint5’] i want to make the array output.name=[Joint0] i try to write output.name=“Joint0” but when complile there is an error or output.name=msg->name[0] also the same problem is the size of array "output.name" is fixed cause the error

when i use “output.name[0]="Tjoint” there is a error Segmentation fault

$
0
0
The code is as follows: #include "ros/ros.h" #include "std_msgs/String.h" #include "sensor_msgs/JointState.h" #include class SubscribeAndPublish { public: SubscribeAndPublish() { //topic you want to publish pub_=n.advertise("/arm/joint_states",1000); //subscribe sub_=n.subscribe("/joint_states",1000,&SubscribeAndPublish::callback,this); } void callback(const sensor_msgs::JointState::ConstPtr& msg) { sensor_msgs::JointState output; output.name=msg->name; // output.name[0]="Tjoint output.position=msg->position; output.header=msg->header; pub_.publish(output); } private: ros::NodeHandle n; ros::Publisher pub_; ros::Subscriber sub_; }; int main(int argc, char **argv) { ros::init(argc, argv, "talker"); SubscribeAndPublish SAPobject; ros::spin(); return 0; }

Rviz Client md5sum Error

$
0
0
I am running Ubuntu 14.04 and indigo on my host computer. I want to visualize some rviz visualization markers on my remote laptop. However, I cannot install Ubuntu 14.04 on my laptop since some hardware problems (too new?kabylake). So I installed Ubuntu 16.04 and kinetic instead. However, when I subscribe to the same topic, I get this error: [ERROR]: Client [/rviz_1493900002586455363] wants topic /prm_graph to have datatype/md5sum [visualization_msgs/Marker/4048c9de2a16f4ae8e0538085ebf1b97], but our version has [visualization_msgs/Marker/18326976df9d29249efc939e00342cde]. Dropping connection. I checked that the message type both are "visualization_msgs/Marker". The only difference is those numbers and letters. Any idea why this is happening? I guess it is because the ROS version is different.

Using GUI's with Docker (http://wiki.ros.org/docker/Tutorials/GUI)

$
0
0
(Ref: http://wiki.ros.org/docker/Tutorials/GUI) First of all, thank you for this wonderul tutorial, which I find very useful. When trying to go for the method "2. The safer way" I came up with an issue in which I was not able to acces to a user contained in my host /etc/passwd within the container. The container mounted the volume "/etc/passwd" but when accessing to the container with the parameter " --user=$USER" it raises the error: "docker: Error response from daemon: linux spec user: unable to find user john: no matching entries in passwd file." but if I access to the container with the user "docker" I can access and I can see the "/etc/passwd" containing the data of my host. The only way I could overcome this issue was using this: --user=$( id -u $USER ):$( id -g $USER ) \ I'm not sure about the rationale behind it (maybe someone else can explain it) but it works and maybe is a more portable way than the method described in the tutorial. Hope this helps to others

I sudddenly got error when I did catkin_make, now I already delete what I installed but I am still getting same error with catkin_make, any one can help me please ?

$
0
0
I am new in ROS, I am using ros kinetic and ubuntu 16.04, I am working with kinect v2, I was trying to install ORK then I sudddenly got error when I did catkin_make, now I already delete what I installed but I am still getting same error with catkin_make, any one can help me please ? abdulrahman@abdulrahman-ThinkPad-X230-Tablet:~/catkin_ws$ catkin_makeBase path: /home/abdulrahman/catkin_ws Source space: /home/abdulrahman/catkin_ws/src Build space: /home/abdulrahman/catkin_ws/build Devel space: /home/abdulrahman/catkin_ws/devel Install space: /home/abdulrahman/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/abdulrahman/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/abdulrahman/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/abdulrahman/catkin_ws/devel;/opt/ros/kinetic -- This workspace overlays: /home/abdulrahman/catkin_ws/devel;/opt/ros/kinetic -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/abdulrahman/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.6 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 17 packages in topological order: -- ~~ - camera_umd (metapackage) -- ~~ - freenect_launch -- ~~ - freenect_stack -- ~~ - iai_kinect2 (metapackage) -- ~~ - openni2_launch -- ~~ - kinect2_registration -- ~~ - jpeg_streamer -- ~~ - openni_launch -- ~~ - freenect_camera -- ~~ - openni_camera -- ~~ - find_object_2d -- ~~ - kinect2_bridge -- ~~ - kinect2_calibration -- ~~ - kinect2_viewer -- ~~ - denso_gui -- ~~ - usb_cam -- ~~ - uvc_camera -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'camera_umd' -- ==> add_subdirectory(camera_umd-master/camera_umd) -- +++ processing catkin package: 'freenect_launch' -- ==> add_subdirectory(freenect_stack/freenect_launch) -- +++ processing catkin package: 'freenect_stack' -- ==> add_subdirectory(freenect_stack/freenect_stack) -- +++ processing catkin metapackage: 'iai_kinect2' -- ==> add_subdirectory(iai_kinect2/iai_kinect2) -- +++ processing catkin package: 'openni2_launch' -- ==> add_subdirectory(openni2_launch) -- +++ processing catkin package: 'kinect2_registration' -- ==> add_subdirectory(iai_kinect2/kinect2_registration) CMake Error at /home/abdulrahman/catkin_ws/devel/share/rosconsole/cmake/rosconsoleConfig.cmake:106 (message): Project 'rosconsole' specifies '/home/abdulrahman/catkin_ws/src/ros_comm/tools/rosconsole/include' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/home/abdulrahman/catkin_ws/src/ros_comm/tools/rosconsole//home/abdulrahman/catkin_ws/src/ros_comm/tools/rosconsole/include'. Ask the maintainer 'Dirk Thomas ' to fix it. Call Stack (most recent call first): /opt/ros/kinetic/share/roscpp/cmake/roscppConfig.cmake:165 (find_package) /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package) iai_kinect2/kinect2_registration/CMakeLists.txt:25 (find_package) -- Configuring incomplete, errors occurred! See also "/home/abdulrahman/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/abdulrahman/catkin_ws/build/CMakeFiles/CMakeError.log". Makefile:13926: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed abdulrahman@abdulrahman-ThinkPad-X230-Tablet:~/catkin_ws$
Viewing all 336 articles
Browse latest View live