ROBOTIS-GIT / open_manipulator

OpenManipulator for controlling in Gazebo and Moveit with ROS
http://emanual.robotis.com/docs/en/platform/openmanipulator/
Apache License 2.0
334 stars 149 forks source link

Turtlebot3 Home Service Challenge - remote roslaunch failed to launch:tb3 #212

Open Prajwalmj opened 3 years ago

Prajwalmj commented 3 years ago

git_issue

Please let me know what is the issue, I appreciate the help!

ROBOTIS-Will commented 3 years ago

hi @Prajwalmj You should create the ssh key with the IP address of your Remote PC where roscore is running.

$ ~/tb3_ssh_keygen 192.168.0.125
Prajwalmj commented 3 years ago
ROBOTIS-Will commented 3 years ago

@Prajwalmj Oh, my bad. You've done it correctly. Let me see if I can reproduce the issue.

Prajwalmj commented 3 years ago

@ROBOTIS-Will , Oh, okay, please let me know, what to do to solve this issue, as soon as possible. Thanks!

Prajwalmj commented 3 years ago

@ROBOTIS-Will Just checking to see if there are any updates. Also, please let me know if there is anything else I need to do to overcome this issue. Thanks for your time!

ROBOTIS-Will commented 3 years ago

@Prajwalmj Thanks for your patience. I'll give you an update when there's any progress in reproducing the issue.

Prajwalmj commented 3 years ago

@ROBOTIS-Will Thanks for your reply. Waiting for your update.

ROBOTIS-Will commented 3 years ago

@Prajwalmj Just finished setting up mine and tried, but couldn't reproduce the problem. image

If you are running other nodes (including roscore), please terminate them and try only running the command below on your Remote PC.

$ roslaunch turtlebot3_home_service_challenge_tools turtlebot3_pi_cam_remote.launch address:=192.168.0.153
Prajwalmj commented 3 years ago

@ROBOTIS-Will

Prajwalmj commented 3 years ago

@ROBOTIS-Will

Prajwalmj commented 3 years ago

Hi @ROBOTIS-Will,

Just checking in to see if you have any idea regarding this issue, as well as how to get geometry pose 2D co-ordinates of room/destination for our own map.

ROBOTIS-Will commented 3 years ago

Hi @Prajwalmj Have you tried setting the initial pose of TurtleBot3 with the 2D Pose Estimate button on the top of RViz window?

Prajwalmj commented 3 years ago

Hi @ROBOTIS-Will

ROBOTIS-Will commented 3 years ago

Hi @Prajwalmj Regarding the coordinate of the map, please refer to below issue thread. https://github.com/ROBOTIS-GIT/turtlebot3_home_service_challenge/issues/5#issuecomment-631290064

In case of inconsistent behavior, it could be a network issue or timesync. If tf is not received in the first place, 2D pose estimate won't work as well.

Prajwalmj commented 3 years ago

Hi @ROBOTIS-Will,

name : toilet
object :
marker : ar_marker_0
position : [0.25, 0, 0.15] //Global coordinate of the object to grab with manipulator measured from the center of the marker.
target :
marker : ar_marker_4
position : [0.25, 0, 0.15] //Global coordinate where the object should be placed at.
x : [1.5, 0.6] //X coordinates of room 1 measured from the center of the arena.
y : [1.5, 0.2] //Y coordinates of room 1 measured from the center of the arena. With X and Y coordinates, when the robot moves to the room, calculate center coordinate of the room.
ROBOTIS-Will commented 3 years ago

Hi @Prajwalmj

Prajwalmj commented 3 years ago

Hi @ROBOTIS-Will,

ROBOTIS-Will commented 3 years ago

@Prajwalmj The below steps will launch the official HSC on an official map.

  1. Bringup TurtleBot3 and launch other necessary nodes such as camera, manipulation, and navigation nodes
    $ roslaunch turtlebot3_home_service_challenge_tools turtlebot3_home_service_challenge_demo_remote.launch address:=TURTLEBOT_IP
  2. Launch the challege manager
    $ roslaunch turtlebot3_home_service_challenge_manager manager.launch
  3. Mission control
    
    ### ​ready and start the mission
    $ rostopic pub -1 /tb3_hsc/command std_msgs/String ready_mission
    $ rostopic pub -1 /tb3_hsc/command std_msgs/String start_mission

stop the mission

$ rostopic pub -1 /tb3_hsc/command std_msgs/String stop_mission



If the Lidar is not rotating, your bringup is not successful. Please make sure that all the connections are securely made.
When launching the `turtlebot3_home_service_challenge_demo_remote.launch` file, the LDS should be running.

Since [bringup is already included in the above launch file](https://github.com/ROBOTIS-GIT/turtlebot3_home_service_challenge/blob/master/turtlebot3_home_service_challenge_tools/launch/turtlebot3_home_service_challenge_demo_remote.launch#L6), you don't need to launch a separate bringup.

I'll transfer this issue thread to [https://github.com/ROBOTIS-GIT/turtlebot3_home_service_challenge/issues](https://github.com/ROBOTIS-GIT/turtlebot3_home_service_challenge/issues) after your next reply.

Thanks!
Prajwalmj commented 3 years ago

Hi @ROBOTIS-Will,

ROBOTIS-Will commented 3 years ago

In the first image of the reply above, I can see that the AR marker is located outside of the map. Make sure that you are using the correct size of the marker (90 x 90 mm). Also, it is recommended to use the teleop keyboard to get more focused amcl particles(in green arrows around the TurtleBot3)

Prajwalmj commented 3 years ago

Hi @ROBOTIS-Will,

ROBOTIS-Will commented 3 years ago

@Prajwalmj I'm not quite sure why your AR marker is located at the outside of the map. What I meant for using keyboard teleop is to concentrate the amcl particles by rotating or moving the TurtleBot3 within the map. This will help increasing the accuracy of TurtleBot3 pose during navigation.

Prajwalmj commented 3 years ago

@ROBOTIS-Will

ROBOTIS-Will commented 3 years ago

@Prajwalmj Thanks for your understandings. I'll also try the AR marker detection part, but I might take a few weeks to test this. I'll update you once I finish testing with my Waffle Pi.