Skip to content

chandyalex/stanford_pupper_config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Quick Start

You don't need a physical robot to run the following demos.

1.1. Walking demo in RVIZ:

1.1.1. Run the base driver:

roslaunch stanford_pupper_config bringup.launch rviz:=true

1.1.2. Run the teleop node:

roslaunch champ_teleop teleop.launch

If you want to use a joystick add joy:=true as an argument.

1.2. SLAM demo:

1.2.1. Run the Gazebo environment:

roslaunch stanford_pupper_config gazebo.launch 

1.2.2. Run gmapping package and move_base:

roslaunch stanford_pupper_config slam.launch rviz:=true

To start mapping:

  • Click '2D Nav Goal'.

  • Click and drag at the position you want the robot to go.

    champ

  • Save the map by running:

    roscd stanford_pupper_config/maps
    rosrun map_server map_saver
    

1.3. Autonomous Navigation:

1.3.1. Run the Gazebo environment:

roslaunch stanford_pupper_config gazebo.launch 

1.3.2. Run amcl and move_base:

roslaunch stanford_pupper_config navigate.launch rviz:=true

To navigate:

  • Click '2D Nav Goal'.

  • Click and drag at the position you want the robot to go.

    champ

1.4.1 Spawning multiple robots in Gazebo

Run Gazebo and default simulation world:

roslaunch champ_gazebo spawn_world.launch 

You can also load your own world file by passing your world's path to 'gazebo_world' argument:

roslaunch champ_gazebo spawn_world.launch gazebo_world:=<path_to_world_file>

Spawning a robot:

roslaunch stanford_pupper_config spawn_robot.launch robot_name:=<unique_robot_name> world_init_x:=<x_position> world_init_y:=<y_position>
  • Every instance of the spawned robot must have a unique robot name to prevent the topics and transforms from clashing.

This is not an official product from the robot's company/author.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published