Giter Site home page Giter Site logo

sst-misk's Introduction

INITIAL STARTUP

Build ros workspace

  1. navigate to ros_ws directory (cd ros_ws)
  2. initialize workspace (catkin init)
  3. build packages (catkin build)
  4. export built packages (source devel/setup.bash)

Run simulation

  1. add display xhost +
  2. make sure you have 4 terminals open and all of them have previously built packages exported (see point 4. in previous step).
  3. In first terminal run roscore
  4. In second terminal run simulation with defined world and robot specified in *.world file (rosrun stage_ros stageros /workspaces/sst-misk/ros_ws/src/roomba_stage/roomba_lse_arena.world)
  5. run navigation system in third terminal (rosrun basic_controller controller)
  6. In fourth terminal call service to order robot to move to specified position on the map. (rosservice call /go_to_pose "pose: position: x: 1.0 y: 2.0 z: 0.0 orientation: x: 0.0 y: 0.0 z: 0.0 w: 0.0" )
  7. Run navigation from start cd /workspaces/sst-misk/ros_ws/src/pr_vis_graph/src/ && python3 prm_path_navigation.py

discover robots

There is one controller started for every robot. In order for position command to reach the robot it is necessary to know the exact address to send the message to.

  1. In fourth terminal discover available services (rosservice list)
  2. addresses that end on go_to_pose phrase represent robots waiting for order to move, replace fragment /go_to_pose with full path found in order to reach specific robot. Right now only robot_0 awaits commands, but it will change in the future.

sst-misk's People

Contributors

adamkrawczyk avatar

Stargazers

 avatar

Watchers

James Cloos avatar Marcin Skrzypkowski avatar

Forkers

adamkrawczyk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.