Skip to content

Commit

Permalink
warn against script usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gunarp committed Sep 22, 2020
1 parent 6031ba1 commit 3942079
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# Create URDF from xacro
rosrun xacro xacro wheely_boi.xacro > wb.urdf

# Start ROS and an empty Gazebo world
roslaunch gazebo_ros empty_world.launch

# Spawn our urdf model into the empty gazebo world
rosrun gazebo_ros spawn_model -file wb.urdf -urdf -model wheely_boi

# Start our keyboard controller
# DO NOT RUN ME! PLEASE JUST RUN THE COMMANDS LISTED HERE ONE BY ONE
echo "Please don't run me >:("
echo "I will now enter an infinte loop! Ctrl+C to stop"
while true
do
sleep 1
done

# Create URDF from xacro
rosrun xacro xacro wheely_boi.xacro > wb.urdf

# Start ROS and an empty Gazebo world
roslaunch gazebo_ros empty_world.launch

# Spawn our urdf model into the empty gazebo world
rosrun gazebo_ros spawn_model -file wb.urdf -urdf -model wheely_boi

# Start our keyboard controller
rosrun wb key_in.py

0 comments on commit 3942079

Please sign in to comment.