follow_waypoints icon indicating copy to clipboard operation
follow_waypoints copied to clipboard

Issue of no responding after roslaunch

Open chenxizhang1994 opened this issue 6 years ago • 11 comments

Hi,

When I roslaunch the package, rviz has not been launched and it says 'connecting to move_base'. I have waited for a long time and still, nothing displayed as shown in the picture named troubleshoot. In addition, followed the tutorial at http://wiki.ros.org/follow_waypoints the fault output has occurred as shown in picture named troubleshoot 2. I am a newbie to ROS and currently I am still researching and learning. Please do help! Many thanks indeed. troubleshoot 2 troubleshoot of follow_waypoints

chenxizhang1994 avatar Jan 17 '18 21:01 chenxizhang1994

Hi,

This package expects you to be using the move_base ROS service. Move_base is a component of the ROS Navigation stack (nav stack). The main way to do path planning in ROS. http://wiki.ros.org/navigation http://wiki.ros.org/navigation/Tutorials

Are you running the nav stack and move_base? If so the follow_waypoints package should move past the connecting stop.

Daniel Snider ツ

On Wed, Jan 17, 2018 at 4:55 PM, jackiepong [email protected] wrote:

Hi,

When I roslaunch the package, rviz has not been launched and it says 'connecting to move_base'. I have waited for a long time and still, nothing displayed as shown in the picture named troubleshoot. In addition, followed the tutorial at http://wiki.ros.org/follow_waypoints the fault output has occurred as shown in picture named troubleshoot 2. I am a newbie to ROS and currently I am still researching and learning. Please do help! Many thanks indeed. [image: troubleshoot 2] https://user-images.githubusercontent.com/29064129/35069056-ec49d05c-fbd0-11e7-8c07-b1a21ec8ece0.png [image: troubleshoot of follow_waypoints] https://user-images.githubusercontent.com/29064129/35069057-ec62d502-fbd0-11e7-9697-fa3e51c18304.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/danielsnider/follow_waypoints/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ABqDWKCoIVOyoesRxYMTQYPRKc3M5UTKks5tLmxUgaJpZM4RiDEw .

danielsnider avatar Jan 17 '18 22:01 danielsnider

Hi, thank you for your last reply. This time the problem is move_base_msgs.msg cannot find, however I did look up and couldn't find this message file anywhere. Can you help? image

ROSnewbie avatar Jan 22 '18 20:01 ROSnewbie

You'll need the "ros-kinetic-move-base-msgs" package to fix this I believe.

sudo apt-get install ros-kinetic-move-base-msgs

danielsnider avatar Jan 23 '18 17:01 danielsnider

@ROSnewbie How did you solved the previous error? Where you were unable to connect to move_base. Cause when I do rostopic list I can see the topics of /move_base/$(feedback, goal, status)

Shubhamvithalani avatar Apr 05 '19 05:04 Shubhamvithalani

Hi, This package expects you to be using the move_base ROS service. Move_base is a component of the ROS Navigation stack (nav stack). The main way to do path planning in ROS. http://wiki.ros.org/navigation http://wiki.ros.org/navigation/Tutorials Are you running the nav stack and move_base? If so the follow_waypoints package should move past the connecting stop. Daniel Snider ツ On Wed, Jan 17, 2018 at 4:55 PM, jackiepong @.***> wrote: Hi, When I roslaunch the package, rviz has not been launched and it says 'connecting to move_base'. I have waited for a long time and still, nothing displayed as shown in the picture named troubleshoot. In addition, followed the tutorial at http://wiki.ros.org/follow_waypoints the fault output has occurred as shown in picture named troubleshoot 2. I am a newbie to ROS and currently I am still researching and learning. Please do help! Many thanks indeed. [image: troubleshoot 2] https://user-images.githubusercontent.com/29064129/35069056-ec49d05c-fbd0-11e7-8c07-b1a21ec8ece0.png [image: troubleshoot of follow_waypoints] https://user-images.githubusercontent.com/29064129/35069057-ec62d502-fbd0-11e7-9697-fa3e51c18304.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABqDWKCoIVOyoesRxYMTQYPRKc3M5UTKks5tLmxUgaJpZM4RiDEw .

What do you mean by "Are you running the nav stack and move_base?" Please mention the commands if any

Shubhamvithalani avatar Apr 05 '19 06:04 Shubhamvithalani

@Shubhamvithalani the nav stack is complicated. The roslaunch I use to start it is <node pkg="move_base" type="move_base" name="move_base" output="screen" respawn="true" clear_params="true" > from this file: https://github.com/danielsnider/URC/blob/master/rosws/src/rover_navigation/launch/move_base.launch#L7

I recommend you read some tutorials: http://wiki.ros.org/navigation http://wiki.ros.org/navigation/Tutorials

danielsnider avatar Apr 05 '19 13:04 danielsnider

@danielsnider I tried as you said and still was not able to connect to the server. I started the move_base node and this was the possible error/warning.

[ WARN] [1554472043.191979217, 13.950000000]: Timed out waiting for transform from base_link to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 0.1 timeout was 0.1.

Also, does this repo necessarily need a /map. Can I do waypoint following using /odom data?

Shubhamvithalani avatar Apr 05 '19 13:04 Shubhamvithalani

You should read more about move_base if you're new to it.

Warm wishes, Daniel Snider ツ

On Fri, Apr 5, 2019 at 9:50 AM Shubhamvithalani [email protected] wrote:

@danielsnider https://github.com/danielsnider I tried as you said and still was not able to connect to the server. I started the move_base node and this was the possible error/warning.

[ WARN] [1554472043.191979217, 13.950000000]: Timed out waiting for transform from base_link to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 0.1 timeout was 0.1.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/danielsnider/follow_waypoints/issues/2#issuecomment-480282579, or mute the thread https://github.com/notifications/unsubscribe-auth/ABqDWCGKNhsfO2ndyyqisiTAAFlTWjDVks5vd1SmgaJpZM4RiDEw .

danielsnider avatar Apr 05 '19 14:04 danielsnider

@danielsnider Actually I am working on Monocular ORB Slam2 from which we can get the trajectory traversed by the camera and localise ourselves in the map. Now I plan to traverse the same trajectory given the discrete way-points to reach to the goal. If you can just let me know that move_base will help. I'll try. Thanks

Shubhamvithalani avatar Apr 05 '19 14:04 Shubhamvithalani

Move_base calculated paths that should be followed to travel from point A to point B. This package, follow_waypoints, simply queues and dispatches point A, B, C, etc, to move_base.

On Apr 5, 2019, at 10:31 AM, Shubhamvithalani [email protected] wrote:

@danielsnider Actually I am working on Monocular ORB Slam2 from which we can get the trajectory traversed by the camera and localise ourselves in the map. Now I plan to traverse the same trajectory given the discrete way-points to reach to the goal. If you can just let me know that move_base will help. I'll try. Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

danielsnider avatar Apr 05 '19 15:04 danielsnider

Hi @chenxizhang1994, have you solved this problem? I have got the following output after using roslaunch follow_waypoints follow_waypoints.launch

[ DEBUG ] : Adding state 'GET_PATH' to the state machine. [ DEBUG ] : State 'GET_PATH' is missing transitions: {} [ DEBUG ] : TRANSITIONS FOR GET_PATH: {'success': 'FOLLOW_PATH'} [INFO][139636283606784][/follow_waypoints/init:54]: Connecting to move_base...

Could you please guide me, what can I do next?

hsaleem1 avatar Dec 04 '21 02:12 hsaleem1