/krytn_ws

Workspace repo for krytn cafe project

Primary LanguageShellApache License 2.0Apache-2.0

KRYTN_WS Repository

This is the base repo designed to be cloned to setup a VS code enviroment for development with the krytn robot.

Steps To Setup

  1. Install WSL2 on Windows 11
  2. Install and run docker-desktop with WSL 2 enabled.
  3. Install VS Code
  4. Open WSL2 and clone this repo.
  5. Install developer containers VS Code extension.
  6. Type code . in the repo folder to open VS Code in WSL.
  7. Re-open folder using dev-container, this may take a long time as it downloads.
  8. Inside the container, open a terminal and run bash .devcontainer/setup_container.bash to setup the container
  9. Source the ros environment to get the shell setup. source /opt/ros/foxy/local_setup.bash
  10. Build the packages using colcon colcon build
  11. Re-source the install directory to get the built packages into your terminals path source install/setup.bash
  12. Run the gazebo sim ros2 launch krytn-cafe empty-world.launch.py

And you are away!

References

Using some setup inspiration and code snippets from the excellent https://github.com/athackst/vscode_ros2_workspace