Skip to content

Commit 5f3da4b

Browse files
authored
Merge pull request #461 from PickNikRobotics/rename-env-vars-to-moveit
Rename env vars STUDIO_ to MOVEIT_
2 parents e175a70 + 8b94b06 commit 5f3da4b

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#
77

88
# Specify the MoveIt Pro release to build on top of.
9-
ARG MOVEIT_STUDIO_BASE_IMAGE=picknikciuser/moveit-studio:${STUDIO_DOCKER_TAG:-main}
10-
ARG USERNAME=studio-user
9+
ARG MOVEIT_PRO_BASE_IMAGE=picknikciuser/moveit-studio:${MOVEIT_DOCKER_TAG:-main}
10+
ARG USERNAME=moveit-pro-user
1111
ARG USER_UID=1000
1212
ARG USER_GID=1000
1313

@@ -16,7 +16,7 @@ ARG USER_GID=1000
1616
##################################################
1717
# The image tag is specified in the argument itself.
1818
# hadolint ignore=DL3006
19-
FROM ${MOVEIT_STUDIO_BASE_IMAGE} AS base
19+
FROM ${MOVEIT_PRO_BASE_IMAGE} AS base
2020

2121
# Create a non-root user
2222
ARG USERNAME

src/hangar_sim/objectives/count_boxes.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
<Action
1212
ID="LogMessage"
1313
log_level="error"
14-
message="Make sure to update the absolute path by replacing studio-user with your username, then you can delete this message"
14+
message="Make sure to update the absolute path by replacing moveit-pro-user with your username, then you can delete this message"
1515
/>
1616
<SubTree
1717
ID="Count Boxes Objective"
1818
_collapsed="true"
19-
pose_path="/home/studio-user/user_ws/src/hangar_sim/poses"
20-
scene_camera_folder="/home/studio-user/user_ws/src/hangar_sim/scene_camera_images"
21-
wrist_camera_folder="/home/studio-user/user_ws/src/hangar_sim/wrist_camera_images"
19+
pose_path="/home/moveit-pro-user/user_ws/src/hangar_sim/poses"
20+
scene_camera_folder="/home/moveit-pro-user/user_ws/src/hangar_sim/scene_camera_images"
21+
wrist_camera_folder="/home/moveit-pro-user/user_ws/src/hangar_sim/wrist_camera_images"
2222
/>
2323
</Control>
2424
</BehaviorTree>

src/hangar_sim/objectives/count_boxes_objective.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,21 +106,21 @@
106106
</MetadataFields>
107107
<inout_port
108108
name="wrist_camera_folder"
109-
default="/home/studio-user/user_ws/src/hangar_sim/wrist_camera_images"
109+
default="/home/moveit-pro-user/user_ws/src/hangar_sim/wrist_camera_images"
110110
type="std::string"
111111
>
112112
Absolute path to a directory for saving wrist camera pictures
113113
</inout_port>
114114
<inout_port
115115
name="scene_camera_folder"
116-
default="/home/studio-user/user_ws/src/hangar_sim/scene_camera_images"
116+
default="/home/moveit-pro-user/user_ws/src/hangar_sim/scene_camera_images"
117117
type="std::string"
118118
>
119119
Absolute path to a directory for saving scene camera pictures
120120
</inout_port>
121121
<inout_port
122122
name="pose_path"
123-
default="/home/studio-user/user_ws/src/hangar_sim/poses"
123+
default="/home/moveit-pro-user/user_ws/src/hangar_sim/poses"
124124
type="std::string"
125125
>
126126
Absolute path to a directory of pose YAML files

src/hangar_sim/objectives/count_boxes_subtree.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,14 @@
148148
</MetadataFields>
149149
<inout_port
150150
name="scene_camera_folder"
151-
default="/home/studio-user/user_ws/src/hangar_sim/scene_camera_images"
151+
default="/home/moveit-pro-user/user_ws/src/hangar_sim/scene_camera_images"
152152
type="std::string"
153153
>
154154
Absolute path to a directory for saving scene camera pictures
155155
</inout_port>
156156
<inout_port
157157
name="wrist_camera_folder"
158-
default="/home/studio-user/user_ws/src/hangar_sim/wrist_camera_images"
158+
default="/home/moveit-pro-user/user_ws/src/hangar_sim/wrist_camera_images"
159159
type="std::string"
160160
>
161161
Absolute path to a directory for saving wrist camera pictures

src/hangar_sim/objectives/verify_box_count.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<Action
1212
ID="LogMessage"
1313
log_level="error"
14-
message="Make sure to update the absolute path by replacing studio-user with your username, then you can delete this message"
14+
message="Make sure to update the absolute path by replacing moveit-pro-user with your username, then you can delete this message"
1515
/>
1616
<SubTree
1717
ID="Verify Box Count Subtree"
1818
_collapsed="true"
19-
directory_path="/home/studio-user/user_ws/src/hangar_sim/wrist_camera_images"
19+
directory_path="/home/moveit-pro-user/user_ws/src/hangar_sim/wrist_camera_images"
2020
/>
2121
</Control>
2222
</BehaviorTree>

src/hangar_sim/objectives/verify_box_count_subtree.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
</MetadataFields>
8080
<inout_port
8181
name="directory_path"
82-
default="/home/studio-user/user_ws/src/hangar_sim/wrist_camera_images"
82+
default="/home/moveit-pro-user/user_ws/src/hangar_sim/wrist_camera_images"
8383
type="std::string"
8484
>
8585
Absolute path to wrist camera images

src/lab_sim/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if(BUILD_TESTING)
4747
ament_add_pytest_test(
4848
objectives_integration_test test/objectives_integration_test.py
4949
TIMEOUT 600
50-
ENV STUDIO_CONFIG_PACKAGE=lab_sim STUDIO_HOST_USER_WORKSPACE=${CMAKE_SOURCE_DIR})
50+
ENV MOVEIT_CONFIG_PACKAGE=lab_sim MOVEIT_HOST_USER_WORKSPACE=${CMAKE_SOURCE_DIR})
5151
endif()
5252

5353
ament_package()

0 commit comments

Comments
 (0)