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

orhan's profile - activity

2021-03-17 03:02:11 -0500 received badge  Taxonomist
2018-12-10 11:30:47 -0500 received badge  Famous Question (source)
2018-07-09 06:45:20 -0500 received badge  Teacher (source)
2017-02-28 08:21:06 -0500 answered a question "mrp2_gazebo.launch" from mrp2_gazebo package error

It seems like you skipped to install mrp2_description package.

$ sudo apt-get install ros-indigo-mrp2-description
2017-02-28 08:16:06 -0500 answered a question Explore surrounding areas and make a map

Hi Marwa, Did you try sourcing your workspace?

$ source ~/YOUR_WORKSPACE/devel/setup.bash

After that you could be able to roscd to mrp2_navigation package.

$ roscd mrp2_navigation/
2016-10-11 23:10:37 -0500 received badge  Notable Question (source)
2016-07-27 14:01:30 -0500 commented answer Is there a robot monitor node?

then write your own

2016-07-27 13:59:51 -0500 answered a question Are there any books on ROS?

i liked this one and it really helped me alot, uses python...

Programming Robots ROS Practical Introduction

2016-07-23 05:15:01 -0500 commented answer Ros-opencv after few computations cannot see the image

it works thanks alot

2016-07-23 05:14:34 -0500 received badge  Scholar (source)
2016-07-23 00:44:38 -0500 received badge  Popular Question (source)
2016-07-22 15:45:23 -0500 commented answer Ros-opencv after few computations cannot see the image

thank you , i'll try that and update tomorrow

2016-07-22 11:11:14 -0500 commented answer How to upload a ROS package to github?

If you drag and drop that will work fine and also you can create by typing /foldername while adding a file

2016-07-22 10:10:13 -0500 answered a question How to upload a ROS package to github?

Hi ,

using github for the first time is a bit tricky. just create a repository and put a readme in it. after that on the right side you will see upload files button from there you can upload your files.

for creating sub directories you can check this link http://stackoverflow.com/questions/18... it is really easy with this method but not efficient for large packages.

2016-07-22 09:23:36 -0500 answered a question About Kinect and turtlebot_2

just try roslaunch turtlebot_bringup 3dsensor.launch after that run rostopic echo /camera/rgb/image_raw you ll be able to see the data

2016-07-22 09:23:36 -0500 asked a question Ros-opencv after few computations cannot see the image

Hi ,

So i'm trying to detect lines with turtlebot via kinect rgb camera. Everything was working until i added cv2.HoughLinesP() i think it still works but image window comes up as menubar only :) canny and gaussianblur works fine with a bit latency but at least i can see the image

i tried to add rospy.sleep() . im not sure where to go from this point. any suggestions?

thanks

def __init__(self):
    rospy.init_node('test_node')
    self.bridge=CvBridge()

    self.image_sub = rospy.Subscriber("/camera/rgb/image_color", Image, self.callback)

def callback(self,data):
    try:
        cv_image = self.bridge.imgmsg_to_cv2(data, "bgr8")
    except CvBridgeError as e:
        print(e)

    cv_image=(255-cv_image)

    g_img=cv2.cvtColor(cv_image,cv2.COLOR_BGR2GRAY)
    g_img=cv2.GaussianBlur(g_img,(5,5),200)
    thresh=cv2.Canny(g_img,5,150,5)
    lines = cv2.HoughLinesP(thresh,2,np.pi/180,100,100,1)
    print lines.shape
    for i in range(0,lines.shape[0]):
        for x1,y1,x2,y2 in lines[i]:
            cv2.line(cv_image,(x1,y1),(x2,y2),(0,255,0),2)

    cv2.imshow("image",lines)
    cv2.waitKey(3)
    #rospy.sleep(10)
2016-07-15 09:23:23 -0500 received badge  Enthusiast
2016-04-21 14:24:08 -0500 received badge  Supporter (source)