Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 18 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,24 @@
{
"label": "Run_Simulation",
"type": "shell",
"command": "echo '----- running simulation -----'source ~/.bashrc && source /opt/ros/humble/setup.sh && source install/setup.sh && ros2 launch simulation simulation.launch.py",
"command": "echo '----- running simulation -----' source ~/.bashrc && source /opt/ros/humble/setup.sh && source install/setup.sh && ros2 launch simulation simulation.launch.py",
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": ["Build"],
"options": {
"shell": {
"executable": "/bin/bash",
"args": ["--login", "-i", "-c"] // --login loads your ~/.bashrc
}
},
"problemMatcher": []
},
{
"label": "Run_Raw_Gazebo",
"type": "shell",
"command": "echo '----- running simulation -----' source ~/.bashrc && source /opt/ros/humble/setup.sh && source install/setup.sh && ign gazebo worlds/test.world",
"group": {
"kind": "build",
"isDefault": true
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
inst_dep:
sudo apt-get update
rosdep install --from-path src
build:
build_env:
colcon build
echo "DONT FORGET TO SOURCE!"
run:
ros2 launch simulation launch.py
ros2 launch simulation simulation.launch.py

run_and_build: install_dependencies build run
43 changes: 20 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,35 @@ Official Wisconsin Robotics software repository for the 2026 University Rover Ch


# How To Set Up Simulation
starting from the rot of the WiscRobo directory (where this readme is).
NOTE: for development purposes, it is recommended to use VScode seeing as there are custom
build commands and compile tasks in VSCode

## 1. Install Dependencies
start from the root of the wisconsin robotics directory

Makefile shortcut:
```
make inst_dep
```
Raw Commands:
### Raw Commands
```
# Install package dependencies
source /opt/ros/humble/setup.sh
sudo apt-get update
rosdep install --from-path src
```

## 2. build project
Makefile shortcut:
```
make build
```
Raw Commands:
```
# Build projcet
colcon build

# Run Sim
source install/setup.sh
ros2 launch simulation simulation.launch.py
```

## 3. Run Simulation
Makefile shortcut:
### Make File Shortcuts
```
# Install package dependencies
source /opt/ros/humble/setup.sh
make inst_dep

# Build Project
make build

# Run Projects
source install/setup.sh
make run
```
Raw Commands:
```
source install/setup.sh
ros2 launch simulation simulation.launch.py
```
1 change: 0 additions & 1 deletion build/.built_by

This file was deleted.

Empty file removed build/COLCON_IGNORE
Empty file.
Empty file.
1 change: 0 additions & 1 deletion build/simulation/colcon_build.rc

This file was deleted.

1 change: 0 additions & 1 deletion build/simulation/colcon_command_prefix_setup_py.sh

This file was deleted.

89 changes: 0 additions & 89 deletions build/simulation/colcon_command_prefix_setup_py.sh.env

This file was deleted.

34 changes: 0 additions & 34 deletions build/simulation/install.log

This file was deleted.

Binary file not shown.
4 changes: 0 additions & 4 deletions build/simulation/prefix_override/sitecustomize.py

This file was deleted.

14 changes: 0 additions & 14 deletions build/simulation/simulation.egg-info/PKG-INFO

This file was deleted.

39 changes: 0 additions & 39 deletions build/simulation/simulation.egg-info/SOURCES.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/simulation/simulation.egg-info/dependency_links.txt

This file was deleted.

3 changes: 0 additions & 3 deletions build/simulation/simulation.egg-info/entry_points.txt

This file was deleted.

4 changes: 0 additions & 4 deletions build/simulation/simulation.egg-info/requires.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/simulation/simulation.egg-info/top_level.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/simulation/simulation.egg-info/zip-safe

This file was deleted.

Empty file.
Loading