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

priya's profile - activity

2014-01-28 17:25:23 -0500 marked best answer rosmake failed for g2o

hi

i want to install rgbdslam package. so i used the svn co link. in that i followed the readme file and i tried to install g2o. when i gave rosmake i got following error:

root@mutu-Vostro-3550:/opt/ros/electric/stacks/g2o# rosmake --rosdep-install [ rosmake ] No package specified. Building ['g2o']
[ rosmake ] Packages requested are: ['g2o']
[ rosmake ] Logging to directory/home/mutu/.ros/rosmake/rosmake_output-20120416-145054 [ rosmake ] Expanded args ['g2o'] to: ['g2o']
[ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . . Failed to find rosdep suitesparse for package g2o on OS:ubuntu version:oneiric [ rosmake ] rosdep install failed: Rosdep install failed

if rosmake fails the readme file has the next step.i did it, but i got the following:

root@mutu-Vostro-3550:/opt/ros/electric/stacks/g2o# sudo apt-get install libsuitesparse-dev libcsparse2.2.3 Reading package lists... Done Building dependency tree
Reading state information... Done libcsparse2.2.3 is already the newest version. libsuitesparse-dev is already the newest version.

what to do?

2014-01-28 17:25:22 -0500 marked best answer launch error for kinect openni

Hi I installed openni_kinect package and tried the launch command i'm not getting output. when i opened rviz i got the topics i selected them and changed to grey background according to the steps in openni_launch in ros, status for point cloud2 is warning and it says no messages received and [0] points from [0] messages. when i opened launch command i got the following 2 errors:

root@kanna-Vostro-3550:~# roslaunch openni_launch openni.launch
... logging to /home/kanna/.ros/log/2c9942c2-8928-11e1-9a4b-0567e511ceb2/roslaunch-kanna-Vostro-3550-23666.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://kanna-Vostro-3550:44496/

SUMMARY
========

PARAMETERS
 * /rosdistro
 * /camera/driver/rgb_frame_id
 * /camera/disparity_depth_registered/min_range
 * /camera/driver/rgb_camera_info_url
 * /camera/depth_registered/rectify_depth/interpolation
 * /camera/driver/depth_frame_id
 * /camera/depth/rectify_depth/interpolation
 * /camera/disparity_depth/max_range
 * /rosversion
 * /camera/driver/device_id
 * /camera/driver/depth_camera_info_url
 * /camera/disparity_depth/min_range
 * /camera/disparity_depth_registered/max_range

NODES
  /camera/depth/
    rectify_depth (nodelet/nodelet)
    metric_rect (nodelet/nodelet)
    metric (nodelet/nodelet)
    points (nodelet/nodelet)
  /camera/rgb/
    debayer (nodelet/nodelet)
    rectify_mono (nodelet/nodelet)
    rectify_color (nodelet/nodelet)
  /
    camera_nodelet_manager (nodelet/nodelet)
    camera_base_link (tf/static_transform_publisher)
    camera_base_link1 (tf/static_transform_publisher)
    camera_base_link2 (tf/static_transform_publisher)
    camera_base_link3 (tf/static_transform_publisher)
  /camera/
    driver (nodelet/nodelet)
    register_depth_rgb (nodelet/nodelet)
    points_xyzrgb_depth_rgb (nodelet/nodelet)
    disparity_depth (nodelet/nodelet)
    disparity_depth_registered (nodelet/nodelet)
  /camera/ir/
    rectify_ir (nodelet/nodelet)
  /camera/depth_registered/
    rectify_depth (nodelet/nodelet)
    metric_rect (nodelet/nodelet)
    metric (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [23680]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 2c9942c2-8928-11e1-9a4b-0567e511ceb2
process[rosout-1]: started with pid [23693]
started core service [/rosout]
process[camera_nodelet_manager-2]: started with pid [23705]
process[camera/driver-3]: started with pid [23706]
process[camera/rgb/debayer-4]: started with pid [23707]
process[camera/rgb/rectify_mono-5]: started with pid [23714]
process[camera/rgb/rectify_color-6]: started with pid [23717]
process[camera/ir/rectify_ir-7]: started with pid [23727]
process[camera/depth/rectify_depth-8]: started with pid [23731]
process[camera/depth/metric_rect-9]: started with pid [23745]
process[camera/depth/metric-10]: started with pid [23747]
process[camera/depth/points-11]: started with pid [23764]
process[camera/register_depth_rgb-12]: started with pid [23779]
process[camera/depth_registered/rectify_depth-13]: started with pid [23793]
process[camera/depth_registered/metric_rect-14]: started with pid [23794]
process[camera/depth_registered/metric-15]: started with pid [23798]
process[camera/points_xyzrgb_depth_rgb-16]: started with pid [23807]
process[camera/disparity_depth-17]: started with pid [23809]
process[camera/disparity_depth_registered-18]: started with pid [23815]
process[camera_base_link-19]: started with pid [23816]
process[camera_base_link1-20]: started with pid [23825]
process[camera_base_link2-21]: started with pid [23836]
process[camera_base_link3-22]: started with pid [23842]
[ERROR] [1334734153.636038976]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/compressed/set_parameters]
[ERROR] [1334734153.648738365]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/theora/set_parameters]
[ INFO] [1334734156.159765956]: Number devices connected: 1
[ INFO] [1334734156.159985567]: 1. device on bus 003:11 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00362D00362137A'
[ INFO] [1334734156.162302192]: Searching for device with index = 1
[ INFO] [1334734156.225601716]: Opened 'Xbox NUI Camera' on bus 3:11 with serial number 'A00362D00362137A'
[ INFO] [1334734156.282285682 ...
(more)
2014-01-28 17:25:20 -0500 marked best answer build failed for openni driver

hi

i have kinect camera and i'm trying to install it in my laptop with 32-bit ubuntu 11.10 and ros electric.so i connected the usb cable from kinect to laptop and started with the steps given in openni_kinect package in ros.org and got following error while trying to run make cmd in drivers:

root@mutu-Vostro-3550:/opt/ros/electric/stacks/drivers# make cd openni && make make[1]: Entering directory `/opt/ros/electric/stacks/drivers/openni' cd build/openni/Platform/Linux/CreateRedist && bash RedistMaker && cd -


  • PrimeSense OpenNI Redist *
  • 2012-04-16 21:21:43 *

Target: Linux-x86 Version: 1.5.2.23 Num of compile jobs: 8

  • Building OpenNI... ../../../../../Source/Utils/niLicense/niLicense.cpp: In function ‘int main(int, char)’: ../../../../../Source/Utils/niLicense/niLicense.cpp:122:108: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat] ../../../../../Source/Utils/niLicense/niLicense.cpp:129:97: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat] /bin/sh: javac: not found make[3]: [../../../Bin/x86-Release/org.OpenNI.jar] Error 127 make[2]: [Wrappers/OpenNI.java] Error 2 make[2]: Waiting for unfinished jobs.... failed to execute: make -j8 -C /opt/ros/electric/stacks/drivers/openni/build/openni/Platform/Linux/CreateRedist/../Build > /opt/ros/electric/stacks/drivers/openni/build/openni/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt Building Failed! make[1]: [installed] Error 1 make[1]: Leaving directory `/opt/ros/electric/stacks/drivers/openni' make: * [openni_lib] Error 2

what should i do?

2014-01-28 17:25:05 -0500 marked best answer not able to select topic in rviz

I started with introduction to working with laserscanner data tutorials:

as it says i executed the following commands in terminal:

roscore in a terminal

then again

$ rosbag play laser.bag[ INFO] [1331111093.757680745]: Opening laser.bag

Waiting 0.2 seconds after advertising topics... done.

Hit space to toggle paused, or 's' to step.
 [RUNNING]  Bag Time: 1275001525.634246   Duration: 41.420635 / 41.431989    
Done.
root@arun-Dell-System-Inspiron-N4110:~# rostopic list -v | grep sensor_msgs/LaserScan
root@arun-Dell-System-Inspiron-N4110:~# rosrun rviz rviz

in rviz i could not find the laserscan or /tilt_scan topic. i have inserted the rviz i got after rosrun rviz rviz

image description

image description

can anyone tell me why i'm not able to see the topics list and visualize laserdata in rviz

2013-03-26 03:17:18 -0500 received badge  Famous Question (source)
2013-03-26 03:17:18 -0500 received badge  Notable Question (source)
2013-03-26 03:17:18 -0500 received badge  Popular Question (source)
2012-09-24 11:07:58 -0500 received badge  Popular Question (source)
2012-09-24 11:07:58 -0500 received badge  Notable Question (source)
2012-09-24 11:07:58 -0500 received badge  Famous Question (source)
2012-09-20 06:50:03 -0500 received badge  Notable Question (source)
2012-09-20 06:50:03 -0500 received badge  Famous Question (source)
2012-09-20 06:50:03 -0500 received badge  Popular Question (source)
2012-09-09 12:26:26 -0500 marked best answer kinect camera with 32-bit ubuntu

Hi Can kinect camera be connected to ubuntu 32-bit for RGBDSLAM package? I'm using ubuntu 11.10 32-bit os. Its dual boot along with windows7 64-bit. I installed with 32-bit ubuntu cd accidently and working on it. I wanted to confirm before buying kinect, can i use the openni driver for kinect and perform rgbdslam or should i change to 64-bit ubuntu 11.10?

2012-08-24 15:43:38 -0500 received badge  Famous Question (source)
2012-08-24 15:43:38 -0500 received badge  Notable Question (source)
2012-08-22 07:42:52 -0500 received badge  Notable Question (source)
2012-08-22 07:42:52 -0500 received badge  Popular Question (source)
2012-08-22 07:42:52 -0500 received badge  Famous Question (source)
2012-08-21 08:06:42 -0500 received badge  Famous Question (source)
2012-08-21 08:06:42 -0500 received badge  Notable Question (source)
2012-08-21 08:06:42 -0500 received badge  Popular Question (source)
2012-08-20 22:02:06 -0500 received badge  Famous Question (source)
2012-08-20 22:02:06 -0500 received badge  Popular Question (source)
2012-08-20 22:02:06 -0500 received badge  Notable Question (source)
2012-08-19 07:15:43 -0500 received badge  Famous Question (source)
2012-08-05 22:10:57 -0500 received badge  Notable Question (source)
2012-06-05 05:54:48 -0500 received badge  Popular Question (source)
2012-06-03 20:44:54 -0500 received badge  Popular Question (source)
2012-05-28 07:39:43 -0500 answered a question rgbdslam not able to get the result

in the beginning also getting few errors saying no display list could be created as shown below

[ INFO] [1338224988.787804464]: Rotation: 8.37, Distance:  0.238m
[ INFO] [1338224988.787925538]: Added Edge between 1 and 5. Inliers: 65
[ INFO] [1338224988.788120198]: Information Matrix for Edge (0<->5
25  0  0  0  0  0
 0 25  0  0  0  0
 0  0 25  0  0  0
 0  0  0 25  0  0
 0  0  0  0 25  0
 0  0  0  0  0 25
[ INFO] [1338224988.788246240]: Rotation: 22.29, Distance:  0.114m
[ INFO] [1338224988.788360570]: Added Edge between 0 and 5. Inliers: 54
[ INFO] [1338224988.803413644]: Built flannIndex (address 0x7f3d8d7d0390) for Node 5
[ INFO] [1338224988.803573771]: Added Node, new graphsize: 6 nodes
[ WARN] [1338224988.803711679]: Loop Closures: 0, Sequential Edges: 15
[ WARN] [1338224988.803755588]: Starting Optimization
[ INFO] [1338224988.803867169]: World->Base: Translation -0.0231351 0.132364 0.0418887
[ INFO] [1338224988.803987630]: World->Base: Rotation -0.00136037 -0.132094 -0.117103 0.984295
**[ERROR] [1338224988.804246420]: No display list could be created**
iteration= 0     chi2= 42.351829     time= 0.000160933   cumTime= 0.000160933    lambda= -1.000000   edges= 15   schur= 0
[ WARN] [1338224988.805015611]: G2O Statistics: 6 nodes, 15 edges. 42.3518288353744 ; chi2 , Iterations: 1
[ INFO] [1338224988.805062111]: Finished G2O optimization after 1 iterations
[ WARN] [1338224988.806400341]: Optimizer Runtime; 0.00267593 s
[ INFO] [1338224992.429717475]: Feature Count of Node:  421
[ WARN] [1338224992.732788391]: Frame id /odom does not exist! Frames (7): Frame /openni_depth_optical_frame exists with parent /openni_depth_frame.
Frame /openni_depth_frame exists with parent /openni_camera.
Frame /openni_rgb_optical_frame exists with parent /openni_rgb_frame.
Frame /openni_rgb_frame exists with parent /openni_camera.
Frame /openni_camera exists with parent NO_PARENT.
Frame /map exists with parent /openni_camera.
 - No odometry available
[ INFO] [1338224992.733198503]: Odometry: Translation 0 0 0
[ INFO] [1338224992.733370013]: Odometry: Rotation 0 0 0 1
[ INFO] [1338224992.734458060]: Odometry Delta: Translation 0 0 0
[ INFO] [1338224992.734606244]: Odometry Delta: Rotation 0 0 0 1
[ WARN] [1338224992.734699015]: No Valid Odometry, using identity
[ INFO] [1338224992.734840101]: Comparing new node (6) with previous node 5
[ INFO] [1338224992.758740952]: Construction of Node with SURF Features
[ INFO] [1338224992.775722888]: Feature Matches between Nodes   6 ( 421 features) and   5 ( 393 features) in segment 1/1 (features 0 to 421 of first node):  176. Percentage: 41.805226%, Avg NN Ratio: 0.626708
[ INFO] [1338224992.775828732]: count_matrix(  7,   6) =   176;
[ INFO] [1338224992.775873996]: dista_matrix(  7,   6) =  0.299544;
[ INFO] [1338224992.785078981]: 36 good iterations (from 1000), inlier pct 49, inlier cnt: 87, error: 215.88 cm
[ INFO] [1338224992.785162962]: RANSAC found a valid transformation with 87 inliers matches with average ratio 0.321630
[ INFO] [1338224992.785210648]: Returning Valid Edge
[ INFO] [1338224992.785274167]: Rotation: 4.20, Distance:  0.103m
[ INFO] [1338224992.785578554]: Added Edge between 5 and 6. Inliers: 87
[ INFO] [1338224992.786864780]: Node ID's to compare with candidate for node 6. Sequential: 4, 3, 2, 1, 0, 
[ INFO] [1338224992.786922982]: Running node comparisons in parallel in 9 (of 10) available threads
[ INFO] [1338224992.822657467]: Feature Matches between Nodes   6 ( 421 features) and   3 ( 445 features) in segment ...
(more)
2012-05-28 07:07:49 -0500 asked a question rgbdslam not able to get the result

when i run the command roslaunch rgbdslam kinect+rgbdslam.launch i get gui but only color image depth image and third features image but i'm not getting the rgbdslam with camera pose image on top part of gui and in terminal it says the following error

[ INFO] [1338224168.891339970]: [/openni_node1] No devices connected.... waiting for devices to be connected
bool g2o::HyperGraphActionLibrary::registerAction(g2o::HyperGraphElementAction*): creating collection for "writeGnuplot"
bool g2o::HyperGraphActionLibrary::registerAction(g2o::HyperGraphElementAction*): creating collection for "draw"
Initializing Node...
[ INFO] [1338224168.933718322]: Connected to roscore
[ INFO] [1338224169.219434230]: Listening to /camera/rgb/image_color and /camera/depth/image
[ INFO] [1338224169.219877350]: Threads used by QThreadPool on this Computer 4. Will increase this by one, b/c the QtRos Thread is very lightweight
X Error: BadRequest (invalid request code or no such operation) 1
  Extension:    155 (Uknown extension)
  Minor opcode: 19 (Unknown request)
  Resource id:  0x23
X Error: BadRequest (invalid request code or no such operation) 1
  Extension:    155 (Uknown extension)
  Minor opcode: 19 (Unknown request)
  Resource id:  0x23

and also

[ INFO] [1338225002.904941687]: RANSAC found a valid transformation with 257 inliers matches with average ratio 0.220948
[ INFO] [1338225002.904997910]: Returning Valid Edge
[ INFO] [1338225002.905044975]: Rotation: 0.08, Distance:  0.002m
[ WARN] [1338225002.905112550]: Transformation not relevant. Did not add as Node
[ INFO] [1338225002.905168206]: World->Base: Translation -0.0053153 0.0474611 -0.0304579
[ INFO] [1338225002.905216732]: World->Base: Rotation 0.00478733 -0.0138469 -0.0925705 0.995598
[ INFO] [1338225004.539235426]: Feature Count of Node:  496
[ WARN] [1338225004.845683768]: Frame id /odom does not exist! Frames (7): Frame /openni_depth_optical_frame exists with parent /openni_depth_frame.
Frame /openni_depth_frame exists with parent /openni_camera.
Frame /openni_rgb_optical_frame exists with parent /openni_rgb_frame.
Frame /openni_rgb_frame exists with parent /openni_camera.
Frame /openni_camera exists with parent NO_PARENT.
Frame /map exists with parent /openni_camera.
 - No odometry available
[ INFO] [1338225004.845947526]: Odometry: Translation 0 0 0
[ INFO] [1338225004.846103225]: Odometry: Rotation 0 0 0 1
[ INFO] [1338225004.847631517]: Odometry Delta: Translation 0 0 0
[ INFO] [1338225004.847875341]: Odometry Delta: Rotation 0 0 0 1
[ WARN] [1338225004.848022894]: No Valid Odometry, using identity
[ INFO] [1338225004.848171485]: Comparing new node (8) with previous node 7
[ INFO] [1338225004.928833475]: Construction of Node with SURF Features
[ INFO] [1338225004.992024818]: Feature Matches between Nodes   8 ( 496 features) and   7 ( 510 features) in segment 1/1 (features 0 to 496 of first node):  242. Percentage: 48.790323%, Avg NN Ratio: 0.537967
[ INFO] [1338225004.992530319]: count_matrix(  9,   8) =   242;
[ INFO] [1338225004.992841356]: dista_matrix(  9,   8) =  0.218310;
[ INFO] [1338225005.009861004]: 33 good iterations (from 1000), inlier pct 95, inlier cnt: 230, error: 137.74 cm

wht shld i do

2012-05-26 04:32:25 -0500 marked best answer joystick ros

Hi

Is there a step by step tutorial for interfacing joystick to ros and controlling the motors of base. I have logitech wireless gamepad F710 joystick can i use this in ros? can anyone suggest what wifi supported low cost controller to use?

2012-05-03 05:54:20 -0500 commented answer rotated image in rviz when using kinect

nodelet: /usr/include/boost/smart_ptr/shared_ptr.hpp:412: boost::shared_ptr<T>::reference boost::shared_ptr<T>::operator*() const [with T = xn::NodeInfo, boost::shared_ptr<T>::reference = xn::NodeInfo&]: Assertion `px != 0' failed. [camera_nodelet_manager-2] process has died [pid 8176, exit code -6]

2012-05-03 05:53:29 -0500 commented answer rotated image in rviz when using kinect

I'm not able to launch openni i'm getting error as