Skip to content

why did you get rid of the distance rate in the setReward() function? #4

@trqminh

Description

@trqminh

I see that you used to add the distance rate in the setReward() function, why you don't use it anymore?

The episode is now 300, but the robot is still rotating in place. Here are my modifications from your project:

  • First off, I am launching the turtlebot on gazebo 9 on my computer and running the project in the server by running python src/ddpg_stage1.py. The world, that I am using, is similar to turtlebot_stage_2, so I change in the code that self.stage = 2 instead of self.stage = rospy.get_param('/stage_number')
    image
  • Secondly, I struggled with installing tf2_py in python3 so I calculate the yaw by this:
    image
  • Finally, I trained from scratch by getting rid of this line of code "trainer.load_models(4880)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions