Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Demonstrating Data to Knowledge Pipelines
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
Leon Michel Gorißen
Demonstrating Data to Knowledge Pipelines
Commits
29506d0e
Commit
29506d0e
authored
1 year ago
by
Leon Michel Gorißen
Browse files
Options
Downloads
Patches
Plain Diff
Do nothing pysical on startup
uncomment everything in entrypoints to avoid unintended behavior at WZL machines
parent
08ce15fe
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
catkin_ws/src/panda_autodynamics/entrypoint.sh
+9
-9
9 additions, 9 deletions
catkin_ws/src/panda_autodynamics/entrypoint.sh
franka_lock_unlock/entrypoint.sh
+2
-2
2 additions, 2 deletions
franka_lock_unlock/entrypoint.sh
with
11 additions
and
11 deletions
catkin_ws/src/panda_autodynamics/entrypoint.sh
+
9
−
9
View file @
29506d0e
#!/bin/bash
#!/bin/bash
# Sleep x seconds until robot is ready
# Sleep x seconds until robot is ready
echo
"Waiting for Robot Setup to finish"
#
echo "Waiting for Robot Setup to finish"
sleep
30
#
sleep 30
# Start your background processes
# Start your background processes
bash
-c
'source /opt/ros/noetic/setup.bash; source /app/catkin_ws/devel/setup.bash; source /root/.bashrc; roslaunch panda_autodynamics panda_auto_dynamics.launch'
&
#
bash -c 'source /opt/ros/noetic/setup.bash; source /app/catkin_ws/devel/setup.bash; source /root/.bashrc; roslaunch panda_autodynamics panda_auto_dynamics.launch' &
# Set a trap for SIGTERM
# Set a trap for SIGTERM
trap
'echo "SIGTERM received, exiting"; exit 0'
SIGTERM
#
trap 'echo "SIGTERM received, exiting"; exit 0' SIGTERM
# Wait indefinitely until SIGTERM is received
# Wait indefinitely until SIGTERM is received
echo
"Waiting for SIGTERM..."
#
echo "Waiting for SIGTERM..."
while
true
;
do
#
while true; do
sleep
10
#
sleep 10
bash
-c
'source /opt/ros/noetic/setup.bash; source /app/catkin_ws/devel/setup.bash; source /root/.bashrc; rostopic pub -1 /franka_control/error_recovery/goal franka_msgs/ErrorRecoveryActionGoal "{}" ; rosrun panda_autodynamics panda_auto_dynamics_v1.py'
#
bash -c 'source /opt/ros/noetic/setup.bash; source /app/catkin_ws/devel/setup.bash; source /root/.bashrc; rostopic pub -1 /franka_control/error_recovery/goal franka_msgs/ErrorRecoveryActionGoal "{}" ; rosrun panda_autodynamics panda_auto_dynamics_v1.py'
done
#
done
This diff is collapsed.
Click to expand it.
franka_lock_unlock/entrypoint.sh
+
2
−
2
View file @
29506d0e
#!/bin/bash
#!/bin/bash
# Source your completion script
# Source your completion script
source
/app/franka_lock_unlock/frankalockunlock-completion.bash
#
source /app/franka_lock_unlock/frankalockunlock-completion.bash
# Execute the Python script, replacing the current shell process with Python
# Execute the Python script, replacing the current shell process with Python
exec
frankalockunlock
"
$FRANKA_PASSWORD
"
--hostname
"
$FRANKA_IP
"
--username
"
$FRANKA_USERNAME
"
--wait
--request
--persistent
--unlock
--lock
--fci
#
exec frankalockunlock "$FRANKA_PASSWORD" --hostname "$FRANKA_IP" --username "$FRANKA_USERNAME" --wait --request --persistent --unlock --lock --fci
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