Ask Your Question

Maya's profile - activity

2019-08-28 02:06:57 -0500 received badge  Notable Question (source)
2019-08-28 02:06:57 -0500 received badge  Popular Question (source)
2019-08-28 02:06:57 -0500 received badge  Famous Question (source)
2019-07-17 05:48:12 -0500 received badge  Good Question (source)
2019-02-14 01:13:24 -0500 marked best answer Can"t find libroscpp.so fedora 21

Hello all !

Might be good information to know that I'm using the repo for here to try Ros on Fedora 21.

All was working fine before today when I tried roscore and I was hit with this error on start-up :

[malcolm@localhost ~]$ roscore
... logging to /home/malcolm/.ros/log/17102148-d3b5-11e4-9c31-dc85de5a9ca4/roslaunch-localhost.localdomain-3906.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://localhost.localdomain:60372/
ros_comm version 1.11.10


SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.10

NODES

auto-starting new master
process[master]: started with pid [3917]
ROS_MASTER_URI=http://localhost.localdomain:11311/

setting /run_id to 17102148-d3b5-11e4-9c31-dc85de5a9ca4
/opt/ros/indigo/lib/rosout/rosout: error while loading shared libraries: libroscpp.so: cannot open shared object file: No such file or directory
process[rosout-1]: started with pid [3930]
started core service [/rosout]
[rosout-1] process has died [pid 3930, exit code 127, cmd /opt/ros/indigo/lib/rosout/rosout __name:=rosout __log:=/home/malcolm/.ros/log/17102148-d3b5-11e4-9c31-dc85de5a9ca4/rosout-1.log].
log file: /home/malcolm/.ros/log/17102148-d3b5-11e4-9c31-dc85de5a9ca4/rosout-1*.log

My ROS params at start-up are :

declare -x ROSLISP_PACKAGE_DIRECTORIES="/home/malcolm/ros_ws/indigo_catkin/devel/share/common-lisp"
declare -x ROS_DISTRO="indigo"
declare -x ROS_ETC_DIR="/opt/ros/indigo/etc/ros"
declare -x ROS_MASTER_URI="http://localhost:11311"
declare -x ROS_PACKAGE_PATH="/home/malcolm/ros_ws/indigo_catkin/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks"
declare -x ROS_ROOT="/opt/ros/indigo/share/ros"
declare -x ROS_TEST_RESULTS_DIR="/home/malcolm/ros_ws/indigo_catkin/build/test_results"

And I can find the named .so in

[malcolm@localhost lib]$ pwd
/opt/ros/indigo/lib
[malcolm@localhost lib]$ ls | grep libroscpp
libroscpp_serialization.so
libroscpp.so

All was working fine couple of days ago. So I really have no idea what happen since I don't think I did anything significant and I didn't worked on ROS lately.

I tried reinstalling it but with no luck.

I appreciate any idea or explanation on why it suddenly broke !

[UPDATE]

[malcolm@localhost ~]$ ldd /opt/ros/indigo/lib/rosout/rosout
    linux-vdso.so.1 =>  (0x00007fff48749000)
    libroscpp.so => not found
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa96de3e000)
    libboost_signals.so.1.55.0 => /lib64/libboost_signals.so.1.55.0 (0x00007fa96dc26000)
    libboost_filesystem.so.1.55.0 => /lib64/libboost_filesystem.so.1.55.0 (0x00007fa96da0d000)
    librosconsole.so => not found
    librosconsole_log4cxx.so => not found
    librosconsole_backend_interface.so => not found
    liblog4cxx.so.10 => /lib64/liblog4cxx.so.10 (0x00007fa96d61b000)
    libboost_regex.so.1.55.0 => /lib64/libboost_regex.so.1.55.0 (0x00007fa96d30a000)
    libroscpp_serialization.so => not found
    librostime.so => not found
    libboost_date_time.so.1.55.0 => /lib64/libboost_date_time.so.1.55.0 (0x00007fa96d0f7000)
    libxmlrpcpp.so => not found
    libcpp_common.so => not found
    libboost_system.so.1.55.0 => /lib64/libboost_system.so.1.55.0 (0x00007fa96cef2000)
    libboost_thread.so.1.55.0 => /lib64/libboost_thread.so.1.55.0 (0x00007fa96ccd7000)
    libconsole_bridge.so => /lib64/libconsole_bridge.so (0x00007fa96cacd000)
    libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fa96c7be000)
    libm.so.6 => /lib64/libm.so.6 (0x00007fa96c4b5000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa96c29e000)
    libc.so.6 => /lib64/libc.so.6 ...
(more)
2019-02-04 07:38:17 -0500 marked best answer Why is there a Twist in Odometry message

Hello,

Everything basically is in the title. I've been here and I know it's position and speed of the robot. But I'm wondering why you need the speed in the Odometry as it's going to be the exact same thing as the cmd_vel topic.

For example if I'm doing a motor driver taking a Twist as input, should I return the exact same Twist in the /Odometry message afterward ? It seems rather useless to me and I feel like I'm missing something but I don't know what.

2018-10-03 05:20:21 -0500 marked best answer openni2 color point cloud

Hellow,

When I was using openni2_launch in groovy I had a topic camera/depth/points_xyzrgba. Or now I have only camera/depth/points. Is there any reason for that ? How can I recover the color of the Point Cloud now ?

Thanks

2018-07-30 02:20:13 -0500 received badge  Nice Question (source)
2018-07-23 03:42:53 -0500 received badge  Notable Question (source)
2018-07-23 03:42:53 -0500 received badge  Famous Question (source)
2018-07-23 03:42:53 -0500 received badge  Popular Question (source)
2018-06-14 10:32:19 -0500 received badge  Famous Question (source)
2018-06-14 10:32:19 -0500 received badge  Notable Question (source)
2018-06-12 04:39:27 -0500 received badge  Famous Question (source)
2018-06-12 04:38:56 -0500 edited question Slow updates in the tf tree. How to deal with it ?

map tf slow gmapping Let say I have a node that publishes a transform from /map to /world. This transformation will be u

2018-06-12 04:38:22 -0500 asked a question Slow updates in the tf tree. How to deal with it ?

map tf slow gmapping Let say I have a node that publishes a transform from /map to /world. This transformation will be u

2018-04-29 22:09:13 -0500 marked best answer kinetic source install on Fedora23

Hey all,

Where trying to install kinetic from source on Fedora23 I have this error :

CMake Warning at /home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/python_qt_binding/cmake/shiboken_helper.cmake:18 (find_package):
  By not providing "FindShiboken2.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Shiboken2", but CMake did not find one.

  Could not find a package configuration file provided by "Shiboken2" with
  any of the following names:

    Shiboken2Config.cmake
    shiboken2-config.cmake

  Add the installation prefix of "Shiboken2" to CMAKE_PREFIX_PATH or set
  "Shiboken2_DIR" to a directory containing one of the above files.  If
  "Shiboken2" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  src/qt_gui_cpp_shiboken/CMakeLists.txt:41 (include)


CMake Warning at /home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/python_qt_binding/cmake/shiboken_helper.cmake:23 (find_package):
  By not providing "FindPySide2.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "PySide2", but
  CMake did not find one.

  Could not find a package configuration file provided by "PySide2" with any
  of the following names:

    PySide2Config.cmake
    pyside2-config.cmake

  Add the installation prefix of "PySide2" to CMAKE_PREFIX_PATH or set
  "PySide2_DIR" to a directory containing one of the above files.  If
  "PySide2" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  src/qt_gui_cpp_shiboken/CMakeLists.txt:41 (include)


CMake Warning at /home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/python_qt_binding/cmake/shiboken_helper.cmake:34 (message):
  Shiboken binding generator NOT available.
Call Stack (most recent call first):
  src/qt_gui_cpp_shiboken/CMakeLists.txt:41 (include)


-- Found PythonInterp: /usr/bin/python (found suitable version "2.7.11", minimum required is "2.7") 
-- SIP binding generator available.
-- Python binding generators: sip
-- Configuring done
-- Generating done
-- Build files have been written to: /home/malcolm/ros_catkin_ws/source_kinetic/build_isolated/qt_gui_cpp
==> make -j8 -l8 in '/home/malcolm/ros_catkin_ws/source_kinetic/build_isolated/qt_gui_cpp'
[ 83%] Built target qt_gui_cpp
[ 88%] Running SIP generator for qt_gui_cpp_sip Python bindings...
Traceback (most recent call last):
  File "/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/python_qt_binding/cmake/sip_configure.py", line 47, in <module>
    config = Configuration()
  File "/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/python_qt_binding/cmake/sip_configure.py", line 16, in __init__
    ['qmake', '-query'], env=env, universal_newlines=True)
  File "/usr/lib64/python2.7/subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/build.make:89: receptet för målet ”sip/qt_gui_cpp_sip/Makefile” misslyckades
make[2]: *** [sip/qt_gui_cpp_sip/Makefile] Fel 1
CMakeFiles/Makefile2:374: receptet för målet ”src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all” misslyckades
make[1]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Fel 2
Makefile:138: receptet för målet ”all” misslyckades
make: *** [all] Fel 2
<== Failed to process package 'qt_gui_cpp': 
  Command '['/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/env.sh', 'make', '-j8', '-l8']' returned non-zero exit status 2

Reproduce this ...
(more)
2018-03-22 18:29:38 -0500 commented answer when should I create a new workspace

That's been my reason for using catkin_tools. I have that one repo with a lot of packages some broken that I don't need.

2018-03-22 18:29:28 -0500 commented answer when should I create a new workspace

That's been my reason for using catkin_tools. I have that one repo with a lot of packages some broken that I don't need.

2018-03-22 09:17:23 -0500 asked a question PCL_DEFINITIONS in downstream packages

PCL_DEFINITIONS in downstream packages How can I pass PCL_DEFINITIONS to downstream packages ? On my system PCL actual

2018-03-15 09:18:00 -0500 received badge  Popular Question (source)
2018-03-15 08:01:21 -0500 commented answer High cpu usage of rosout when nothing is running

Any way to revert to 1.12.12 ? Would cloning the repo in my catkin_ws and compriling it solve the issue or should I reco

2018-03-15 06:49:10 -0500 edited question High cpu usage of rosout when nothing is running

High cpu usage of rosout when nothing is running I often have rosout processes that takes up a lot of cpu when nothing i

2018-03-15 06:46:58 -0500 asked a question High cpu usage of rosout when nothing is running

High cpu usage of rosout when nothing is running I often have rosout processes that takes up a lot of cpu when nothing i

2018-02-26 14:59:48 -0500 received badge  Notable Question (source)
2018-02-26 11:29:18 -0500 marked best answer Another question about extrapolation in the past

Hello all,

That's a question that has been asked multiple times but none of the solution have worked so far. I'm playing data from a rosbag and when trying to query the tf I have this error:

[ERROR] [1519650555.804462800, 1504014242.149115352]: Lookup would require extrapolation into the past.  Requested time 1504014237.046037623 but the earliest data is at time 1504014237.201914971, when looking up transform from frame [base_link] to frame [world]

Here is the code I'm using to query it :

ros::Time stamp = scan->header.stamp;
//Read transformation UGLY TRICK :P
tf::TransformListener listener(ros::Duration(50.0));
std::cout <<  listener.DEFAULT_CACHE_TIME << " " << listener.getCacheLength() << std::endl;
tf::StampedTransform transform;
try {
    listener.waitForTransform(odom_frame_, "/base_link", stamp, ros::Duration(5.0));
    listener.lookupTransform(odom_frame_, "/base_link", stamp, transform);
} catch (tf::TransformException ex) {
    ROS_ERROR("%s",ex.what());
}

As visible in the code, I tried to change the buffer size to some higher number but it seems this is ignored :/ ?

Also this function is in the callback to a messageFilter in gmappings code:

scan_filter_ = new tf::MessageFilter<sensor_msgs::LaserScan>(*scan_filter_sub_, tf_, odom_frame_, 1);
scan_filter_->registerCallback(boost::bind(&SlamGMapping::laserCallback, this, _1));

I'm running the rosbag with clock and I've set use_sim_time to true. I've also tried slowing down the rosbag to try have my algorithm catch up but I still have the same problem. So I'm at a loss on what the actual problem is. Using `ros::Time(0) instead of the haeder time stamp works.

What is wrong in the approach I'm having ?

2018-02-26 11:27:27 -0500 received badge  Popular Question (source)
2018-02-26 10:33:05 -0500 commented answer Another question about extrapolation in the past

I'll try that ! That's most probably the problem

2018-02-26 10:20:48 -0500 commented question Another question about extrapolation in the past

For all of them. That was the weird thing, it kept moving forward...

2018-02-26 10:20:28 -0500 commented question Another question about extrapolation in the past

For all of them

2018-02-26 07:23:50 -0500 edited question Another question about extrapolation in the past

Another question about extrapolation in the past Hello all, That's a question that has been asked multiple times but no

2018-02-26 07:10:23 -0500 asked a question Another question about extrapolation in the past

Another question about extrapolation in the past Hello all, That's a question that has been asked multiple times but no

2018-02-17 09:52:13 -0500 received badge  Good Answer (source)
2018-02-12 19:42:47 -0500 received badge  Nice Question (source)
2018-01-16 12:46:35 -0500 marked best answer rosrun or roslaunch

Hellow,

Easy question does roslaunch just execute a set of rosrun or is it slightly different ? I couldn't find it in the doc... I'm asking that because I'm under the impression that my node run slower when launch with a roslaunch then with a rosrun.

Thanks.

2017-12-04 07:02:19 -0500 marked best answer Cmake debug option

Hellow,

I may have just search really bad but I didn't find this information. I'm used to Makefile but how do I use the otion "-g" and "-Wall" in Cmake with catkin ? I try writing a really dumb program with a memory leak and to run it with valgrind but I have the following

==20197== 4 bytes in 1 blocks are definitely lost in loss record 1 of 1
==20197==    at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20197==    by 0x400845: main (in /home/ros/groovy_ws/catkin_ws/devel/lib/stalker/debug)

And so no line numbers...

Thanks a lot !

2017-11-22 13:17:06 -0500 marked best answer Class send through a CallBack function

I can't figure out how to correctly use boost::bind while sending a class function as a callback Function. I want to callBack function to have on class I made as an argument as well.

Do far my code is like this :

    Scribe(ros::NodeHandle ao_nh, std::string topic, Platform& p) : _verbose(false), _topic_name(topic), _timeStamp(ros::Time::now()), _cmd(), _needChecking(false) {
    //Scribe mode
    _scribe=ao_nh.subscribe<geometry_msgs::Twist>( topic,1000, boost::bind(&Scribe::callBackFunc, _1, &p), this);
    //Timer
    _bomb=ao_nh.createTimer(ros::Duration(2),&Scribe::bombCallBack, this);
};

and the call back function is like this :

void callBackFunc(const geometry_msgs::Twist::ConstPtr& msg, Platform* plat);

Or, I have a error such that no matching function to call and I can't figure out how to correctly declare the subscriber.

Any help is appreciated.

2017-11-08 03:35:30 -0500 edited question lz4.h compilation problems

lz4.h compilation problems Hello all, It looks as if there are some problems with two different lz4.h files. I'm using

2017-11-08 03:35:05 -0500 asked a question lz4.h compilation problems

lz4.h compilation problems Hello all, It looks as if there are some problems with two different lz4.h files. I'm using

2017-11-02 13:26:21 -0500 marked best answer Custom message

Hellow all !

I'm trying to create a custom message using Geomety messages and std msgs. But I can't seem to link it correctly. I've been following this tutorial but so far I'm having this error :

CMake Error at /home/malcolm/ros_ws/hydro_ws/catkin_ws/build/Tobot/open_tld_3d/cmake/open_tld_3d-genmsg.cmake:3 (message):
  Could not find messages which
  '/home/malcolm/ros_ws/hydro_ws/catkin_ws/src/Tobot/open_tld_3d/msg/square.msg'
  depends on.  Did you forget to specify generate_messages(DEPENDENCIES ...)?

  Cannot locate message [point] in package [open_tld_3d] with paths
  [['/home/malcolm/ros_ws/hydro_ws/catkin_ws/src/Tobot/open_tld_3d/msg']]

Indeed you can find point in geometry_msgs and in my CMakeList.txt I added that:

generate_messages(
   DEPENDENCIES
   geometry_msgs
   std_msgs
 )

So for my understanding, it should be able to find Point...

This is my square.msg in case :

point x
point y
float64 width
float64 height

Nothing really complexe and I'm pretty sure I'm missing something trivial but still...

Thanks a lot !

2017-11-02 04:47:06 -0500 marked best answer roslaunch python

Hello,

I'm trying to write a launch file for my python program. My program is named search.py and is located in searching_tobot/src. Here is my launch file so far :

<launch>

<group ns="robot0">
<node name="search" pkg="searching_tobot" type="search" output="screen">
  </node>
</group>

<group ns="robot1">
<node name="search" pkg="searching_tobot" type="search" output="screen">
  </node>
</group>

</launch>

However I have this error :

core service [/rosout] found
ERROR: cannot launch node of type [searching_tobot/search]: can't locate node [search] in package [searching_tobot]
ERROR: cannot launch node of type [searching_tobot/search]: can't locate node [search] in package [searching_tobot]

And I can't find what I'm doing wrong. I tried replacing search by search.py with no luck

I'm used to do launch file with C++ executable and I'm a bit of a newbie with python on ROS and I couldn't find the answer and the wiki :S. Thanks a lot !

2017-09-18 16:41:43 -0500 received badge  Nice Question (source)