2018-06-20 13:31:16 -0500 | marked best answer | rosws init ~/fuerte_workspace /opt/ros/fuerte & sudo apt-get install python-rosinstall Hi
im begginer and have installed ROS 2 or 3 days ago , i have some problems:
1. when i type rosws init ~/fuerte_workspace /opt/ros/fuerte i received the answer : rosws: command not found ,
2. and when i type : sudo apt-get install python-rosinstall , i received the answer : Unable to fetch some archives, maybe run apt-get update or try with --fix-missing ? i dont know what should i do to complete my installation
so please guide me. |
2018-05-02 15:12:48 -0500 | received badge | ● Necromancer
(source)
|
2017-03-08 23:45:40 -0500 | marked best answer | Hi, when i run catkin_make i have an error with nodelet this is result of catkin_make : Base path: /home/fatima/catkin_ws1
Source space: /home/fatima/catkin_ws1/src
Build space: /home/fatima/catkin_ws1/build
Devel space: /home/fatima/catkin_ws1/devel
Install space: /home/fatima/catkin_ws1/install
####
#### Running command: "make cmake_check_build_system" in "/home/fatima/catkin_ws1/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel
-- Using CMAKE_PREFIX_PATH: /home/fatima/catkin_ws1/devel;/opt/ros/indigo
-- This workspace overlays: /home/fatima/catkin_ws1/devel;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/fatima/catkin_ws1/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner2_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner2_tutorials'
-- ==> add_subdirectory(beginner2_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner2_tutorials: 1 messages, 1 services
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:217 (message):
catkin_package() DEPENDS on the catkin package 'nodelet' which must
therefore be listed as a run dependency in the package.xml
Call Stack (most recent call first):
/opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
beginner2_tutorials/CMakeLists.txt:13 (catkin_package)
-- Configuring incomplete, errors occurred!
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log".
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
fatima@fatima-K55VD:~/catkin_ws1$ ^C
fatima@fatima-K55VD:~/catkin_ws1$ catkin_make
Base path: /home/fatima/catkin_ws1
Source space: /home/fatima/catkin_ws1/src
Build space: /home/fatima/catkin_ws1/build
Devel space: /home/fatima/catkin_ws1/devel
Install space: /home/fatima/catkin_ws1/install
####
#### Running command: "make cmake_check_build_system" in "/home/fatima/catkin_ws1/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel
-- Using CMAKE_PREFIX_PATH: /home/fatima/catkin_ws1/devel;/opt/ros/indigo
-- This workspace overlays: /home/fatima/catkin_ws1/devel;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/fatima/catkin_ws1/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner2_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner2_tutorials'
-- ==> add_subdirectory(beginner2_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner2_tutorials: 1 messages, 1 services
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:217 (message):
catkin_package() DEPENDS on the catkin package 'nodelet' which must
therefore be listed as a run dependency in the package.xml
Call Stack (most recent call first):
/opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
beginner2_tutorials/CMakeLists.txt:13 (catkin_package)
-- Configuring incomplete, errors occurred!
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log".
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
i think as Akif told i should bring it to the package.xml but how? i dont know its my result when i run catkin_make again : Base path: /home/fatima/~catkin_ws1
Source space: /home/fatima/~catkin_ws1/src
Build space ... (more) |
2016-10-18 15:36:15 -0500 | received badge | ● Teacher
(source)
|
2016-10-18 15:36:15 -0500 | received badge | ● Necromancer
(source)
|
2016-05-08 14:40:11 -0500 | marked best answer | about talker.cpp and listener.cpp : Invoking "make cmake_check_build_system" failed Hi , i want to test 11. Writing a Simple Publisher and Subscriber (C++) , i installed indigo, and i have a workspace with catkin i have called catkin_ws1 with a package beginner2_tutorials , and now i make 2 files with name talker.cpp and listener.cpp in path : catkin_ws1/src/beginner2_tutorials/src and then change CMakeList.txt in path catkin_ws1/beginner2_tutorials and then i write $ catkin_make but at the end i receive Invoking "make cmake_check_build_system" failed , and because of this i think when i write $ rosrun beginner_tutorials talker , i receive this answer : [rosrun] Couldn't find executable named talker below /home/fatima/catkin_ws1/src/beginner2_tutorials
so please help me whether i have done this thing true ( for talker and listener.cpp) and
what should i do for the errors? |
2016-03-03 09:02:09 -0500 | marked best answer | Hi , i want to install catkin_make , but i have an error , so i want to know could i change package.xml? its my error when i run catkin_make : Base path: /home/fatima/catkin_ws1
Source space: /home/fatima/catkin_ws1/src
Build space: /home/fatima/catkin_ws1/build
Devel space: /home/fatima/catkin_ws1/devel
Install space: /home/fatima/catkin_ws1/install
####
#### Running command: "make cmake_check_build_system" in "/home/fatima/catkin_ws1/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/fatima/catkin_ws1/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner2_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner2_tutorials'
-- ==> add_subdirectory(beginner2_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner2_tutorials: 1 messages, 1 services
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:217 (message):
**catkin_package() DEPENDS on the catkin package 'message_runtime' which must
therefore be listed as a run dependency in the package.xml**
Call Stack (most recent call first):
/opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
beginner2_tutorials/CMakeLists.txt:13 (catkin_package)
-- Configuring incomplete, errors occurred!
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log".
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
and this is my CMakeList.txt cmake_minimum_required(VERSION 2.8.3)
project(beginner2_tutorials)
## Find catkin and any catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs genmsg message_generation)
## Declare ROS messages and services
add_message_files(FILES Num.msg )
add_service_files(FILES AddTwoInts.srv)
## Generate added messages and services
generate_messages(DEPENDENCIES std_msgs)
catkin_package( INCLUDE_DIRS include
LIBRARIES ${beginner2_tutorials} CATKIN_DEPENDS message_runtime roscpp nodelet)
## DEPENDS eigen opencv )
## Declare a catkin package
##catkin_package(CATKIN_DEPENDS message_runtime std_msgs sensor_msgs)
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
INCLUDE_DIRS include
LIBRARIES beginner2_tutorials
CATKIN_DEPENDS message_runtime roscpp rospy std_msgs
DEPENDS system_lib
DEPENDS message_runtime
)
catkin_package()
## Build talker and listener
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(talker src/talker.cpp)
target_link_libraries(talker ${catkin_LIBRARIES})
add_dependencies(talker beginner2_tutorials_generate_messages_cpp)
add_executable(listener src/listener.cpp)
target_link_libraries(listener ${catkin_LIBRARIES})
add_dependencies(listener beginner2_tutorials_generate_messages_cpp)
ofcourse i change this line to solve this problem but it hasnt been solved : catkin_package(
INCLUDE_DIRS include
LIBRARIES beginner2_tutorials
CATKIN_DEPENDS message_runtime roscpp rospy std_msgs
DEPENDS system_lib
DEPENDS message_runtime
)
its package.xml content : <package><name>beginner2_tutorials</name><version>0.0.0</version><description>The beginner2_tutorials package</description><!-- One maintainer tag required, multiple allowed, one person per tag
--><!-- Example: -->
<!-- <maintainer email="jane.doe@example.com">Jane Doe</maintainer>
--><maintainer email="fatima@todo.todo">fatima</maintainer><!-- One license tag required, multiple allowed, one license per tag
--><!-- Commonly used license strings: -->
<!-- BSD, MIT, Boost Software License, GPLv2, GPLv3, LGPLv2.1, LGPLv3
--><license>TODO</license><!-- Url tags are optional, but mutiple are allowed, one per tag
--><!-- Optional attribute type can be: website, bugtracker, or repository
--><!-- Example: -->
<!-- <url type="website">http://wiki.ros.org/beginner2_tutorials</url>
--><!-- Author tags are optional, mutiple are allowed, one per tag
--><!-- Authors do not have to be ... (more) |
2016-02-09 18:36:36 -0500 | received badge | ● Famous Question
(source)
|
2016-01-23 08:04:39 -0500 | received badge | ● Famous Question
(source)
|
2016-01-21 19:45:30 -0500 | received badge | ● Famous Question
(source)
|
2016-01-19 19:41:48 -0500 | received badge | ● Famous Question
(source)
|
2015-12-30 09:15:54 -0500 | received badge | ● Famous Question
(source)
|
2015-12-29 20:44:35 -0500 | commented answer | How to run cv_bridge? hi , thanks so much , i have done every thing as told in this link , and i want to Convert between ROS images and OpenCV images (C++) is there ant thing i should do for finding messages for cv_bridge ? |
2015-12-29 01:37:34 -0500 | commented answer | How to run cv_bridge? thank you so much , i did it and now i have another problem i edited my question above and put my error and cmakelists again please help thank you |
2015-12-29 01:10:13 -0500 | received badge | ● Notable Question
(source)
|
2015-12-29 00:06:24 -0500 | commented question | How to add cv_bridge and image_transport package to compile in Raspberry Pi? hi joq , could you please tell me how install cv_bridge itself? |
2015-12-27 10:08:29 -0500 | received badge | ● Popular Question
(source)
|
2015-12-25 21:47:31 -0500 | asked a question | How to run cv_bridge? hi , i want to run cv_bridge, so i refer to Converting between ROS images and OpenCV images (C++) i did every thing were told at" An example ROS node" at the end i added the commad below to the end of CMakelist.txt and after that run catkin_make add_executable(image_converter src/image_converter.cpp)
target_link_libraries(image_converter ${catkin_LIBRARIES})
add_dependencies(image_converter beginner_tutorials_generate_messages_cpp)
but i have 2 problems :
1. when i run catkin_make i receive this error : CMake Error: Error in cmake code at
/home/fatima/catkin_ws3/src/beginner_tutorials/CMakeLists.txt:135:
Parse error. Expected a command name, got unquoted argument with text "/add_executable".
- and if it can be run , how to run image_converter file and how to see the result of cv_bridge ?
hi thnks for reply , this is my CMakelists: i dont know is it true for cv_bridge or not? cmake_minimum_required(VERSION 2.8.3)
project(beginner_tutorials)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
image_transport
roscpp
rospy
sensor_msgs
std_msgs
genmsg message_generation
)
add_message_files(FILES Num.msg )
add_service_files(FILES AddTwoInts.srv)
generate_messages(
DEPENDENCIES
sensor_msgs
cv_bridge
roscpp
std_msgs
image_transport
)
generate_messages(DEPENDENCIES std_msgs)
catkin_package( INCLUDE_DIRS include
LIBRARIES ${beginner_tutorials} CATKIN_DEPENDS message_runtime roscpp nodelet)
catkin_package( )
include_directories(
${catkin_INCLUDE_DIRS}
)
catkin_package()
add_library()/add_executable()/target_link_libraries(
add_library(beginner_tutorials
src/${PROJECT_NAME}/beginner_tutorials.cpp
)
add_dependencies(beginner_tutorials ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
add_dependencies(beginner_tutorials_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(beginner_tutorials_node
${catkin_LIBRARIES}
)
add_executable(image_converter src/image_converter.cpp)
target_link_libraries(image_converter ${catkin_LIBRARIES})
add_dependencies(image_converter beginner_tutorials_generate_messages_cpp)
And now after fixing the last problem i have again another problem with generate_messages :
CMakeLists : cmake_minimum_required(VERSION 2.8.3)
project(beginner_tutorials)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
image_transport
roscpp
rospy
sensor_msgs
std_msgs
genmsg message_generation
)
################################################
## Declare ROS messages, services and actions ##
################################################
## Generate messages in the 'msg' folder
add_message_files(FILES Num.msg )
add_service_files(FILES AddTwoInts.srv)
## Generate services in the 'srv' folder
# add_service_files(
# FILES
# Service1.srv
# Service2.srv
# )
## Generate actions in the 'action' folder
# add_action_files(
# FILES
# Action1.action
# Action2.action
# )
## Generate added messages and services with any dependencies listed here
generate_messages(
DEPENDENCIES
sensor_msgs
cv_bridge
roscpp
std_msgs
image_transport
# sensor_msgs# std_msgs
)
##generate_messages(DEPENDENCIES std_msgs)
catkin_package( INCLUDE_DIRS include
LIBRARIES ${beginner_tutorials} CATKIN_DEPENDS message_runtime roscpp nodelet)
# include_directories(include)
include_directories(
${catkin_INCLUDE_DIRS}
)
catkin_package()
##add_library()/add_executable()/target_link_libraries()
## Declare a C++ library
add_library(beginner_tutorials
src/${PROJECT_NAME}/beginner_tutorials.cpp
)
## Add cmake target dependencies of the library
## as an example, code may need to be generated before libraries
## either from message generation or dynamic reconfigure
add_dependencies(beginner_tutorials ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
## Declare a C++ executable
# add_executable(beginner_tutorials_node src/beginner_tutorials_node.cpp)
## Add cmake target dependencies of the executable
## same as for the library above
add_dependencies(beginner_tutorials_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
## Specify libraries to link a library or executable target against
target_link_libraries(beginner_tutorials_node
${catkin_LIBRARIES}
)
## Add gtest based cpp test target and link libraries
# catkin_add_gtest(${PROJECT_NAME}-test test/test_beginner_tutorials.cpp)
# if(TARGET ${PROJECT_NAME}-test)
# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
# endif()
## Add folders to be run by python nosetests
# catkin_add_nosetests(test)
add_executable(image_converter src/image_converter.cpp)
target_link_libraries(image_converter ${catkin_LIBRARIES})
add_dependencies(image_converter beginner_tutorials_generate_messages_cpp)
and this is my catkin_make Error : Base path: /home/fatima/catkin_ws3
Source space: /home/fatima/catkin_ws3/src
Build space: /home/fatima/catkin_ws3/build
Devel space: /home/fatima/catkin_ws3/devel
Install space: /home/fatima/catkin_ws3/install
####
#### Running command: "make ... (more) |
2015-12-19 11:36:48 -0500 | received badge | ● Notable Question
(source)
|
2015-12-18 10:29:13 -0500 | commented answer | what is the first step of doing image processing with ROS? i saw Rviz window with a grid i added camera but again i only have a grid i dont know how should i use the camera in rviz ? |
2015-12-18 10:17:51 -0500 | commented answer | what is the first step of doing image processing with ROS? [ INFO] [1450467742.148411685]: compiled against OGRE version 1.8.1 (Byatis)
[ INFO] [1450467742.676989007]: Stereo is NOT SUPPORTED
[ INFO] [1450467742.677113146]: OpenGl version: 3 (GLSL 1.3).
|
2015-12-18 10:17:18 -0500 | commented answer | what is the first step of doing image processing with ROS? hi thank you so much, i run usb_cam node before and could run Rviz i clicked add the result is : |
2015-12-18 10:17:16 -0500 | commented answer | what is the first step of doing image processing with ROS? |
2015-12-18 09:58:04 -0500 | received badge | ● Popular Question
(source)
|
2015-12-18 08:26:04 -0500 | asked a question | what is the first step of doing image processing with ROS? hi i am beginner with image processing and want to start that with ROS but i dont know what is the first step ? for example should i first install OpenCV? or its not important ? and may be i should install some package in my workspace ? i have a webcam on my laptop i want to use it. please guide me if any one could. |
2015-12-15 10:43:07 -0500 | received badge | ● Famous Question
(source)
|
2015-12-14 01:55:27 -0500 | marked best answer | [rosrun] Couldn't find executable named talker or listener Hi I created two files with name : talker.cpp and listener.cpp and put them in path : catkin_ws1>src>beginner2_tutorials>src , and the chang the CmakeLists.txt as said in 11. Writing a Simple Publisher and Subscriber (C++) ROS tutorials and then run catkin_make and then in root workspace run : $ rosrun beginner2_tutorials talker but I receive this result : [rosrun] Couldn't find executable named talker below /home/fatima/catkin_ws1/src/beginner2_tutorials I review [11. Writing a Simple Publisher and Subscriber (C++) ROS tutorials] again i have noticed that i should have two executable in directory of my devel space but i havent any executable file i have only pkgconfig and beginner2_tutorials.pc !!! i dont know how should i have executable in located by default at ~/catkin_ws/devel/lib/<package name=""> , may be this is my problem so i couldnt run $ rosrun beginner2_tutorials talker so please help me to solve this |
2015-12-14 01:55:27 -0500 | received badge | ● Famous Question
(source)
|
2015-12-12 08:56:54 -0500 | received badge | ● Student
(source)
|
2015-12-12 08:25:29 -0500 | received badge | ● Notable Question
(source)
|
2015-12-12 08:20:04 -0500 | marked best answer | run : rosrun image_view image_view image:=/camera/rgb/image_mono hi , i want to start image processing with ROS, i think i should work wih rosrun image_view image_view image:=/camera/rgb/image_mono but when i run this command i have a window like this i dont know how work with this command : rosrun image_view image_view image:=/camera/rgb/image_mono
or
rosrun image_view image_view image:=/camera/rgb/image_color
so please some one help and guide me to work with this and first step for image processing ?
|
2015-12-12 08:20:04 -0500 | commented answer | run : rosrun image_view image_view image:=/camera/rgb/image_mono yes thats right roscore was missing, now its working, i know opencv a little but think may be i could work with image_proc but it looks like opencv is the only way rights? |