Ask Your Question

nio4990's profile - activity

2019-07-16 09:14:46 -0600 received badge  Famous Question (source)
2019-05-13 02:59:14 -0600 received badge  Notable Question (source)
2018-11-14 11:45:05 -0600 received badge  Taxonomist
2017-12-21 04:34:08 -0600 received badge  Popular Question (source)
2017-11-17 09:48:45 -0600 received badge  Notable Question (source)
2017-08-28 06:43:51 -0600 received badge  Popular Question (source)
2017-08-28 06:43:32 -0600 received badge  Popular Question (source)
2017-08-25 07:46:56 -0600 asked a question how to add custom gripper in kuka_industrial

how to add custom gripper in kuka_industrial Hi everyone, i tried to integrate a custom gripper to my kuka robot. The g

2017-08-09 19:18:46 -0600 received badge  Famous Question (source)
2017-03-13 02:28:38 -0600 received badge  Famous Question (source)
2016-11-22 04:58:58 -0600 received badge  Popular Question (source)
2016-11-22 04:58:58 -0600 received badge  Notable Question (source)
2016-09-29 01:25:03 -0600 received badge  Popular Question (source)
2016-09-29 01:25:03 -0600 received badge  Notable Question (source)
2016-08-05 07:45:47 -0600 answered a question cannot import moveit_commander

i reinstall my ubuntu 14.04 and reinstall ros + moveit, and still get the following error:

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
  what():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument
Aborted (core dumped)
2016-08-04 13:31:18 -0600 asked a question cannot import moveit_commander


i tried to run this code

import sys
import copy
import rospy
import moveit_commander
import moveit_msgs.msg
import geometry_msgs.msg

and got this error message:

Traceback (most recent call last):
  File "/home/anthonio/kuka_bot/src/agilus/src/", line 6, in <module>
    import moveit_commander
  File "/home/anthonio/moveit/devel/lib/python2.7/dist-packages/moveit_commander/", line 35, in <module>
  File "<string>", line 3, in <module>
  File "/home/anthonio/moveit/src/moveit_commander/src/moveit_commander/", line 48, in <module>
    import pyassimp
  File "/usr/lib/python2.7/dist-packages/pyassimp/", line 1, in <module>

    from .core import *
  File "/usr/lib/python2.7/dist-packages/pyassimp/", line 23, in <module>
    from . import structs

can someone please help me?

2016-07-26 08:38:40 -0600 asked a question publish camerainfo: plumb_bob error! (python)

I'm trying to write a node that publish a camera_info topic:

#!/usr/bin/env python
import cv2
import numpy as np
import rospy
from sensor_msgs.msg import CameraInfo
import time
import yaml

def imput_yaml(calib_file):
    with file(calib_file, 'r') as f:
        params = yaml.load(f)

    cam_info = CameraInfo()
    cam_info.height = params['size']['height']
    cam_info.width = params['size']['width']
    cam_info.distortion_model = 'plumb_bob'
    cam_info.K = params['cameraMatrix']['data']
    cam_info.D = params['distortionCoefficients']['data']
    cam_info.R = params['rotation']['data']
    cam_info.P = params['projection']['data']
    return cam_info

def publisher(cam_info,cam_pub):
    stamp = rospy.Time.from_sec(time.time())
    cam_info.header.stamp = stamp

if __name__ == '__main__':
    cam_info = imput_yaml('test.yaml')
    cam_pub = rospy.Publisher('testing', CameraInfo)

        while not rospy.is_shutdown():

    except rospy.ROSInterruptException:

but then i got this error message:

  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/", line 856, in publish
    raise ROSSerializationException(str(e))
rospy.exceptions.ROSSerializationException: <class 'struct.error'>: 'pack expected 12 items for packing (got 16)' when writing 'plumb_bob'

can anyone please help me?

2016-07-25 11:08:35 -0600 asked a question what are the differences between rgb/camera_info and depth/camera_info??

hallo everybody,

this question may sound really silly but i'm really new to this thing. i have connected Kinect v2 with ROS through iai-bridge, ( )

I'm trying to detect object with tabletop, since the iai-bridge only publish rgb/camera_info, i still need depth/camera_info. with topic_tool i relayed rgb/camera_info to depth/camera_info. but it seems it's a foolish thing to do..

can someone help me??


2016-07-24 09:27:29 -0600 received badge  Enthusiast
2016-07-19 10:44:04 -0600 asked a question moveit_commander to update Query-State

hi everybody,

do anybody know how to update the query-state (start-state and goal-state in rviz) using moveit_commander?

thanks, anthony