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

NunoFialho's profile - activity

2020-04-25 04:04:04 -0500 received badge  Famous Question (source)
2018-08-17 14:16:11 -0500 received badge  Famous Question (source)
2018-03-24 13:35:23 -0500 received badge  Famous Question (source)
2016-07-16 13:29:04 -0500 received badge  Popular Question (source)
2016-07-16 13:29:04 -0500 received badge  Notable Question (source)
2016-05-09 09:54:49 -0500 received badge  Notable Question (source)
2016-05-09 05:35:39 -0500 received badge  Editor (source)
2016-05-08 18:41:29 -0500 received badge  Popular Question (source)
2016-05-06 11:32:32 -0500 asked a question Subscribing /map consumes 4gb of memory!?!?!

I have created a python node that just subscribes /map from gmapping. Callback function does nothing, only returns null. By starting this node I can see an increase of around 4gb in my ram. I know each /map message have around 100mb.

Can anyone tell me if this is normal behaviour?

[EDIT]:

import rospy
from nav_msgs.msg import OccupancyGrid

def callback(data):
    return None

if __name__ == '__main__':
    rospy.init_node('test_node')
    rospy.Subscriber("/map", OccupancyGrid, callback)
    rospy.spin()

I also have realized that running rostopic echo /map will consume even more memory ending up crashing the system...

[EDIT 2]:

I’ve tried to decrease map resolution from 0.01 to 0.025 and now it works fine.

Thanks

2016-05-04 13:06:21 -0500 asked a question gmapping hangs ubuntu

Hi guys,

In a freshly rebooted ubuntu 14.04 and ROS Indigo if I launch gmapping and after that I try to run "rostopic echo /map" or "rosservice call /dynamic_map" the system hangs completely. But saving the map through map_saver works fine.

Anyone knows why this is happening?

thanks

edit: By using rostopic or rosservice to subscribe or call map this will end up in out of memory for some reason.

2015-12-16 07:02:09 -0500 asked a question Ros python traceback not working in modules

The situation is the following:

  1. I have main.py and utils.py(module).
  2. main.py will import utils and use PlaySound function already defined in utils.py.

When i execute the code it gives me the following error: AttributeError: 'module' object has no attribute 'PlaySound'.

I know that this error is due to some errors inside PlaySound function, But why python is ignoring the function instead of digging inside PlaySound in order to traceback what actually is causing the error?

2015-06-17 09:33:02 -0500 received badge  Famous Question (source)
2015-01-19 00:08:08 -0500 received badge  Notable Question (source)
2013-11-18 18:49:18 -0500 received badge  Notable Question (source)
2013-11-18 07:16:59 -0500 received badge  Popular Question (source)
2013-11-09 18:42:41 -0500 received badge  Popular Question (source)
2013-11-08 07:16:51 -0500 asked a question Move_base is not using plugin lib...

What can make move_base not using plugin????

When i launch my move_base on hydro i see alot of ROS_INFO "using plugin..." and rosparam tells me they are really loaded.

But when i launch move_base on another pc using groovy nothing was loaded...

Thanks

2013-11-07 23:58:20 -0500 asked a question Navigation Stack move_base issue

Hi Guys,

I'm working on navigation, i ran the navigation stage simulator properly. Now i am trying to use my configuration files on Cobot(with groovy).

I'm stucked with some issue:

Local and global costmap and not published.

And my global path seems to depend on local costmap :S

rosparam shows that global costmap has 0 width and 0 height

Can someone help me on this

Cheers