-
Notifications
You must be signed in to change notification settings - Fork 1
[DRAFT]Etna/deployment #1159
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
base: main
Are you sure you want to change the base?
[DRAFT]Etna/deployment #1159
Changes from all commits
365164e
695c681
eae3fbc
b892cd2
bda6280
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ allow 192.168.0.149 | |
| allow 10.8.0 | ||
|
|
||
| ##########################3 ENABLE FOR BOX ############################################## | ||
| #allow 192.168.2.51 | ||
| allow 192.168.2.51 | ||
| ###################################################################################### | ||
|
|
||
| # Get the time from the ntp server pool | ||
|
|
@@ -37,7 +37,7 @@ maxupdateskew 100 | |
| #rtcsync | ||
|
|
||
| # set process priority | ||
| sched_priority 90 | ||
| sched_priority 95 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this required ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not required |
||
|
|
||
| # lock chronyd into RAM so that it will never be paged out (for lower and more consistent latency) | ||
| lock_all | ||
|
|
@@ -49,7 +49,6 @@ logdir /var/log/chrony | |
| # set the threshold for the adjustment of the system clock that will generate a syslog message | ||
| logchange 0.5 | ||
|
|
||
| # Step the system clock | ||
|
|
||
| ############################## ENABLE FOR BOX ################################## | ||
| server 192.168.2.51 iburst minpoll -4 maxpoll -4 prefer | ||
|
|
@@ -58,11 +57,8 @@ server 192.168.2.51 iburst minpoll -4 maxpoll -4 prefer | |
| server anymal-d039-lpc noselect | ||
| server anymal-d039-npc noselect | ||
|
|
||
| # Step the system clock | ||
| hwtimestamp * minpoll -10 | ||
| # makestep 0.1 -1 # This always steps automatically | ||
|
|
||
| # This always steps automatically | ||
| # makestep 0.1 -1 | ||
|
|
||
| # This does not step automatically | ||
| makestep 1.0 10 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ After=anymal-customer-12V-startup.target | |
| [Service] | ||
| Type=simple | ||
| User=rsl | ||
| ExecStart=/bin/bash -c 'source /opt/ros/noetic/setup.bash && source /home/rsl/catkin_ws/devel/setup.bash && python3 /home/rsl/git/grand_tour_box/box_configuration/anymal/lpc/powerline.py' | ||
| ExecStart=/bin/bash -c 'source /opt/ros/noetic/setup.bash && source /home/integration/catkin_ws/devel/setup.bash && python3 /home/integration/catkin_ws/src/grand_tour_box/box_configuration/anymal/lpc/powerline.py' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we hardcode from one user to the other
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In anymal robots, the user must exist, in current RSL setup only integration user is used on the robots |
||
| Restart=on-failure | ||
| RestartSec=5 | ||
|
|
||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,13 @@ killall node_manager | |
| yes y | rosnode cleanup | ||
| rm -rf /dev/shm/COSMO_SHM | ||
|
|
||
| # On the robot | ||
| export GRANDTOUR_WORKSPACE="i_hate_docker_ws" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what is this
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tried to combine all the workspace entries as an environment variable export under cleanup-session-robot script currently we have a "i_hate_docker_ws" on democracy. Which has the grpc node source code |
||
| export GRANDTOUR_SCRIPT_WORKSPACE="boxi_scripts_ws" | ||
|
|
||
| # On the Box | ||
| export BOX_WORKSPACE="catkin_ws" | ||
|
|
||
| if ps aux | grep '[f]kie' > /dev/null; then | ||
| ps aux | grep '[f]kie' | awk '{print $2}' | xargs kill | ||
| fi | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was breaking package build on the robot, I dont think it is intended
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fulkast whenever you have time, can you take a look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is caused by missing changes from the dev/camera_camera_offline_feature branch. For now, this patch here works.