Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create setup script for single command full dev setup #358

Merged
merged 8 commits into from
May 16, 2024

Conversation

texhnolyze
Copy link
Contributor

Summary

Write setup script, which allows for full setup of repository and environment for development including:

  • cloning of the repo
  • setup of rosdep init
  • setup of zsh configuration and inclusion of ros/colcon aliases/functions
  • setup with make install or without sudo make install-no-root
  • optional install of webots
  • full colcon build of all packages

Proposed changes

For easier management of ros/colcon aliases and utility functions I have created a ros.plugin.sh file, which can be sourced in either .bashrc or .zshrc and have also adjusted the devcontainer to use it.

Additionally, while testing permission issues with devcontainer became apparent #357.

Checklist

  • Write documentation
  • Test on your machine
  • Test on the robot
  • Create issues for future work
  • Triage this PR and label it

@texhnolyze texhnolyze requested review from Flova, timonegk and jaagut March 16, 2024 15:39
@texhnolyze texhnolyze self-assigned this Mar 16, 2024
@texhnolyze texhnolyze added enhancement New feature or request tooling docs labels Mar 16, 2024
@texhnolyze texhnolyze force-pushed the feature/setup-script branch 2 times, most recently from c2cc9a3 to a2c05b1 Compare March 19, 2024 20:56
@jaagut jaagut requested a review from timonegk March 21, 2024 20:13
@texhnolyze texhnolyze force-pushed the feature/setup-script branch from 0eb331a to 8b70a29 Compare April 10, 2024 22:36
to make setup for new members/computers easier.
It utilizes our `Makefile` targets whenever possible.

It does the following things:
- clone the bitbots_main repository
- sets up `rosdep init`
- sets up ros zsh aliases and plugins
- sets up the `lib` folder with vcstool
- updates all sources with our make target
- installs the pylon basler camera drivers
- optionally installs webots
- does a full colcon build of all packages
with TLDR single script execution command for easier setup for new
members/computers
@texhnolyze texhnolyze force-pushed the feature/setup-script branch from 04575df to 078b557 Compare May 14, 2024 16:54
@texhnolyze texhnolyze requested a review from jaagut May 14, 2024 17:08
Copy link
Member

@Flova Flova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice 👍

@texhnolyze texhnolyze merged commit 094dac3 into main May 16, 2024
2 checks passed
@texhnolyze texhnolyze deleted the feature/setup-script branch May 16, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs enhancement New feature or request tooling
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants