Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
help_ros
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Leander Boelke
help_ros
Commits
622b3e63
Commit
622b3e63
authored
2 years ago
by
none
Browse files
Options
Downloads
Patches
Plain Diff
copy from local directory, instead of git clone
parent
7e0894f4
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+4
-3
4 additions, 3 deletions
Dockerfile
manipulability_metrics
+1
-1
1 addition, 1 deletion
manipulability_metrics
scripts/prepare.sh
+0
-7
0 additions, 7 deletions
scripts/prepare.sh
with
5 additions
and
11 deletions
Dockerfile
+
4
−
3
View file @
622b3e63
...
@@ -6,8 +6,8 @@ RUN apt update; apt install -y vim tmux git sudo stow
...
@@ -6,8 +6,8 @@ RUN apt update; apt install -y vim tmux git sudo stow
# add nonroot user 'user' with sudo abilities and nice configurations
# add nonroot user 'user' with sudo abilities and nice configurations
RUN
adduser user
--home
/home/user
RUN
adduser user
--home
/home/user
RUN
echo
'root:
DOCKER
'
|chpasswd
RUN
echo
'root:
root
'
|chpasswd
RUN
echo
'user:
dock
er'
|chpasswd
RUN
echo
'user:
us
er'
|chpasswd
RUN
echo
"user ALL=(ALL:ALL) ALL"
>>
/etc/sudoers
RUN
echo
"user ALL=(ALL:ALL) ALL"
>>
/etc/sudoers
#RUN echo "source /opt/ros/melodic/setup.bash" >> /home/user/.bashrc
#RUN echo "source /opt/ros/melodic/setup.bash" >> /home/user/.bashrc
# covenience, this entire block can be removed without affecting the functionality
# covenience, this entire block can be removed without affecting the functionality
...
@@ -22,7 +22,8 @@ RUN echo 'PS1="\u:\wΣ "' >> /home/user/.bashrc
...
@@ -22,7 +22,8 @@ RUN echo 'PS1="\u:\wΣ "' >> /home/user/.bashrc
# setup workspace
# setup workspace
RUN
mkdir
-p
/home/user/catkin_ws/src
RUN
mkdir
-p
/home/user/catkin_ws/src
WORKDIR
/home/user/catkin_ws/src
WORKDIR
/home/user/catkin_ws/src
RUN
git clone https://github.com/tecnalia-medical-robotics/manipulability_metrics
COPY
manipulability_metrics /home/user/catkin_ws/src
#RUN git clone https://github.com/tecnalia-medical-robotics/manipulability_metrics
# entry script
# entry script
COPY
scripts/* /home/user/catkin_ws/scripts/
COPY
scripts/* /home/user/catkin_ws/scripts/
...
...
This diff is collapsed.
Click to expand it.
manipulability_metrics
@
cb45bc21
Compare
0e136037
...
cb45bc21
Subproject commit
0e1360376a49fdc623e761fc8ca769e99fa11ac9
Subproject commit
cb45bc21aadbf41eac0fbad18889fd9524401a7c
This diff is collapsed.
Click to expand it.
scripts/prepare.sh
+
0
−
7
View file @
622b3e63
# remove namespace to avoid problem
vim
-E
/home/user/catkin_ws/src/manipulability_metrics/manipulability_metrics_examples/urdf/panda.urdf.xacro
<<
EOF
normal GkWWdE
w
q
EOF
# install dependencies
# install dependencies
rosdep update
rosdep update
rosdep
install
--from-paths
src
--ignore-src
-r
-y
rosdep
install
--from-paths
src
--ignore-src
-r
-y
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment