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

daidalos's profile - activity

2016-10-27 04:18:53 -0500 received badge  Famous Question (source)
2016-10-26 02:38:39 -0500 received badge  Student (source)
2016-01-22 04:55:13 -0500 received badge  Famous Question (source)
2015-02-25 04:43:06 -0500 received badge  Famous Question (source)
2015-01-26 00:01:09 -0500 received badge  Famous Question (source)
2014-08-09 12:37:47 -0500 received badge  Famous Question (source)
2014-07-08 06:24:54 -0500 received badge  Notable Question (source)
2014-07-08 06:24:54 -0500 received badge  Popular Question (source)
2014-05-06 03:39:51 -0500 received badge  Famous Question (source)
2014-03-07 23:13:11 -0500 received badge  Notable Question (source)
2014-03-07 23:13:11 -0500 received badge  Popular Question (source)
2014-03-07 00:17:20 -0500 received badge  Notable Question (source)
2014-02-28 04:11:44 -0500 received badge  Famous Question (source)
2014-02-25 02:09:56 -0500 received badge  Popular Question (source)
2014-02-20 05:12:33 -0500 received badge  Notable Question (source)
2014-02-19 21:24:48 -0500 received badge  Popular Question (source)
2014-02-04 19:55:10 -0500 received badge  Notable Question (source)
2014-01-29 17:40:36 -0500 received badge  Notable Question (source)
2014-01-06 01:28:21 -0500 received badge  Notable Question (source)
2014-01-04 04:42:41 -0500 received badge  Popular Question (source)
2014-01-03 19:35:48 -0500 received badge  Popular Question (source)
2014-01-03 17:33:57 -0500 commented question Bad argument (Array should be CvMat or IplImage)

yes i converted the image to lpllmage format by following this tutorial http://wiki.ros.org/cv_bridge/Tutorials/ConvertingBetweenROSImagesAndOpenCVImagesPython

2014-01-03 10:04:22 -0500 received badge  Popular Question (source)
2014-01-02 17:22:56 -0500 commented question OpenNI no data published in the topics or rviz

sorry i am using xbox kinect model 1414. openNI runs just fine though without errors. but sometimes when i run rviz or other nodes it crashes and give the terminate error and core dumps

2014-01-01 20:51:08 -0500 asked a question Bad argument (Array should be CvMat or IplImage)

i wrote a node to subscribe to topic image_topic_2 which is publised by a node after using cv bridge to convert to illmage format then i run this node to detect blue color in the image. but i get the error. anyone can help to identify the problem?

Bad argument (Array should be CvMat or IplImage) in cvGetSize, file /tmp/buildd/ros-fuerte-opencv2-2.4.2-1precise-20130312-1308/modules/core/src/array.cpp, line 1238 Traceback (most recent call last): File "/home/wh07/fuerte_workspace/swri-ros-pkg2/OpenCV/src/Track.py", line 80, in <module> color_tracker.run() File "/home/wh07/fuerte_workspace/swri-ros-pkg2/OpenCV/src/Track.py", line 39, in run hsv_img = cv.CreateImage(cv.GetSize(img), 8, 3) cv2.error: Array should be CvMat or IplImage

#!/usr/bin/env python import roslib roslib.load_manifest('OpenCV') import sys import rospy import cv from std_msgs.msg import String from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError import cv2 import numpy as np

color_tracker_window = "Color Tracker"

class ColorTracker:

def __init__(self):
    self.image_pub = rospy.Publisher("image_topic_3",Image)


    cv.NamedWindow( color_tracker_window, 1 )
    self.capture = cv.CaptureFromCAM(0)

    self.image_sub = rospy.Subscriber("image_topic_2",Image)

    cap = cv2.VideoCapture(0)

    while(1):

# Take each frame
      _, frame = cap.read()

# Convert BGR to HSV
      hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV)

# define range of blue color in HSV
      lower_blue = np.array([110,50,50])
      upper_blue = np.array([130,255,255])

# Threshold the HSV image to get only blue colors
      mask = cv2.inRange(hsv, lower_green, upper_green)

# Bitwise-AND mask and original image
      res = cv2.bitwise_and(frame,frame, mask= mask)

      cv2.imshow('frame',frame)
      cv2.imshow('mask',mask)
      cv2.imshow('res',res)
      k = cv2.waitKey(5) & 0xFF
      if k == 27:
          break

    cv2.destroyAllWindows()

if __name__=="__main__": color_tracker = ColorTracker() color_tracker.run()

def main(args): ic = image_converter() rospy.init_node('image_converter', anonymous=True) try: rospy.spin() except KeyboardInterrupt: print "except shutting down" cv2.destroyAllWindows() if __name__ == '__main__':

2013-12-29 18:57:21 -0500 commented question Kinect publishes no data on published topics

have the same problem how do i solve it?

2013-12-29 18:26:54 -0500 asked a question OpenNI no data published in the topics or rviz

Hi i am using ros fuerte in ubuntu 12.04 on a VM. after running openni.launch, everything seems to be working normally, topics are published. However, when i run image_view or use rviz to display, no image is produced. rostopic list shows that the topic is eing published. i suspect that it might be due to no data being published in the topics and therefore results in the lack of image being produced. anyone happen to encounter this problem before and can share how to resolve this issue? i tried using the freenect stack and everything works fine. only have this issue when using the openNI stack

2013-12-29 16:32:07 -0500 commented question kinect motor driver cannot be detected

yes i tested freenect stack with my old kinect and it works apparently. openni does not work on my old kinect too so i dont think its a kinect problem

2013-12-28 21:29:04 -0500 commented question VM unable to detect kinect motor driver

not sure about the old kinect as its not with me currently. but my new kinect model number is 1473. i searched online and some said its a problem faced with using this specific model. is it true?

2013-12-28 16:17:26 -0500 received badge  Editor (source)
2013-12-28 16:16:43 -0500 asked a question kinect motor driver cannot be detected

hi i just bought a new xbox kinect and apparently, my VM is unable to detect the kinect motor driver but is able to instead the camera and audio instead. this cause me to be unable to use libfreenect. can anyone help me? i searched and most people are able to detect the motor but unable to detect the camera and audio. mine is the opposite. thanks! also when i run

openni and the command rosrun image_view image_view image:=/camera/rgb/image_color

to display the camera data, i get no data with the screen blank. anyone entcounters this problem too?

edit i am using ros fuerte with ubuntu precise 12.04

2013-12-26 17:39:03 -0500 commented question RoboEarth RE_comm fails to build HELP!

anyone can help me identify the problem ?

2013-12-25 22:13:57 -0500 asked a question RoboEarth RE_comm fails to build HELP!

Hi when i get the following errors whenever i rosmake roboearth anyone encounter this error too and can help me to find out what is the problem here? would really appreciate the help!

heres the output of the error

[rosmake-1] Starting >>> re_comm [ make ]
[ rosmake ] Last 40 linesmp_germandeli: 102.7 se... [ 2 Active 99/104 Complete ] {------------------------------------------------------------------------------- ^ /home/wh07/fuerte_workspace/stacks/roboearth/re_comm/src/roboearth/wp1/UnizarRoboEarthInterface.java:293: package cop_save does not exist ServiceClient<cop_save.request, cop_save.response,="" cop_save=""> client = n.serviceClient("/cop/save", new ros.pkg.vision_srvs.srv.cop_save()); ^ /home/wh07/fuerte_workspace/stacks/roboearth/re_comm/src/roboearth/wp1/UnizarRoboEarthInterface.java:293: package cop_save does not exist ServiceClient<cop_save.request, cop_save.response,="" cop_save=""> client = n.serviceClient("/cop/save", new ros.pkg.vision_srvs.srv.cop_save()); ^ /home/wh07/fuerte_workspace/stacks/roboearth/re_comm/src/roboearth/wp1/UnizarRoboEarthInterface.java:293: cannot find symbol symbol : class cop_save location: class roboearth.wp1.UnizarRoboEarthInterface.ExportCopModelCallback ServiceClient<cop_save.request, cop_save.response,="" cop_save=""> client = n.serviceClient("/cop/save", new ros.pkg.vision_srvs.srv.cop_save()); ^ /home/wh07/fuerte_workspace/stacks/roboearth/re_comm/src/roboearth/wp1/UnizarRoboEarthInterface.java:293: package ros.pkg.vision_srvs.srv does not exist ServiceClient<cop_save.request, cop_save.response,="" cop_save=""> client = n.serviceClient("/cop/save", new ros.pkg.vision_srvs.srv.cop_save()); ^ /home/wh07/fuerte_workspace/stacks/roboearth/re_comm/src/roboearth/wp1/UnizarRoboEarthInterface.java:294: package cop_save does not exist cop_save.Request rq = new cop_save().createRequest(); ^ /home/wh07/fuerte_workspace/stacks/roboearth/re_comm/src/roboearth/wp1/UnizarRoboEarthInterface.java:294: cannot find symbol symbol : class cop_save location: class roboearth.wp1.UnizarRoboEarthInterface.ExportCopModelCallback cop_save.Request rq = new cop_save().createRequest(); ^ /home/wh07/fuerte_workspace/stacks/roboearth/re_comm/src/roboearth/wp1/UnizarRoboEarthInterface.java:302: package cop_save does not exist cop_save.Response resp = client.call(rq); ^ /home/wh07/fuerte_workspace/stacks/roboearth/re_comm/src/roboearth/wp1/UnizarRoboEarthInterface.java:342: cannot find symbol symbol : variable CopROSClient location: class roboearth.wp1.UnizarRoboEarthInterface.ExportCopModelCallback String[] model_info = CopROSClient.copModelTypeSemClassForID(req.object_id); ^ 10 errors make[3]: * [../bin/roboearth/wp5/Main.class] Error 1 make[3]: Leaving directory /home/wh07/fuerte_workspace/stacks/roboearth/re_comm/build' make[2]: *** [CMakeFiles/_java_compile_1_67.dir/all] Error 2 make[2]: Leaving directory/home/wh07/fuerte_workspace/stacks/roboearth/re_comm/build' make[1]: * [all] Error 2 make[1]: INTERNAL: Exiting with 3 jobserver tokens available; should be 2! make[1]: Leaving directory `/home/wh07/fuerte_workspace/stacks/roboearth/re_comm/build' -------------------------------------------------------------------------------} [ rosmake ] Output from build of package re_comm written to: [ rosmake ] /home/wh07/.ros/rosmake/rosmake_output-20131226-170614/re_comm/build_output.log [rosmake-1] Finished <<< re_comm [FAIL] [ 50.76 seconds ]
[ rosmake ] Halting due to failure in package re_comm. [ rosmake ] Waiting for other threads to complete. [rosmake-0] Finished <<< comp_germandeli [PASS] [ 133.67 seconds ]
[ rosmake ] Results:
[ rosmake ] Built 101 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/wh07/.ros/rosmake/rosmake_output-20131226-170614

2013-12-25 20:11:55 -0500 asked a question CMvision not working

hi i am trying to use cmvision stack and have successfully installed and built the package. however, whenever i run the command to launch the colorgui, the gui launches but no image is displayed. upon clicking on the blank image it automatically closes and causes a segmentation error. i have tried to display the image using rosrun image_view image_view image:=/camera/rgb/image_color and it is working ffine. help will be much apreciated

wh07@wh07-VM:~/fuerte_workspace/swri-ros-pkg2/cmvision$ rosrun cmvision colorgui image:= /camera/rgb/image_color Segmentation fault (core dumped)

2013-12-25 20:08:52 -0500 asked a question CMvision not working

hi i am trying to use cmvision stack and have successfully installed and built the package. however, whenever i run the command to launch the colorgui, the gui launches but no image is displayed. upon clicking on the blank image it automatically closes and causes a segmentation error. i have tried to display the image using rosrun image_view image_view image:=/camera/rgb/image_color and it is working ffine. help will be much apreciated

wh07@wh07-VM:~/fuerte_workspace/swri-ros-pkg2/cmvision$ rosrun cmvision colorgui image:= /camera/rgb/image_color Segmentation fault (core dumped)

2013-12-25 20:00:47 -0500 asked a question Cmvision color gui not working

hi i am trying to use cmvision stack and have successfully installed and built the package. however, whenever i run the command to launch the colorgui, the gui launches but no image is displayed. upon clicking on the blank image it automatically closes and causes a segmentation error. i have tried to display the image using rosrun image_view image_view image:=/camera/rgb/image_color and it is working ffine. help will be much apreciated

wh07@wh07-VM:~/fuerte_workspace/swri-ros-pkg2/cmvision$ rosrun cmvision colorgui image:= /camera/rgb/image_color Segmentation fault (core dumped)

2013-12-25 19:58:42 -0500 asked a question Cmvision colorgui not working?

hi i am trying to use cmvision stack and have successfully installed and built the package. however, whenever i run the command to launch the colorgui, the gui launches but no image is displayed. upon clicking on the blank image it automatically closes and causes a segmentation error. i have tried to display the image using rosrun image_view image_view image:=/camera/rgb/image_color and it is working ffine. help will be much apreciated

wh07@wh07-VM:~/fuerte_workspace/swri-ros-pkg2/cmvision$ rosrun cmvision colorgui image:= /camera/rgb/image_color Segmentation fault (core dumped)

2013-12-25 18:11:02 -0500 asked a question roboearth complie fails

hi i ran rosmake roboearth and got an output error need help in reactifying why does the package fail to build

wh07@wh07-VM:~/fuerte_workspace$ rosmake roboearth [ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['roboearth']
[ rosmake ] Logging to directory /home/wh07/.ros/rosmake/rosmake_output-20131226-130403 [ rosmake ] Expanded args ['roboearth'] to: ['re_2dmap_extractor', 're_comm', 're_object_recorder', 're_object_detector_gui', 'ar_bounding_box', 're_kinect_object_detector', 're_vision', 're_msgs', 're_srvs', 're_ontology', 're_comm_core'] [rosmake-0] Starting >>> roslang [ make ]
[rosmake-0] Finished <<< roslang No Makefile in package roslang
[rosmake-1] Starting >>> geometry_msgs [ make ]
[rosmake-1] Finished <<< geometry_msgs No Makefile in package geometry_msgs
[rosmake-0] Starting >>> roscpp [ make ]
[rosmake-0] Finished <<< roscpp No Makefile in package roscpp
[rosmake-0] Starting >>> octomap [ make ]
[rosmake-1] Starting >>> std_msgs [ make ]
[rosmake-0] Finished <<< octomap ROS_NOBUILD in package octomap
[rosmake-0] Starting >>> roslib [ make ]
[rosmake-1] Finished <<< std_msgs No Makefile in package std_msgs
[rosmake-1] Starting >>> re_msgs [ make ]
[rosmake-0] Finished <<< roslib No Makefile in package roslib
[rosmake-0] Starting >>> rospack [ make ]
[rosmake-0] Finished <<< rospack No Makefile in package rospack
[rosmake-0] Starting >>> rosjava_jni [ make ]
[rosmake-0] Finished <<< rosjava_jni ROS_NOBUILD in package rosjava_jni
[rosmake-0] Starting >>> mk [ make ]
[rosmake-0] Finished <<< mk No Makefile in package mk
[rosmake-0] Starting >>> sensor_msgs [ make ]
[rosmake-0] Finished <<< sensor_msgs No Makefile in package sensor_msgs
[rosmake-0] Starting >>> ias_table_msgs [ make ]
[rosmake-0] Finished <<< ias_table_msgs ROS_NOBUILD in package ias_table_msgs
[rosmake-0] Starting >>> jpl [ make ]
[ rosmake ] All 9 linesre_msgs: 5.4 sec ] [ jpl:... [ 2 Active 11/102 Complete ] {------------------------------------------------------------------------------- cd jpl && autoconf sed 's/-cc-options\,//' jpl/configure > jpl/configure.sed; mv jpl/configure.sed jpl/configure; chmod +x jpl/configure if test -e /usr/lib/libswipl.so; then sed 's/-lpl/-lswipl/' jpl/configure > jpl/configure.sed; mv jpl/configure.sed jpl/configure; chmod +x jpl/configure; fi cd jpl && ./configure checking for swi-prolog... no checking for swipl... no checking for pl... no configure: error: "Cannot find SWI-Prolog. SWI-Prolog must be installed first" -------------------------------------------------------------------------------} [ rosmake ] Output from build of package jpl written to: [ rosmake ] /home/wh07/.ros/rosmake/rosmake_output-20131226-130403/jpl/build_output.log [rosmake-0] Finished <<< jpl [FAIL] [ 5.36 seconds ]
[ rosmake ] Halting due to failure in package jpl. [ rosmake ] Waiting for other threads to complete. [rosmake-1] Finished <<< re_msgs [PASS] [ 17.45 seconds ]
[ rosmake ] Results:
[ rosmake ] Built 13 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/wh07/.ros/rosmake/rosmake_output-20131226-130403
wh07@wh07-VM:~/fuerte_workspace$ roscd roboearth wh07@wh07-VM:~/fuerte_workspace/stacks/roboearth$ rosmake [ rosmake ] rosmake starting...
[ rosmake ] No package specified. Building stack ['roboearth']
[ rosmake ] Packages requested are: ['roboearth']
[ rosmake ] Logging to directory /home/wh07/.ros/rosmake/rosmake_output-20131226-130903 [ rosmake ] Expanded args ['roboearth'] to: ['re_2dmap_extractor', 're_comm', 're_object_recorder', 're_object_detector_gui', 'ar_bounding_box', 're_kinect_object_detector', 're_vision', 're_msgs', 're_srvs', 're_ontology', 're_comm_core'] [rosmake-0] Starting >>> roslang [ make ]
[rosmake-1] Starting >>> geometry_msgs [ make ]
[rosmake-0] Finished <<< roslang No Makefile in package roslang
[rosmake-0] Starting >>> roscpp [ make ]
[rosmake-1] Finished <<< geometry_msgs No Makefile in package geometry_msgs
[rosmake-1] Starting >>> std_msgs [ make ]
[rosmake-1] Finished <<< std_msgs No Makefile in package std_msgs
[rosmake-1] Starting >>> re_msgs [ make ]
[rosmake-0] Finished <<< roscpp No Makefile in package roscpp
[rosmake-0] Starting >>> octomap [ make ]
[rosmake-0] Finished <<< octomap ROS_NOBUILD in package octomap
[rosmake-0] Starting >>> roslib [ make ]
[rosmake-0] Finished <<< roslib No Makefile in package roslib
[rosmake-0] Starting >>> rospack [ make ]
[rosmake-0] Finished <<< rospack No Makefile in package rospack
[rosmake-0] Starting >>> rosjava_jni [ make ]
[rosmake-0] Finished <<< rosjava_jni ROS_NOBUILD in package rosjava_jni
[rosmake-0 ... (more)

2013-12-22 16:53:02 -0500 asked a question VM unable to detect kinect motor driver

hi as above i bought a new xbox 360 kinect and after plugging it into my laptop, using VMware ubuntu 12.04, it is unable to detect the microsoft nui kinect motor driver. it can however detect the audio and camera drivers. because of this i am unable to operate the freenect stack. using my previous kinect, the vm is able to detect all 3driver. anyone has a solution to this problem or might know what is the cause of this problem? would appreciate it very much. thanks