Ask Your Question

aditya369007's profile - activity

2020-03-24 19:11:17 -0600 received badge  Famous Question (source)
2019-03-01 12:45:11 -0600 marked best answer Compilation of catkin work space fails on beaglebone black

Hello all

I am running debian 8.7 on the beaglebone black and i am following these instructions to help me get ROS installed and running.

Everything is working fine until the final step where the catkin workspace is created. It fails with the following errors:

c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
ros_comm/roscpp/CMakeFiles/roscpp.dir/build.make:110: recipe for target 'ros_comm/roscpp/CMakeFiles/roscpp.dir/src/libros/subscriber.cpp.o' failed
make[2]: *** [ros_comm/roscpp/CMakeFiles/roscpp.dir/src/libros/subscriber.cpp.o] Error 4
CMakeFiles/Makefile2:8823: recipe for target 'ros_comm/roscpp/CMakeFiles/roscpp.dir/all' failed
make[1]: *** [ros_comm/roscpp/CMakeFiles/roscpp.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j1 -l1" failed

Can anyone help me out in resolving this error ? Many thanks in advance.

If anyone has a better suggestion in getting ROS installed on the BBB, please do share with me, I have tried many threads and posts but all are outdated and i am unable to get OS images for the specified methods.

2019-03-01 12:42:22 -0600 received badge  Famous Question (source)
2018-05-05 01:05:52 -0600 received badge  Notable Question (source)
2018-04-27 10:58:11 -0600 marked best answer Cmake error during building a rospackage

Hello all

I am trying to learn how to use the ROS-PCL library with the Velodyne 64E lidar. I have stored my code in the same directory as that of the Velodyne_height_map project and I want to modify the existing CMakeList.txt file to incorporate my own code. My main goal is to find the distances of the obstacles by subscribing to the velodyne_obstacles topic.

This is the error I am getting when I am building the project.

>  *** No rule to make target
> '/usr/lib/x86_64-linux-gnu/libpthread.so/opt/ros/kinetic/lib/libpcl_ros_filters.so',
> needed by
> '/home/aditya/catkin_ws/devel/lib/velodyne_height_map/myheight'.
> Stop.

This is the addition I have done to the CMakeLists.txt file by following few tutorials.

add_executable(myheight src/my_height_sub.cpp)
target_link_libraries(myheight ${catkin_LIBRARIES}${catkin_LIBRARIES}
                      ${Boost_LIBRARIES}
                      ${PCL_LIBRARIES})

This is the program I am trying to run.

#include <ros/ros.h>
#include <pcl_ros/point_cloud.h>
#include <pcl/point_types.h>
#include <boost/foreach.hpp>

typedef pcl::PointCloud<pcl::PointXYZ> PointCloud;

void callback(const sensor_msgs::PointCloud2ConstPtr&);


int main(int argc, char** argv)
{
    ros::NodeHandle nh;
    std::string topic = nh.resolveName("point_cloud");
    uint32_t queue_size = 1;


    // to create a subscriber, you can do this (as above):
    ros::Subscriber sub = nh.subscribe<sensor_msgs::PointCloud2> ("velodyne_points", queue_size, callback);
}

I know I am missing some dependencies in the CMakelists, but cant seem to figure out what they are. Can someone help me out please? Many thanks in advance!

2018-04-27 10:58:11 -0600 received badge  Scholar (source)
2018-04-27 03:13:00 -0600 received badge  Popular Question (source)
2018-04-27 02:11:56 -0600 commented answer Cmake error during building a rospackage

And no this was not written by me

2018-04-27 02:11:33 -0600 commented answer Cmake error during building a rospackage

In function main': /home/aditya/catkin_ws/src/velodyne_height_map/src/my_height_sub.cpp:16: undefined reference toca

2018-04-27 01:35:58 -0600 commented question Cmake error during building a rospackage

pastebin It is attached here

2018-04-27 01:21:21 -0600 commented question Cmake error during building a rospackage

Thats what I am unable to understand, I have not used pcl_ros_filter still this is showing up. But I have still added ${

2018-04-27 00:59:56 -0600 asked a question Cmake error during building a rospackage

Cmake error during building a rospackage Hello all I am trying to learn how to use the ROS-PCL library with the Velodyn

2018-03-08 12:42:35 -0600 answered a question how to connect the velodyne HDL-64 to ROS-indigo?

Hi there, In place of XX.YY, put in 3.43 Hope this solves your issue.

2018-01-28 07:02:46 -0600 received badge  Notable Question (source)
2018-01-25 14:18:32 -0600 received badge  Popular Question (source)
2018-01-25 13:53:38 -0600 edited question Compilation of catkin work space fails on beaglebone black

Creating catkin work space fails on beaglebone black Hello all I am running debian 8.7 on the beaglebone black and i am

2018-01-24 16:26:27 -0600 commented answer Compilation of catkin work space fails on beaglebone black

Thank you for taking the time to reply to my question. Unfortunately I need the BBB because of its ability to handle ana

2018-01-24 16:24:09 -0600 commented question Compilation of catkin work space fails on beaglebone black

thank you for your reply no i do not have swap enabled on the BBB. I will try doing that and report my results.

2018-01-24 16:22:45 -0600 received badge  Enthusiast
2018-01-23 16:34:56 -0600 asked a question Compilation of catkin work space fails on beaglebone black

Creating catkin work space fails on beaglebone black Hello all I am running debian 8.7 on the beaglebone black and i am

2017-06-12 13:34:16 -0600 received badge  Supporter (source)