Skip to content
This repository
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (7 sloc) 0.315 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/bash

#CONT=$HOME/PS/HEAD/player/examples/c++/laserobstacleavoid

# echo $1

for (( INDEX=0 ; $INDEX < $1 ; INDEX++ )) ; do

  PORT=$(($INDEX+6665))

  echo "driver( name \"stage\" provides [\"$PORT:position:0\" \"$PORT:laser:0\" \"$PORT:sonar:0\" \"$PORT:blobfinder:0\"] model \"robot$INDEX\" )"

done
  
Something went wrong with that request. Please try again.