2014-03-31 02:30:47 -0500 | commented question | rospy.get_param('~namespace') problem Same problem here. Sad that answer was not provided. |
2014-01-28 17:26:14 -0500 | marked best answer | Fuerte, Ubuntu 12.04, ARM = error Just following instructions on
http://www.ros.org/wiki/fuerte/Installation/Ubuntu robot@robot:~$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'
robot@robot:~$ wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
--2012-06-24 00:34:40-- http://packages.ros.org/ros.key
Resolving packages.ros.org (packages.ros.org)... 157.22.19.137
Connecting to packages.ros.org (packages.ros.org)|157.22.19.137|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1162 (1.1K) [application/pgp-keys]
Saving to: `STDOUT'
100%[=============================================================================================>] 1,162 --.-K/s in 0s
2012-06-24 00:34:41 (18.2 MB/s) - written to stdout [1162/1162]
OK
robot@robot:~$
robot@robot:~$ sudo apt-get update
Ign http://packages.ros.org precise InRelease
Hit http://packages.ros.org precise Release.gpg
Ign http://ports.ubuntu.com precise InRelease
Ign http://ports.ubuntu.com precise-updates InRelease
Ign http://ports.ubuntu.com precise-security InRelease
Hit http://packages.ros.org precise Release
Hit http://ports.ubuntu.com precise Release.gpg
Hit http://ports.ubuntu.com precise-updates Release.gpg
Hit http://ports.ubuntu.com precise-security Release.gpg
Hit http://ports.ubuntu.com precise Release
Hit http://ports.ubuntu.com precise-updates Release
Hit http://ports.ubuntu.com precise-security Release
Hit http://ports.ubuntu.com precise/main Sources
Hit http://ports.ubuntu.com precise/restricted Sources
Hit http://ports.ubuntu.com precise/universe Sources
Hit http://ports.ubuntu.com precise/multiverse Sources
Hit http://ports.ubuntu.com precise/main armhf Packages
Hit http://ports.ubuntu.com precise/restricted armhf Packages
Hit http://ports.ubuntu.com precise/universe armhf Packages
Hit http://ports.ubuntu.com precise/multiverse armhf Packages
Hit http://ports.ubuntu.com precise/main TranslationIndex
Hit http://ports.ubuntu.com precise/multiverse TranslationIndex
Hit http://ports.ubuntu.com precise/restricted TranslationIndex
Hit http://ports.ubuntu.com precise/universe TranslationIndex
Hit http://ports.ubuntu.com precise-updates/main Sources
Hit http://ports.ubuntu.com precise-updates/restricted Sources
Hit http://ports.ubuntu.com precise-updates/universe Sources
Hit http://ports.ubuntu.com precise-updates/multiverse Sources
Hit http://ports.ubuntu.com precise-updates/main armhf Packages
Hit http://ports.ubuntu.com precise-updates/restricted armhf Packages
Hit http://ports.ubuntu.com precise-updates/universe armhf Packages
Hit http://ports.ubuntu.com precise-updates/multiverse armhf Packages
Hit http://ports.ubuntu.com precise-updates/main TranslationIndex
Hit http://ports.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://ports.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://ports.ubuntu.com precise-updates/universe TranslationIndex
Hit http://ports.ubuntu.com precise-security/main Sources
Hit http://ports.ubuntu.com precise-security/restricted Sources
Hit http://ports.ubuntu.com precise-security/universe Sources
Hit http://ports.ubuntu.com precise-security/multiverse Sources
Hit http://ports.ubuntu.com precise-security/main armhf Packages
Hit http://ports.ubuntu.com precise-security/restricted armhf Packages
Hit http://ports.ubuntu.com precise-security/universe armhf Packages
Hit http://ports.ubuntu.com precise-security/multiverse armhf Packages
Hit http://ports.ubuntu.com precise-security/main TranslationIndex
Hit http://ports.ubuntu.com precise-security/multiverse TranslationIndex
Hit http ... (more) |
2014-01-28 17:22:17 -0500 | marked best answer | TF message arrays I want to publish some sort of location data but in unknown quantities. I use some sort of vision algorithm to find items in scene I want to publish 0...n found items in single message. So I can compare this set to one found in next frame or message. Vector3Stamped.msg looks mostly what I need but I change definition "Vector3 vector" to "Vector3[] vector". Question is, if TF is able to handle the situation and provide conversion without hassle? As much I understand, TF knows some datatypes and provides easy conversion on them. Can it understand arrays? Current situation: tonu@hp:~/TYROS/tyros_camera$ cat msg/Objects.msg
Header header
Object[] object
tonu@hp:~/TYROS/tyros_camera$ cat msg/Object.msg
geometry_msgs/Vector3 vector
float32 certainity
string type
tonu@hp:~/TYROS/tyros_camera$
|
2014-01-28 17:22:01 -0500 | marked best answer | Converting SolidWorks stuff to URDF. STL and Meshlab problems We have hard time converting our very cool robot SolidWorks files into URDF. They are way too complicated to make it somehow manually from scratch. As much I know there is no way to draw 3D model with some visual tools into URDF format. So we have options: SolidWorks converter on XML writing with vim. To point. Simmechanics link creates XML file and lot of STL files. STL files are binary and ROS cannot open them. I compiled Meshlab and converted all STL files into non-binary ones. Content of files look OK to me. But ROS complains a lot about them: [ERROR] [1303925218.756302760]: Could not load model '../../../../../../../../home/tonu/tyros/phippi/ros/phippi/xml/Media/models/Roboti_algus - roomuk-1 seib_4-3.STL' for link 'seib_4-31': OGRE EXCEPTION(2:InvalidParametersException): Header chunk didn't match either endian: Corrupted stream? in Serializer::determineEndianness at /home/tonu/ros/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreSerializer.cpp (line 89)
[ERROR] [1303925218.757941298]: Could not load model '../../../../../../../../home/tonu/tyros/phippi/ros/phippi/xml/Media/models/Roboti_algus - roomuk-1 seib_4-4.STL' for link 'seib_4-41': OGRE EXCEPTION(2:InvalidParametersException): Header chunk didn't match either endian: Corrupted stream? in Serializer::determineEndianness at /home/tonu/ros/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreSerializer.cpp (line 89)
[ERROR] [1303925218.758430673]: Could not load model '../../../../../../../../home/tonu/tyros/phippi/ros/phippi/xml/Media/models/Roboti_algus - roomuk-1 seib_4-4.STL' for link 'seib_4-41': OGRE EXCEPTION(2:InvalidParametersException): Header chunk didn't match either endian: Corrupted stream? in Serializer::determineEndianness at /home/tonu/ros/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreSerializer.cpp (line 89)
[ERROR] [1303925218.760367921]: Could not load model '../../../../../../../../home/tonu/tyros/phippi/ros/phippi/xml/Media/models/Roboti_algus - roomuk-1 seib_4-5.STL' for link 'seib_4-51': OGRE EXCEPTION(2:InvalidParametersException): Header chunk didn't match either endian: Corrupted stream? in Serializer::determineEndianness at /home/tonu/ros/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreSerializer.cpp (line 89)"
Example of STL file content: tonu@hp:~/tyros/phippi/ros/phippi$ head "xml/Media/models/Roboti_algus - roomuk-1 seib_4-5.STL"
solid vcg
facet normal 0.000000e+00 7.133919e-02 -9.974521e-01
outer loop
vertex 0.000000e+00 -2.618593e-04 1.821271e-03
vertex -9.000000e-04 -4.506700e-19 1.840000e-03
vertex 0.000000e+00 -4.506700e-19 1.840000e-03
endloop
endfacet
facet normal -0.000000e+00 -7.133919e-02 -9.974521e-01
outer loop
tonu@hp:~/tyros/phippi/ros/phippi$
tonu@hp:~/tyros/phippi/ros/phippi$ tail "xml/Media/models/Roboti_algus - roomuk-1 seib_4-5.STL"
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex -9.000000e-04 1.390579e-03 -1.204944e-03
vertex -9.000000e-04 2.687582e-03 -2.242076e-03
vertex -9.000000e-04 2.442805e-03 -2.506533e-03
endloop
endfacet
endsolid vcg
tonu@hp:~/tyros/phippi/ros/phippi$
I am note sure what else should I show. EDIT: I followed first answer and tried to remove word "solid" from STL files: for i in *.STL; do sed -ie 's/^solid/dilos/' "$i" ; done
I also verified that files are acutally and properly changed. Still errors. Meshlab opens those modified files nicely ... (more) |
2014-01-28 17:21:56 -0500 | marked best answer | Building ROS node with OpenCV2.2 includes I am unsure how to use cmake build system properly. I need to use OpenCV2.2 headers from my code but receive errors: [ 80%] Building C object CMakeFiles/phippi.dir/src/crunch.o
In file included from /home/tonu/tyros/phippi/ros/phippi/src/crunch.c:9:
/home/tonu/tyros/phippi/ros/phippi/src/robot.h:44:31: error: imgproc/imgproc_c.h: No such file or directory
/home/tonu/tyros/phippi/ros/phippi/src/robot.h:45:31: error: highgui/highgui_c.h: No such file or directory
CMakeLists.txt has needed entries I suppose tonu@tonu-desktop:~/tyros/phippi/ros/phippi$ grep -i opencv CMakeLists.txt
FIND_PACKAGE(OpenCV REQUIRED)
INCLUDE_DIRECTORIES(phippi ${OPENCV_INCLUDES})
tonu@tonu-desktop:~/tyros/phippi/ros/phippi$
|
2014-01-28 17:21:56 -0500 | marked best answer | YUYV/YUV422 in image_transport Most of USB webcams used in hobby robotics support YUYV coding natively. Currently both OpenCV and ROS by default convert this image to BGR format and this is not most efficient decicion for most problems. I wrote about it also into OpenCV list: http://opencv-users.1802565.n2.nabble... Is there are options to keep YUYV image somehow "raw" in image_transport or can new imaeg encoding added to ROS? What is your opinion? |
2014-01-28 17:21:55 -0500 | marked best answer | AddTwoInts example with minus Probably very simple and dumb question. I have code similar to AddTwoInts example. How to enter negative values there? tonu@hp:~/tyros/phippi/ros/phippi$ rosservice call phippi_motors -0.2 0.2
Usage: rosservice call /service [args...]
rosservice: error: no such option: -0
tonu@hp:~/tyros/phippi/ros/phippi$
|
2014-01-28 17:21:55 -0500 | marked best answer | Nice ready to use /etc/init.d/ros script Just trying to make my ROS automatically run proper roslaunch command on headless system. I hope someone already made nice scriptwork? |
2013-11-03 09:19:10 -0500 | received badge | ● Famous Question
(source)
|
2013-11-03 09:19:10 -0500 | received badge | ● Notable Question
(source)
|
2013-05-15 00:34:26 -0500 | received badge | ● Notable Question
(source)
|
2013-05-15 00:34:26 -0500 | received badge | ● Famous Question
(source)
|
2013-05-15 00:34:26 -0500 | received badge | ● Popular Question
(source)
|
2013-03-21 14:34:04 -0500 | received badge | ● Taxonomist
|
2012-10-24 01:33:43 -0500 | received badge | ● Notable Question
(source)
|
2012-10-24 01:33:43 -0500 | received badge | ● Popular Question
(source)
|
2012-10-24 01:33:43 -0500 | received badge | ● Famous Question
(source)
|
2012-10-17 03:09:11 -0500 | commented question | ROS.org - how to switch to English |
2012-10-17 03:04:31 -0500 | received badge | ● Famous Question
(source)
|
2012-10-13 18:22:24 -0500 | commented answer | ROS.org - how to switch to English I do not read Japanese well enough to be able to use this recommendation. |
2012-10-13 18:21:59 -0500 | commented answer | ROS.org - how to switch to English Next links countain "ja" but this page does not. I want to read this page :) |
2012-10-13 12:30:06 -0500 | received badge | ● Notable Question
(source)
|
2012-10-13 05:05:33 -0500 | received badge | ● Popular Question
(source)
|
2012-10-13 04:19:34 -0500 | received badge | ● Good Question
(source)
|
2012-10-13 04:16:49 -0500 | received badge | ● Nice Question
(source)
|
2012-10-13 02:45:35 -0500 | asked a question | ROS.org - how to switch to English This is how ros.org looks for computer in Japan. Unfortunately not everyone in Japan prefers Japanese language and wants to switch to English ros.org. I do not see such option there anywhere, so I ask here: How to switch into English? |
2012-09-20 13:30:20 -0500 | received badge | ● Famous Question
(source)
|