ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Jarvis's profile - activity

2018-03-05 04:11:10 -0500 received badge  Famous Question (source)
2017-06-20 07:55:56 -0500 received badge  Nice Question (source)
2017-02-16 06:50:33 -0500 received badge  Famous Question (source)
2016-08-01 21:26:29 -0500 received badge  Famous Question (source)
2016-07-08 15:45:22 -0500 received badge  Notable Question (source)
2015-11-30 19:49:23 -0500 received badge  Famous Question (source)
2015-09-14 14:00:33 -0500 received badge  Famous Question (source)
2015-07-06 23:36:04 -0500 received badge  Notable Question (source)
2015-04-25 08:00:25 -0500 received badge  Popular Question (source)
2015-04-24 17:46:41 -0500 commented answer How to create dependencies on specific version of a package

Thats what I imagined. Thank you for confirming this.

2015-04-24 16:03:50 -0500 received badge  Popular Question (source)
2015-04-24 16:03:50 -0500 received badge  Notable Question (source)
2015-04-23 16:02:27 -0500 asked a question How to create dependencies on specific version of a package

Hi,

recently I faced issues due to changes in rosapi version installed by standard ros installation command.

sudo apt-get install ros-indigo-desktop-full

In the new version the name of rosapi package executable is changed. Is there any way where I can specify external package version my package depends on?

2015-04-22 01:26:22 -0500 received badge  Famous Question (source)
2015-03-18 03:53:27 -0500 received badge  Notable Question (source)
2015-02-20 14:15:16 -0500 received badge  Popular Question (source)
2015-02-16 03:00:23 -0500 received badge  Popular Question (source)
2015-02-05 21:51:35 -0500 asked a question How to add Python Modules into catkin libraries so they can be imported by other packages

Hi,

I want to create some python modules which are common for multiple ros packages. Can anyone guide me on how to list them in CMakeLists.txt file so they get insatlled in lib/python2.7/dist-packages directory? So far I have tried adding following lines

 add_library(python_module_library scripts/common.py)
 set_target_properties(python_module_library
          PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_PYTHON_DESTINATION}

This is giving me CMake Error as:

 CMake Error: CMake can not determine linker language for target: python_module_library
 CMake Error: Cannot determine link language for target "python_module_library".

Any Ideas?

2015-01-27 23:37:52 -0500 asked a question rosmatlab subscriber synchronization with Main Thread

Hi,

I am using rosmatlab to read Lidar data published bu urg_node in Matlab.

  urg_scan = rosmatlab.subscriber('/scan', 'sensor_msgs/LaserScan', 1, node);
  urg_scan.setOnNewMessageListeners({@readScanData});

readScanData is a function which reads as follows:

function readScanData(msg)
      sensor_data = msg.getRanges();
      vectRangeData = sensor_data;
 end

vectRangeData is a global variable which I used in Matlab Main Thread to analyses Lidar data. My question is how to synchronizes the access to global variable "vectRangeData"?

As I understand callback function will be run in separate java thread using rosjava jars. After following link:matlab undocumented and inputs from senior developer I think they are using eval or feval functions to execute callback functions under subcriber threads. Still it confused me how to synchronize the access to global vars. I am not using Parallel Computing toolbox. Its just some objects shared between Matlab's Main Thread and Java Threads.

2014-12-08 11:52:04 -0500 commented question How to set single-echo mode on multi-echo lidar

@ahendrix I found ~publish_multiecho while going though the source code and it worked. Thanks for response.

2014-12-07 16:07:26 -0500 asked a question How to set single-echo mode on multi-echo lidar

I am using Houyo UTM-30-LX-EW ethernet lidar scanner. Using urg node. I am able to publish scan data in ros. However, the scanner is running in multi echo mode. I want to run the scanner in single -echo mode. Does anyone know how to configure single-echo mode in urg_node?

I am using ros-indigo on Ubuntu14.04.

2014-11-03 17:33:35 -0500 received badge  Famous Question (source)
2014-10-28 14:16:20 -0500 commented question ResourceNotFound error with rostest absolute path to launch file

Yes. I can run these packages individually as well with roslauch and rostest with package name. I trying to compare the source code for roslaunch and rostest to figure out the difference, just swamped with other tasks.

2014-10-28 12:44:51 -0500 commented question seperate build and install target machines

Yes. I have wrote a script to provide this functionality. One requirement for my script to work is to provide install rule for each package and run catkin_make install to build packages. If you need I can upload it in separate GitHub repo and provide link here.

2014-10-24 12:23:49 -0500 commented question ResourceNotFound error with rostest absolute path to launch file

@Dirk Thomas, Sorry I was busy in other task so couldn't reply yesterday. rospack profile didn't solved the problem. The package name in RosPack is None. But when you are providing absolute path package name is expected to be None, right?

2014-10-23 21:03:55 -0500 received badge  Notable Question (source)
2014-10-23 11:46:33 -0500 received badge  Popular Question (source)
2014-10-22 22:48:47 -0500 received badge  Notable Question (source)
2014-10-22 21:43:26 -0500 received badge  Editor (source)
2014-10-22 19:41:54 -0500 asked a question ResourceNotFound error with rostest absolute path to launch file

Hi,

I have a bunch of "*.launch" files which starts different nodes on my machine. Since, these launch files are not specific to any package, I have kept these files in the catkin workspace directory.

catkin_workspace/src/<pkg1>, <pkg2>
catkin_workspace/mylaunch.launch

After running catkin_make and source devel.setup.sh I can run my launch file from anywhere just by supplying path to launch file.

cd catkin_worksapce
roslaunch mylaunch.launch

and it starts the configured nodes as desired.

Now I am trying to add test tags to this launch file as well. I followed the wiki page rostest. However running the rostest as follows throws ResourceNotFound error.

cd catkin_workspace
rostest mylaunch.test

I am able to run the same test+launch file if I put it under src/<package1>/mylaunch.launch and run by

rostest src/<pkg1>/mylaunch.launch.

Anyone can shed light on this problem?To me it seems to a bug. Because rostest should work similar to roslaunch.

As per Dirk's advice updating the tracestack of exception

... logging to /home/dev/.ros/log/rostest-localhost-32420.log
Traceback (most recent call last):
  File "/opt/ros/indigo/bin/rostest", line 36, in <module>
    rostestmain()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rostest/__init__.py", line 268, in rostestmain
    _main()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rostest/rostest_main.py", line 126, in rostestmain
    pkg_dir = r.get_path(pkg)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 190, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound

The launch file

<launch>
    <node 
        pkg="listner"
        type="listner.py"
        name="listner"
        output="screen"
    />  
    <node
        pkg="talker"
        type="talker.py"
        name="talker"
    />  
    <param name="hztest1/topic" value="chatter" />
    <param name="hztest1/hz" value="10.0" />
    <param name="hztest1/hzerror" value="0.5" />
    <param name="hztest1/test_duration" value="5.0" />
    <test test-name="hztest_test" pkg="rostest" type="hztest" name="hztest1"/>
</launch>
2014-10-06 13:58:12 -0500 received badge  Self-Learner (source)
2014-10-06 13:58:12 -0500 received badge  Teacher (source)
2014-10-06 13:51:21 -0500 received badge  Nice Question (source)
2014-10-02 15:06:22 -0500 received badge  Enthusiast
2014-09-23 12:33:46 -0500 received badge  Notable Question (source)
2014-09-20 17:48:56 -0500 received badge  Popular Question (source)