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

chenchengshao@gmail.com's profile - activity

2018-08-05 17:48:35 -0500 received badge  Famous Question (source)
2018-08-05 17:47:40 -0500 received badge  Famous Question (source)
2018-06-06 19:42:03 -0500 received badge  Famous Question (source)
2018-06-06 19:42:03 -0500 received badge  Notable Question (source)
2018-02-01 10:43:55 -0500 received badge  Notable Question (source)
2017-12-05 16:40:56 -0500 received badge  Famous Question (source)
2017-05-19 04:18:22 -0500 received badge  Popular Question (source)
2017-05-18 21:28:10 -0500 asked a question when ros statistics send parameters when establish a TCP connection

when ros statistics send parameters when establish a TCP connection We have two ROS nodes: one node called A runs ROS Ki

2017-02-15 13:29:17 -0500 answered a question I would like to ask some help to manipulate the youBot using ros kinetic

I encounter the same situation, If any one can give some help and suggestion?

2016-10-21 12:17:45 -0500 received badge  Taxonomist
2016-09-29 11:15:39 -0500 received badge  Notable Question (source)
2016-09-29 11:15:39 -0500 received badge  Popular Question (source)
2016-08-12 07:34:43 -0500 received badge  Notable Question (source)
2016-07-06 07:05:34 -0500 received badge  Famous Question (source)
2016-06-03 07:50:53 -0500 received badge  Popular Question (source)
2016-04-19 13:11:41 -0500 received badge  Student (source)
2016-02-17 00:01:48 -0500 asked a question Moveit with multiple rviz

I'm using moveit trying to robot arm, For some purpose, I need to connect two rviz to the same master.

When I operate in one rviz window, two rviz simulation robot will move.

Is there anyway I can only let the rviz window I operate move, the another rviz will not move.

2016-02-09 09:30:41 -0500 received badge  Notable Question (source)
2016-02-09 09:29:44 -0500 received badge  Enthusiast
2016-02-08 20:30:59 -0500 asked a question difference of advertiseService between class methods and function callback.

ROS run through launch file specify the node "surface_service" in namespace "opnear3".

the node "surface_service" has the function to provide the service "print_service", the code is below, the callback signature is from class methods: ros::NodeHandle nh; ros::ServiceServer surface_server_; surface_server_ = nh.advertiseService( "print_service", &xxxx::select_callback, this); then the name of service generated will be "/print_service"

But I noticed if I use callback signature from function like: ros::NodeHandle nh; ros::ServiceServer surface_server_; surface_server_ = nh.advertiseService( "print_service", select_callback); Then the name of service generated will be "/opnear3/surface_service/print_service"

Could anybody help to explain this? for the class methods call scenario ,how can I get the same service like function callback? Thanks

2016-02-05 09:31:37 -0500 answered a question service didn't show namespace.

I did try to put in the group, looks like it doesn't help.

2016-02-05 04:47:23 -0500 received badge  Popular Question (source)
2016-02-04 13:50:31 -0500 commented question service didn't show namespace.

Because I want to get another service like /opnear4/select_service by running same ROS node in different namespace, is there any way to create service with namespace on it?

2016-02-04 13:32:49 -0500 asked a question service didn't show namespace.
  1. launch file specify the node "surface_service" in namespace "opnear3".

  2. the node "surface_service" has the function to provide one service "select service" ros::ServiceServer surface_server_; surface_server_ = nh.advertiseService( "select_service", &xxxx::select_callback, this);

  3. roslaunch launch file, I'm expecting the service name of "select_service" will be /opnear3/select_service when using rosservice list. in stead, in only shows /select_service.

2016-01-21 01:51:51 -0500 received badge  Popular Question (source)
2016-01-20 16:59:21 -0500 asked a question convert from int32 to int

How to compare int32 with int or convert int32 to int?

Looks like No working this way: Int = (int) Int32;