Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About installation problems #1

Open
SYSUHPK opened this issue Feb 24, 2021 · 11 comments
Open

About installation problems #1

SYSUHPK opened this issue Feb 24, 2021 · 11 comments

Comments

@SYSUHPK
Copy link

SYSUHPK commented Feb 24, 2021

Excuse me, I read your papers and it is a great work, but I have some doubts about it.
1.Does it support Ubuntu version>16.04?
2.Are all the installation steps related in remote PC? Is there any installation step in turtlebots? It is not so clear.

@hanlinniu
Copy link
Owner

Excuse me, I read your papers and it is a great work, but I have some doubts about it.
1.Does it support Ubuntu version>16.04?
2.Are all the installation steps related in remote PC? Is there any installation step in turtlebots? It is not so clear.

Hello, I haven't tried ubuntu 18 yet, but I think it should work, you can refer to this link: https://emanual.robotis.com/docs/en/platform/turtlebot3/quick-start/. You can choose ubuntu 18.04 and choose melodic there. You can also find the installation step for turtlebot there, hope this reply works for you!

@SYSUHPK
Copy link
Author

SYSUHPK commented Feb 24, 2021

Thanks! Well, I still have some doubts.
1.Are all computationally intensive works on the PC? And turtlebots just collect data, receive cmd from PC?
2.Or is there any workload balancing between turtlebots and PC?
3.I saw the video and find that we should train it in the gazebo with a human in the loop? Does it mean we should sit in a chair and play for hours?

@hanlinniu
Copy link
Owner

video and find that we should train it in the gazebo with a human in the loo

For your questions, 1 & 2, all the intensive works are on the PC. 3, human data collection is done in around 20 minutes

@SYSUHPK SYSUHPK closed this as completed Feb 25, 2021
@SYSUHPK
Copy link
Author

SYSUHPK commented Feb 25, 2021

Thanks a lot! I will have a try,.
BYW, is there any model that has been trained provided?

@SYSUHPK SYSUHPK reopened this Feb 25, 2021
@hanlinniu
Copy link
Owner

Thanks a lot! I will have a try,.
BYW, is there any model that has been trained provided?

Yest, it is in the script files

@SYSUHPK
Copy link
Author

SYSUHPK commented Feb 28, 2021

Thanks! I try to install it but comes with some problems

  • Just play with the trained model(provided, human including) in real world

  • Params

    PC: 192.168.1.2(master)
    Single Turtlebot3: 192.168.1.3
    
  • Step1

    Set the network
    
  • Step2
    PC:

    Command1:  roscore
    
    Into virtual env(it is tf2 using conda here, it can work)
            
    Command2: (dir: turtlebot3_ddpg_collision_avoidance/turtlebot_ddpg/launch) 
             roslaunch turtlebot3_laser_filter.launch(filter laser data)
    
    Command3: (dir: turtlebot3_ddpg_collision_avoidance/turtlebot_ddpg/scripts/fd_replay/play_human_data/)
             set train_indicator=0 under ddpg_network_turtlebot3_amcl_fd_replay_human.py
             python ddpg_network_turtlebot3_amcl_fd_replay_human.py(sub laser data and return result with the trained model)
    

Turtlebot3:

   Command4:
           roslaunch turtlebot3_bringup turtlebot3_robot.launch multi_robot_name:="tb3_0" set_lidar_frame_id:="tb3_0/base_scan"

But it reports error when running command2 & 3

   command2--error1

Snipaste_2021-02-28_11-55-50

   command3--error2

Snipaste_2021-02-28_11-55-13

I don't know what happens for commands 2&3, is it the step problem? Or I just ignore sth else?
Looking forward to receiving your reply

@SYSUHPK
Copy link
Author

SYSUHPK commented Mar 8, 2021

I have fixed the first error, but the second error still can't be fixed, it seems that the code is missing about GameState?
image

@SYSUHPK
Copy link
Author

SYSUHPK commented Mar 8, 2021

I have solved the second error, too. It seems that I should run the model at the end, then it works. But the turtlebot3 doesn't move, here are the details:
The commands are the same as we mentioned before.
When running the Command3 at the end: (dir: turtlebot3_ddpg_collision_avoidance/turtlebot_ddpg/scripts/fd_replay/play_human_data/)
set train_indicator=0 under ddpg_network_turtlebot3_amcl_fd_replay_human.py
python ddpg_network_turtlebot3_amcl_fd_replay_human.py(sub laser data and return result with the trained model)
It reports like this:
image
And it rqt_graph, I find that the filter and mode nodes are not active:
Screenshot from 2021-03-08 16-47-18
Screenshot from 2021-03-08 16-47-28

I think maybe I ignore some steps.

  1. Can you modify your detailed commands in the readme.md? For example, how to start the turtlebot3 board? I don't whether I am right. How to run the filter node? ...
  2. Can you add some details about some tools' version you use? For example, TensorFlow, Keras, python... I think this is very important.

@SYSUHPK
Copy link
Author

SYSUHPK commented Mar 8, 2021

Well, it still reports the warnings, but now they are all active nodes in rqt_graph.
But the turtlebot3 can't move. Do I ignore some steps?

rosgraph_2

@gkgpqls
Copy link

gkgpqls commented Aug 16, 2022

Hi @SYSUHPK Did you solve the problem that the robot is not moving?

@Raibail
Copy link

Raibail commented Sep 13, 2022

Hi @SYSUHPK, I am new to ROS. I am also facing a problem with turtlebot movement. Have you resolved it yet? I have this warning but cannot find the relevant code to modify.
Screenshot from 2022-09-13 15-15-03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants