Node not able to get its namespace parameters
My code looks like:
rospy.init_node('images_feeder', anonymous=True)
params = rospy.get_param('~')
I'm pretty sure it used to work "before", but now it gives:
KeyError: '~'
The parameters server seems to be running because I can for example successfully:
print rospy.get_param('/rosdistro')
(which is indigo by the way). Between "before" and now, I performed several ros (system) packages updates, and maybe changed the way I run things (currently "roscore" in one terminal, "rosrun x y" in another).
Could this be a regression, or is there something more to do, so that the node can "get its namespace" ? Thanks.