-
Dear mbusy What should I do? Best wish |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 5 replies
-
Hi @ysys98, I see that you closed the issue, did you solve your problem? |
Beta Was this translation helpful? Give feedback.
-
@mbusy Hi, thank you for your reply. The previous problem has been solved. I still have some problems now. When I set a 2D NAV goal for Nao, he will walk along the global path and local path, but there will be a strange phenomenon that Nao swings left and right in the process of walking, because my obstacle update completely depends on the camera above Nao, Swinging left and right will cause great errors in the location of new obstacles in the local cost map. How can I avoid the problem of Nao swinging left and right during navigation? |
Beta Was this translation helpful? Give feedback.
-
I'm afraid that it's a purely NAOqi related issue, if I understand correctly NAO's walk is responsible for the shaking of the camera? I guess you could use a different walk engine to generation joint trajectories allowing the robot to walk differently, but ultimately I think that you will still obtain some sort of shaking |
Beta Was this translation helpful? Give feedback.
-
@mbusy Thank you for your help. Nao must shake when walking, causing the camera to shake slightly, which will not affect the accuracy of obstacles. In my experiment, the reason why Nao shakes left and right during navigation is because of the configuration problem of move_base caused Nao to swing left and right like a snake while walking towards the target point(2D nav goal). I'm not sure which parameters are not configured well, which leads to this strange phenomenon |
Beta Was this translation helpful? Give feedback.
-
Ok got it, the "natural shaking" when walking is fine, but the one you're experiencing is too intense. Do you have elements that tie that extra shaking to the configuration problem of move_base? (I unfortunately don't have a NAO to perform tests, it might be hard to correct that) |
Beta Was this translation helpful? Give feedback.
-
@mbusy I think it's related to my local planner param configuration. I'm a novice in this field, so I don't know which parameters are related. Here's my move_ base parameter configuration. and when I use Nao to build a slam map, because the odometer of Nao itself will cause the coordinate error of the map to increase with the increase of the map area, how can I avoid this problem?By the way, I have always wondered whether NAO is a differential robot or an omni-directional robot?
footprint: [[ 0.3, 0.3], [-0.3, 0.3], [-0.3, -0.3], [ 0.3, -0.3]] map_type: voxel obstacle_layer: inflation_layer: static_layer:
local_costmap: ` ` |
Beta Was this translation helpful? Give feedback.
-
Since the issue is probably not related to the driver in itself, but is rather a naoqi / mapping problem, I'll convert the issue to a discussion. I still don't really understand why the planner would cause the robot to "shake", but then I guess that if it sends contradictory move commands at high speed you might eventually experience some shaking.
I won't be able to give you a lot of information on mapping, but if only the odometry is used to localize the robot, its positioning error will increase with time, that's pretty much unavoidable. Using the cameras (visual slam) or a combination of vision and odometry (visual odometric slam) will avoid that ever inflating error problem, you already tested that I guess
NAO is a legged robot, its walk engine allows him to walk in any direction, making it omni directional (this rather old paper should give you more information) |
Beta Was this translation helpful? Give feedback.
Since the issue is probably not related to the driver in itself, but is rather a naoqi / mapping problem, I'll convert the issue to a discussion.
I still don't really understand why the planner would cause the robot to "shake", but then I guess that if it sends contradictory move commands at high speed you might eventually experience some shaking.
I won't be able to give you a lot of information on mapping, but if only the odometry is used to localize the robot, its positioning error will increase w…