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

xyz's profile - activity

2022-07-14 09:20:24 -0500 received badge  Famous Question (source)
2022-03-24 08:10:56 -0500 received badge  Famous Question (source)
2018-07-06 07:17:23 -0500 received badge  Famous Question (source)
2017-09-18 03:17:10 -0500 received badge  Notable Question (source)
2017-07-17 07:05:42 -0500 received badge  Popular Question (source)
2017-07-17 07:05:42 -0500 received badge  Notable Question (source)
2016-12-20 02:19:57 -0500 received badge  Notable Question (source)
2016-12-20 02:19:57 -0500 received badge  Popular Question (source)
2016-08-18 12:17:55 -0500 received badge  Popular Question (source)
2016-08-18 04:11:09 -0500 asked a question Cannot connect ros master when run with sudo

As the title, I can run well a bag normally, but when I add sudo, it says

[FATAL] [1471510924.482740850]: ROS_MASTER_URI is not defined in the environment.

which is the same as no master exists. But I really have to add sudo to open a usb camera.

2016-07-28 08:35:40 -0500 answered a question Get EINVAL with mocap_optitrack

I just solved this. I gave the wrong IP address. I gave the local address of the motive computer, the right one is the multicast address.

2016-07-28 07:35:53 -0500 asked a question Get EINVAL with mocap_optitrack

I am trying to use mocap_optitrack ( from https://github.com/ros-drivers/mocap_... ). I get EINVAL after the following code: struct ip_mreq mreq; mreq.imr_multiaddr.s_addr = inet_addr( multicast_ip.c_str() ); mreq.imr_interface = m_local_addr.sin_addr; ROS_INFO( "Joining multicast group %s...", inet_ntoa( mreq.imr_multiaddr ) ); result = setsockopt(m_socket, IPPROTO_IP, IP_ADD_MEMBERSHIP, (char *)&mreq, sizeof(mreq));

the result is like this: what(): Failed to set socket option: EINVAL

2016-07-28 07:34:30 -0500 received badge  Editor (source)
2016-07-28 02:42:50 -0500 asked a question How to set parameters with mocap_optitrack

I am trying to use mocap_optitrack ( from https://github.com/ros-drivers/mocap_... ). I cannot get data. I think maybe the problem is that I set the parameters incorrectly. I am not sure with RIGID_BODIES_KEY, I give the names of rigid bodies in motive like this: RIGID_BODIES_KEY:="[rigid1 rigid2]". Is this right?