-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |