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

yigit's profile - activity

2021-05-04 04:21:47 -0500 received badge  Popular Question (source)
2021-05-02 04:23:52 -0500 asked a question Multiple initialpose candidates for amcl

Multiple initialpose candidates for amcl Is it possible to initialize AMCL's filter with multiple poses? Using another

2020-04-28 05:29:33 -0500 answered a question simpleactionclient send_goal_and_wait problem

(I know this is an old one, but for future reference here is my answer.) The OP was aiming to use send_goal_and_wait

2019-05-28 02:49:02 -0500 received badge  Nice Question (source)
2018-04-16 04:51:25 -0500 received badge  Good Answer (source)
2018-02-24 08:50:30 -0500 answered a question How to define goal in RVIZ through python script

You can send navigation goals as follows: from geometry_msgs.msg import Pose, Point, Quaternion goal = MoveBaseGoal()

2015-12-20 03:27:00 -0500 received badge  Famous Question (source)
2015-10-25 09:06:23 -0500 marked best answer rviz segfault in fuerte

Hello everyone,

I just started using ROS and had a problem with rviz.

rosrun rviz rviz 
[ INFO] [1337948693.539857743]: rviz revision number 1.8.11
[ INFO] [1337948693.540013978]: compiled against OGRE version 1.7.3 (Cthugha)
Segmentation fault (core dumped)

I tried different OGRE modes:

export OGRE_RTT_MODE=Copy
export OGRE_RTT_MODE=FBO

Neither of them worked. I finally get into the bin directory of rviz and debug the exectuable. Here is the result (for the entire output, please see here):

Program received signal SIGSEGV, Segmentation fault.
0x019df739 in QMetaObject::indexOfSignal (this=0x1ad3d34, signal=0x27db89 "changed()") at /var/tmp/qt-x11-src-4.5.3/src/corelib/kernel/qmetaobject.cpp:587
587     /var/tmp/qt-x11-src-4.5.3/src/corelib/kernel/qmetaobject.cpp: No such file or directory.

And for those who are willing to help me - they say in a bug report (here) that there is a script called system_info.sh - I attach the system info here.

Thanks in advance.

2015-09-12 18:41:04 -0500 answered a question I am new to ROS. Could someone tell me how to install the frontier exploration package ?

You need the executable of the package frontier_exploration. You have two options, actually: 1) You can download the executable of the package for Ubuntu OS using the following command

sudo apt-get install ros-indigo-frontier-exploration

assuming that you have Indigo and Ubuntu. 2) You can clone the repository and get the source codes. To generate the executable, you need to compile the source codes, as usual. You should place that package in your workspace and run catkin_make to build the packages in your workspace.

2015-08-06 14:33:19 -0500 received badge  Guru (source)
2015-08-06 14:33:19 -0500 received badge  Great Answer (source)
2015-08-02 22:53:03 -0500 commented question robot understand human language

Isn't that speech recognition:) ? Or you wanted to learn about natural language processing?

2015-07-27 07:45:44 -0500 commented question How to add a new directory to ROS_PACKAGE_PATH?

Did you append this command to your ~/.bashrc file? That's one way to make sure that you actually set it every time you open up another terminal.

2015-07-24 02:21:45 -0500 edited question Cannot load message class for []. Are your messages built?

I have a node that subscribes to /joy topic, converts to /cmd_vel topic, and publishes to arduino via rosserial. I am receiving joy messages just fine, but when I

rosmsg show control/Velocity

(control is the name of the node, Velocity is the message), it says:

Unable to load msg [control/Velocity]: Cannot locate message [Velocity]: unknown package [control] on search path.

When I rostopic echo /cmd_vel, I get

Error: Cannot load message class for [control/Velocity]. Are your messages build?

I have tried many things. I believe that my environment variables are good, and I tried going into the root of my workspace, catkin_make clean, catkin_make, and source my devel/setup.sh file. Still, nothing seems to be working. My Velocity.msg file is in my CmakeLists.txt and the required build depends and run time depends are in my package.xml (build depend message_generation and run depend message_runtime).

Any advice would be helpful. Thanks!

Edit 1: CMakeLists.txt:

cmake_minimum_required(VERSION 2.8.3)

project(control)

find_package(catkin REQUIRED 
  dynamic_reconfigure
  roscpp
  message_generation
  sensor_msgs
  nav_msgs
  sound_play
  std_srvs
  std_msgs
)

generate_dynamic_reconfigure_options(
  cfg/Control_Params.cfg
)

add_message_files(
   FILES
   Velocity.msg
 )

generate_messages(
   DEPENDENCIES
   std_msgs
 )

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES control
  CATKIN_DEPENDS dynamic_reconfigure message_runtime
  DEPENDS system_lib
)

include_directories(
  ${catkin_INCLUDE_DIRS}
  include
  ../common
)

add_executable(control src/control.cpp)

add_executable(stopService src/stopService.cpp)

add_dependencies(control control_gencpp control_gencfg)

add_dependencies(stopService stopService_gencpp stopService_gencfg)

target_link_libraries(control
   ${catkin_LIBRARIES}
)

target_link_libraries(stopService
   ${catkin_LIBRARIES}
)
2015-07-20 07:40:35 -0500 received badge  Notable Question (source)
2015-07-19 07:38:00 -0500 received badge  Nice Answer (source)
2015-07-18 18:13:35 -0500 commented question i have problem with face_recognition.

"/home/rouzbeh/rostest/fc/face_recognition" This shouldn't be in your ROS_PACKAGE_PATH. You have problems with your workspace settings probably. Change ROS_PACKAGE_PATH to point to the src folder in your workspace and after compilation, give it another try.

2015-07-18 18:05:06 -0500 commented question ERROR: Cannot load message class for [stereo_msgs/RectifiedImage]. Are your messages built?

Are they? What is the output of rosmsg show stereo_msgs/RectifiedImage?

2015-07-17 19:57:36 -0500 commented question Where do I place packages inside my catkin_ws folder?

You should place your packages under src folder, but you may need to make some changes to successfully build it. Similar to steps 3&4 in this tutorial http://wiki.ros.org/ROS/Tutorials#Beg...

2015-07-10 06:12:01 -0500 commented answer SLAM, How do we know when a robot has completed its mapping process

Sure. I just recommend you to take a look at the exploration packages in ROS, there are a few of them. You can understand their approach by doing so. Here is an example: explorer

2015-07-10 05:32:33 -0500 commented answer SLAM, How do we know when a robot has completed its mapping process

To finish the mapping process is your choice. You just specify a termination criteria. You will need a metric to do that. You can subscribe to the /map topic and use the ratio (number of known cells/number of unknown cells), for example. Finding a more meaningful metric is up to you.

2015-07-09 03:20:23 -0500 commented answer SLAM, How do we know when a robot has completed its mapping process

That means you are going to implement an exploration algorithm, right? Let's say you use gmapping. Then, you need to navigate the robot to unknown areas. Comparing the performance of exploration methods does make sense. Otherwise, you are just comparing the proficiency of the human operators.

2015-06-30 05:25:58 -0500 commented question problem with navigation stack

Actually, I believe you might be able to solve your problems without answering most of the questions asked in the previous comment. That doesn't change the fact that you need to provide more information. Apparently, you have problems with costmap configurations. Can you share the parameters you used

2015-06-29 15:49:31 -0500 commented question Running ROS across multiple machines

No. No limitations.

2015-06-29 08:11:25 -0500 commented answer specifying base_link frame for the Transformation tree

Sure. I'm glad I could help.

2015-06-29 07:23:46 -0500 commented question specifying base_link frame for the Transformation tree

So, 16 cm of difference in Z-direction is caused by that tf. map->odom_combined is provided by amcl node. I'm not experienced enough to pinpoint the error by looking at this information. I suspect there is something wrong with your amcl parameters. Maybe you should share your launch file too.

2015-06-29 05:09:48 -0500 received badge  Guru (source)
2015-06-29 05:09:48 -0500 received badge  Great Answer (source)
2015-06-29 05:07:28 -0500 answered a question Best way for line tracing?

I think 2D ray tracing is what you are looking for.

I have recently dealt with this problem myself and followed the algorithm described here

You need to implement your own visit() method though.

2015-06-27 19:40:50 -0500 commented question specifying base_link frame for the Transformation tree

There might be a problem with map->odom_combined tf. What is the output of rosrun tf tf_echo map odom_combined?

2015-06-19 08:39:04 -0500 answered a question Queueing positions for the robot to move to

You can listen /move_base/status for the status of the current goal. Here is the related document. You can go on with your second goal only if the first one is successful, for example.

Moreover, if you want to try a systematic approach you can use smach to create a state machine with states and transitions etc.

2015-06-14 11:49:17 -0500 answered a question GMapping OccupancyGrid Coordinates

Here is the error:

currentPoint = map.data[grid_x * grid_y];

I believe currentPoint should be calculated as follows:

currentPoint = map.data[grid_x * mapWidth + grid_y];

or

currentPoint = map.data[grid_y * mapWidth + grid_x];

depending on your orientation. By the way, you can get mapWidth as follows:

mapWidth = map.info.width;
2015-06-02 11:43:05 -0500 commented answer CMake Error for depending two custom packages

Yes, @Dirk you are right. I missed some parts as I was reading the question. I will delete the answer right away.

2015-06-02 08:36:14 -0500 answered a question CMake Error for depending two custom packages

Merhaba @emreay :)

Are you able to see the output of rosmsg show agv_msgs command?

If you encounter an error then I believe you have a problem here, in your CMakeLists.txt of agv_msgs:

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES agv_msgs
  CATKIN_DEPENDS roscpp rospy std_msgs
  DEPENDS system_lib
)

Here, it is stated that you need to export the message runtime dependency.

So I would change these lines as follows:

catkin_package(
  CATKIN_DEPENDS roscpp rospy std_msgs message_runtime
)
2015-05-03 19:16:48 -0500 commented question ROS Android applications are not working

UPDATE: I am 99% sure that the problem is persistent on Samsung devices. I have been trying the Teleop app on all the Samsung devices I can get my hands on but I haven't been able to see it running smoothly. On other devices, however, regardless of the version of the Android, it works fine.

2015-05-03 18:55:22 -0500 received badge  Popular Question (source)
2015-05-02 09:18:58 -0500 commented question ROS Android applications are not working

I just tried it with two different devices. Only on Samsung devices, I ran into this problem. On others, it works as expected.