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

kk's profile - activity

2022-07-22 06:09:17 -0500 received badge  Great Question (source)
2021-12-13 04:22:46 -0500 received badge  Nice Question (source)
2021-05-28 11:41:45 -0500 received badge  Good Question (source)
2019-10-15 02:15:15 -0500 marked best answer How to rotate a triangle to a given pose orientation

I have a pose and using the pose's position information(x,y) i generate a triangle(p1,p2,p3) where p1 is the actual pose's position. Initially i assumed the direction. Example: If p1(x,y) = (6,12) I generate P2(x,y) = (2, 16) and p3(x,y) = (10, 16). SO by default two new points to the left and right of the given pose's position.

Further i want to rotate this triangle to the pose's orientation. I am struck at this point... I am not getting how to rotate this triangle according to pose's orientation.

Any idea how to achieve this ? Basically i want to generate a view cone for a given Pose.

2017-08-07 17:39:25 -0500 marked best answer octomap simple_example.cpp compilation error

After success in building 3d maps i am trying to play with them for example: to detect tables in the 3d map. So trying to run the sample program. In the documentation it is said simple.cpp is an example but i could not find it neither in ros-octomap nor standalone octomap. But i found simple_example.cpp in standalone octomap folder which seems to be the updated file of simple.cpp.

But i am unable to compile it. Am i missing something ??

2017-08-03 09:30:22 -0500 received badge  Nice Question (source)
2017-05-30 15:17:08 -0500 received badge  Famous Question (source)
2017-02-10 04:58:37 -0500 received badge  Good Question (source)
2016-08-14 08:29:53 -0500 received badge  Taxonomist
2016-08-08 01:42:27 -0500 received badge  Notable Question (source)
2016-08-08 01:42:27 -0500 received badge  Famous Question (source)
2016-08-08 01:42:27 -0500 received badge  Popular Question (source)
2016-07-17 23:10:37 -0500 received badge  Nice Answer (source)
2016-03-01 08:17:51 -0500 received badge  Nice Question (source)
2015-12-15 06:36:55 -0500 received badge  Famous Question (source)
2015-10-29 17:59:48 -0500 received badge  Famous Question (source)
2015-10-24 20:26:05 -0500 received badge  Nice Question (source)
2014-10-12 22:21:34 -0500 received badge  Notable Question (source)
2014-04-21 07:56:51 -0500 received badge  Notable Question (source)
2014-03-14 20:21:29 -0500 received badge  Notable Question (source)
2014-03-06 04:26:01 -0500 received badge  Student (source)
2013-12-21 04:59:01 -0500 marked best answer Octomap basic tutorial

I am new to octomaps. I could not find any tutorials. Could some one kindly help me to start ??

2013-10-17 05:44:14 -0500 received badge  Famous Question (source)
2013-10-15 02:11:36 -0500 received badge  Notable Question (source)
2013-10-15 02:11:36 -0500 received badge  Famous Question (source)
2013-10-04 15:26:10 -0500 received badge  Famous Question (source)
2013-09-10 08:07:04 -0500 commented answer How to recieve an array over Publisher and Subscriber? (Python)

how to do the same in c++ ?? its tells invalid type even when used std::vector

2013-09-01 23:48:21 -0500 received badge  Popular Question (source)
2013-09-01 23:47:38 -0500 received badge  Popular Question (source)
2013-08-25 16:42:09 -0500 received badge  Popular Question (source)
2013-08-25 05:22:22 -0500 marked best answer How to save a 2dmap obtained from a topic published by octomap ??

Octomap provides a projected 2d map through the topic "projected_map". I want to save this map. The map server is also running. So i remapped the topic in the octomap server launch file : <remap from="map" to="projected_map"/>

This info is given in the ros wiki: map (up to fuerte) / projected_map (since fuerte) (nav_msgs/OccupancyGrid)

Downprojected 2D occupancy map from the 3D map. Be sure to remap this topic if you have another 2D map server running. New / changed in octomap_mapping 0.4.4: The topic is now projected_map by default to avoid collisions with static 2D maps

I am able to visualise in rviz but when i try to save it :

rosrun map_server map_saver -f mapName

The default map is saved rather than the map from octomap.

Any suggestion what is wrong ??

2013-08-25 05:22:21 -0500 commented answer How to save a 2dmap obtained from a topic published by octomap ??

Thank you very much.