Ask Your Question

jayson ding's profile - activity

2015-01-08 08:13:25 -0500 received badge  Famous Question (source)
2014-05-20 11:28:00 -0500 received badge  Editor (source)
2014-05-20 11:26:57 -0500 answered a question use MultiArray in rosserial

I spent a day to debug this code. It keeps generate "Lost sync with device, restarting..." . Eventually get rid of line thermo.layout.dim_length = 1; fix my problem. Not quite sure what is happen here. I did not have enough time to investigate this. If anyone know the reason, please reply the post. thanks

2014-01-28 17:23:25 -0500 marked best answer send int16 via std_msg/string msg

Dear All

I am trying to send out int16 from host pc to arduino target. I firstly converted the int16 to two chars and then packaged them into one std_msg/string and send it to the target. My problem is that when I send data which is < 256 and > 0. the high bit will be zero. In this case, the string length will not be two char anymore which cause the com failed. Do anyone know how to fix this problem? thanks a lot.

I understand that my approach is a little awkward. I can use std_msg/int16 do that job directly. I am doing this is aiming to use the same string to carry multiple commands and data.

2014-01-28 17:23:09 -0500 marked best answer build RS485 network on ROS

Dear All

I am testing the possibility of using ROS as a host to communicate with a 10 nodes RS485 network. Each node is one MCU with RS485 interface opened.

I looked through ros.org and ros answers did not get luck. Has any one done this type of work before? As a starting point, I am looking for a RoS compatible RS485 card and starting code to convert RS485 package to ros standard msg. Certainly you are more than welcome to send any suggestion on choosing other network such as CAN, Ethernet, or EtherCAT. Thanks a lot.

Jayson

2014-01-28 17:22:59 -0500 marked best answer ROS supported PCI/PCI express data acquisition (daq) card

Dear All I am trying to read 6 channel Analog Input signal via ROS. My plan is to find one ROS supported PCI/PCI express DAQ card and plug it into my desktop PC. Has anyone know this type DAQ? Certainly if you have better idea to read 6 channel AI, please also let me know. Thanks a lot. Jayson

2014-01-28 17:22:59 -0500 marked best answer planning_component_visualizer bug

Dear All

I am new to ros arm_navigation stack and start from arm_navigation tutorials. I was able to go through Tutorial Planning Description Configuration Wizard and generate robot_arm_navigation file for Planning Components Visualizer. But when I launch Planning Components Visualizer I got the following error. I double check my robot mode in rviz, a couple of my robot linkage transform was not set. Can anyone give some hints? what is going on there. thanks a lot.

......
        [ WARN] [1318862473.674236018, 1318862473.665204048]: Assimp reports no scene in package://robot_model/meshes/zmp.stl
    [ WARN] [1318862474.007762207, 1318862474.001216888]: Assimp reports no scene in package://robot_model/meshes/hokuyo.stl
    [ WARN] [1318862474.008905369, 1318862474.001216888]: Assimp reports no scene in package://robot_model/meshes/hokuyo.stl
    [ WARN] [1318862474.018861592, 1318862474.013163089]: Assimp reports no scene in package://robot_model/meshes/zmp.stl
    [ INFO] [1318862478.034383412, 1318862478.033212900]: waitForService: Service [/register_planning_scene] has not been advertised, waiting...
    [ INFO] [1318862478.198500751, 1318862478.189532041]: waitForService: Service [/environment_server/set_planning_scene_diff] has not been advertised, waiting...
    [ INFO] [1318862479.065942754, 1318862479.053858041]: Waiting for environment server planning scene registration service /register_planning_scene
    [ INFO] [1318862479.134502405, 1318862479.125864028]: Environment server started
    [ INFO] [1318862479.157862418, 1318862479.149939060]: waitForService: Service [/environment_server/set_planning_scene_diff] is now available.
    [ INFO] [1318862479.162892881, 1318862479.162060022]: waitForService: Service [/ompl_planning/plan_kinematic_path] has not been advertised, waiting...
    [ INFO] [1318862479.439649689, 1318862479.438860893]: Successfully connected to planning scene action server for /planning_scene_validity_server
    [ INFO] [1318862479.751330443, 1318862479.750392913]: Successfully connected to planning scene action server for /trajectory_filter_server
    [ INFO] [1318862480.062656603, 1318862480.049906015]: Successfully connected to planning scene action server for /ompl_planning
    [ERROR] [1318862480.124286986, 1318862480.122004032]: Could not find subspace for defining projection evaluator
    [ERROR] [1318862480.124422765, 1318862480.122004032]: Could not setup the projection evaluator
    [ERROR] [1318862480.124537989, 1318862480.122004032]: Could not configure planner for group right_arm with config SBLkConfig1
    [ERROR] [1318862480.124565291, 1318862480.122004032]: Could not add planner for group right_arm and planner_config SBLkConfig1
    [ERROR] [1318862480.124594235, 1318862480.122004032]: Could not initialize planning groups from the param server
    [ INFO] [1318862480.163109192, 1318862480.158339977]: Waiting for planner service /ompl_planning/plan_kinematic_path
    [ INFO] [1318862480.164149067, 1318862480.158339977]: waitForService: Service [/ompl_planning/plan_kinematic_path] has not been advertised, waiting...
    [ INFO] [1318862480.375178396, 1318862480.374572038]: Successfully connected to planning scene action server for /rona_right_arm_kinematics
    [ INFO] [1318862481.169963870, 1318862481.165368080]: Waiting for planner service /ompl_planning/plan_kinematic_path
    [ INFO] [1318862481.170536588, 1318862481.165368080]: waitForService: Service [/ompl_planning/plan_kinematic_path] has not been advertised, waiting...
    [ INFO] [1318862482.178059393, 1318862482.173244953]: Waiting for planner service /ompl_planning/plan_kinematic_path
    [ INFO] [1318862482.178706486, 1318862482.173244953]: waitForService: Service [/ompl_planning/plan_kinematic_path] has not been advertised, waiting...
    [ INFO] [1318862483.190043638, 1318862483.185326099]: Waiting for planner service /ompl_planning/plan_kinematic_path
......
2014-01-28 17:22:10 -0500 marked best answer spacenav_node tutorial help

Dear all

I tried to go through spacenav_node two basic tutorials. I was able to echo the 6DOF joystick on topic /spacenav/joy. The reading from the joystick is correct. However when I run the turtle sim, the turtle did not move at all. After double print out the rxgraph, I found turtle_teleop node is subscripting topic /joy[unknown type]. I guess it might be the bug.

So I tried to changed file .../spacenav_node/src/spacenav_node.cpp, make it published /joy topic instead.

ros::Publisher joy_pub = node_handle.advertise<joy::joy>("/joy", 2);

It does not help. node spacenav_node still publish /spacenav/joy. I am new to ROS. I guess there is some easy and right way to do this. Any hint or suggestion will be appreciated. thanks.

2013-07-17 07:00:47 -0500 received badge  Notable Question (source)
2013-07-16 21:53:16 -0500 received badge  Popular Question (source)
2013-05-08 16:42:44 -0500 asked a question can not load rxbag_plugins correctly

Hey!

I am trying to plot my trajectory topic in a decent way. rxbag_plugins plot seems like a very promising tool to plot the trajectory topic. But while run rxbag, I got the following error. Can anyone tell me what is wrong at here? thanks. By the way, I am using fuerte on ubuntu 12.04. thanks.

Unable to load plugin [rxbag_plugins.plugins] from package [rxbag_plugins]:
Traceback (most recent call last):
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/rxbag/plugins.py", line 70, in load_plugins
    roslib.load_manifest(pkg)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
    sys.path = _generate_python_path(package_name, _rospack) + sys.path
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 98, in _generate_python_path
    packages = get_depends(pkg, rospack)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 51, in get_depends
    vals = rospack.get_depends(package, implicit=True)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 201, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 201, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 195, in get_depends
    names = [p.name for p in self.get_manifest(name).depends]
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 133, in get_manifest
    return self._load_manifest(name)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 172, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 164, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
ResourceNotFound: catkin
ROS path [0]=/opt/ros/fuerte/share/ros
ROS path [1]=/home/me/sandbox
ROS path [2]=/home/me/test
ROS path [3]=/home/me/hg_repo_cambridge
ROS path [4]=/home/me/ros_pkg/rxbag_plugin/rxbag_plugins/src/rxbag_plugins
ROS path [5]=/home/me/ros_pkg
ROS path [6]=/opt/me/fuerte/share
ROS path [7]=/opt/me/fuerte/stacks

Unable to load plugin [tf2_visualization.rxbag_plugin] from package [tf2_visualization]:
Traceback (most recent call last):
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/rxbag/plugins.py", line 70, in load_plugins
    roslib.load_manifest(pkg)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
    sys.path = _generate_python_path(package_name, _rospack) + sys.path
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 98, in _generate_python_path
    packages = get_depends(pkg, rospack)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 51, in get_depends
    vals = rospack.get_depends(package, implicit=True)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 201, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 201, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 195, in get_depends
    names = [p.name for p in self.get_manifest(name).depends]
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 133, in get_manifest
    return self._load_manifest ...
(more)
2013-01-11 07:35:33 -0500 received badge  Popular Question (source)
2013-01-11 07:35:33 -0500 received badge  Notable Question (source)
2013-01-11 07:35:33 -0500 received badge  Famous Question (source)
2012-11-26 09:14:35 -0500 received badge  Popular Question (source)
2012-11-26 09:14:35 -0500 received badge  Notable Question (source)
2012-11-26 09:14:35 -0500 received badge  Famous Question (source)
2012-10-11 10:05:36 -0500 received badge  Famous Question (source)
2012-10-11 10:05:36 -0500 received badge  Popular Question (source)
2012-10-11 10:05:36 -0500 received badge  Notable Question (source)
2012-09-20 14:44:44 -0500 received badge  Taxonomist
2012-08-21 07:15:21 -0500 received badge  Famous Question (source)
2012-08-21 07:15:21 -0500 received badge  Notable Question (source)
2012-08-20 18:02:58 -0500 received badge  Notable Question (source)
2012-08-20 18:02:58 -0500 received badge  Popular Question (source)
2012-08-20 18:02:58 -0500 received badge  Famous Question (source)
2012-08-16 02:16:54 -0500 received badge  Notable Question (source)
2012-08-16 02:16:54 -0500 received badge  Famous Question (source)
2012-06-06 11:21:55 -0500 marked best answer Communiate ROS with JAUS SDK

Dear All I am curious if anyone has build the communication between any Jaus(Joint Architecture for Unmanned Systems) SDK with ROS. Even no one does, any suggestion about where and how to star will be appreciated. Thanks. Jayson

2012-05-25 19:12:50 -0500 received badge  Popular Question (source)