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
fb69147d
Commit
fb69147d
authored
2 years ago
by
David Leander Boelke
Browse files
Options
Downloads
Patches
Plain Diff
rest
parent
4055a1db
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
scripts/.prepare.sh.swp
+0
-0
0 additions, 0 deletions
scripts/.prepare.sh.swp
scripts/prepare.sh
+14
-0
14 additions, 0 deletions
scripts/prepare.sh
scripts/start.sh
+1
-2
1 addition, 2 deletions
scripts/start.sh
with
18 additions
and
5 deletions
Dockerfile
+
3
−
3
View file @
fb69147d
...
...
@@ -9,7 +9,7 @@ RUN adduser user --home /home/user
RUN
echo
'root:DOCKER'
|chpasswd
RUN
echo
'user:docker'
|chpasswd
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
USER
user
WORKDIR
/home/user
...
...
@@ -25,9 +25,9 @@ WORKDIR /home/user/catkin_ws/src
RUN
git clone https://github.com/tecnalia-medical-robotics/manipulability_metrics
# entry script
COPY
entry.sh
/home/user/catkin_ws/
entry.sh
COPY
scripts/*
/home/user/catkin_ws/
scripts/
WORKDIR
/home/user/catkin_ws
USER
root
RUN
chmod
u+x /home/user/catkin_ws/
entry.sh
&&
chown
user: /home/user/catkin_ws/
entry.sh
#
RUN chmod u+x /home/user/catkin_ws/
scripts/*
&& chown user: /home/user/catkin_ws/
scripts/*
USER
user
This diff is collapsed.
Click to expand it.
scripts/.prepare.sh.swp
0 → 100644
+
0
−
0
View file @
fb69147d
File added
This diff is collapsed.
Click to expand it.
scripts/prepare.sh
0 → 100644
+
14
−
0
View file @
fb69147d
# 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
rosdep update
rosdep
install
--from-paths
src
--ignore-src
-r
-y
# make and setup
catkin_make
source
devel/setup.bash
This diff is collapsed.
Click to expand it.
entry
.sh
→
scripts/start
.sh
+
1
−
2
View file @
fb69147d
source
devel/setup.bash
catkin_make
# run launch file from example
roslaunch manipulability_metrics_examples panda_manipulability_demo.launch
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