Conversation
989e85c to
c72ea95
Compare
Member
|
@muritane, this PR is missing documentation and also a rocker as a requirement for cli. Can you please extend this? also when I execute command, then I get error that the |
716a59e to
6004042
Compare
destogl
requested changes
May 21, 2024
docs/rtwcli/index.rst
Outdated
| * ``rtw ws``: Alias for ``rtw workspace use`` | ||
|
|
||
| .. note:: | ||
| For more detailed usage of each command or sub-command, run ``rtw <command> -h`` or ``rtw <command> <sub-command> -h``. |
Member
There was a problem hiding this comment.
Please add docs from the descritpion of the PR here. Just to have a small overview.
Member
|
We have a major bug here. when I restart my computer, I can not open again the same docker container I have create for the workspace. The error is following: I think the issue is that temp files that are using on container start get stored somehow and they don't existing the next time. |
…instead if necessary
* [cli] backup standalone * [cli] first version of ws import from standalone image, but needs fix when sourcing empty ws folder * [cli] refactor to allow standalone workspaces * [cli] show error for existing ws first * [cli] change python to python3 in setup.bash
This was referenced Jun 25, 2024
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the
createverb to theworkspacecommand ofrtwcli, enhancing it with the capability to efficiently create ROS workspaces. This new functionality supports not just local and Docker-based environment setups but also integrates directly with version control systems for repository management. It specifically addresses the need to automate the fetching and configuration of ROS packages through.reposfiles, streamlining the setup process for complex projects.Enhancements:
.reposfiles, enabling the automatic import of ROS packages from specified repository URLs and branches.Usage:
rtw workspace create --ws-folder <path_to_workspace> --ros-distro <distribution> [options]Currently targeted options:
--docker: Create workspace(s) in a docker environment--repos-containing-repository-url: URL to the repository containing the repos files.reposformat: {repo_name}.{ros_distro}.repos.reposformat: {repo_name}.{ros_distro}.upstream.repos--repos-branch: Branch of the repository containing the.reposfilesExample usage:
humbleROS distribution workspace nameddummy_wswithin a Docker environment, utilizing.reposfiles from thesr_dummy_packagesrepository on thedummy_demo_pkgbranch.Example usage with
standaloneandrobotuser:Committing the container from the command above for exporting:
Importing the image from the command above:
Extra todo's:
Important
After PC restart, the
.xauthcookie file will be removed. Therefore, before attaching VSCode, executertw ws <ws-name>andrtw docker enterto create the necessary.xauthcookie file.