Skip to content

Cannot reset robot position in stage_ros #3

@heleidsn

Description

@heleidsn

Hi, I am very interested in this work and thank you very much for open source the code. I want to repeat the experiment. But I find two problems:

  1. I cannot reset the robot position:

    environment.set_robot_pose([robot_position[0],robot_position[1],0.025], [0,0,robot_orientation])

    It doesn't work.

  2. I cannot receive the stalled message:

    rospy.Subscriber("/stalled", Int8, self.update_robot_stall_data)

I used the Stage-ros simulator branch with add_pose_sub enabled as mentioned in Readme.
I guess it is because of this stage_ros branch is not up to date.

Did you do some modification on the stage_ros code? Where can I get the lasted stage_ros code which can set position?

Looking for your reply! Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions