File tree Expand file tree Collapse file tree 3 files changed +4
-19
lines changed Expand file tree Collapse file tree 3 files changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,10 @@ FROM ${BASE_IMAGE}
66# Copy the zenoh config file.
77# TODO(Yadunund): Switch to ZENOH_CONFIG_OVERRIDE after the next jazzy sync.
88COPY zenoh_config.json5 /opt/zenoh_config.json5
9- # For one-shot solutions - need to have the 3d_models directory in the folder
10- # containing the 3d models used by the solution
11- ADD 3d_models /opt/ros/underlay/install/3d_models
129
1310# Set environment variables
1411ENV ZENOH_SESSION_CONFIG_URI =/opt/zenoh_config.json5
1512ENV ZENOH_ROUTER_CHECK_ATTEMPTS =5
16- ENV LD_LIBRARY_PATH ="/usr/local/nvidia/lib64:/usr/local/nvidia/bin:${LD_LIBRARY_PATH:-}"
1713# (Optional) If you need to override the entrypoint or command, do it here.
1814# For example:
1915# ENTRYPOINT ["/your/new/entrypoint.sh"]
Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ cd ~/
2929git clone https://github.com/intrinsic-ai/sdk.git
3030cd sdk
3131bazel run //intrinsic/tools/inbuild -- service bundle \
32- --manifest ~ /bpc_ws/src/bpc/flowstate/ services/bpc_pose_estimator.manifest.textproto \
33- --oci_image ~ /bpc_ws/src/bpc/flowstate/ services/bpc_pose_estimator.tar \
34- --output ~ /bpc_ws/src/bpc/flowstate/ services/bpc_pose_estimator.bundle.tar
32+ --manifest ~ /bpc_ws/src/bpc/services/flowstate /bpc_pose_estimator.manifest.textproto \
33+ --oci_image ~ /bpc_ws/src/bpc/services/flowstate /bpc_pose_estimator.tar \
34+ --output ~ /bpc_ws/src/bpc/services/flowstate /bpc_pose_estimator.bundle.tar
3535```
3636
3737Finally install the Service in a running solution.
3838
3939``` bash
40- bazel run //intrinsic/tools/inctl -- service install ~ /bpc_ws/src/bpc/flowstate/ services/bpc_pose_estimator.bundle.tar \
40+ bazel run //intrinsic/tools/inctl -- service install ~ /bpc_ws/src/bpc/services/flowstate /bpc_pose_estimator.bundle.tar \
4141 --cluster CLUSTER_ID \
4242 --org ORG \
4343 --registry REGISTRY \
Original file line number Diff line number Diff line change @@ -15,22 +15,11 @@ service_def {
1515 real_spec {
1616 image {
1717 archive_filename: " bpc_pose_estimator.tar"
18- settings {
19- resource_requirements {
20- limits: { key: " nvidia.com/gpu" value: " 1" }
21- }
22- requires_rtpc_node: true
23- }
2418 }
2519 }
2620 sim_spec {
2721 image {
2822 archive_filename: " bpc_pose_estimator.tar"
29- settings {
30- resource_requirements {
31- limits: { key: " nvidia.com/gpu" value: " 1" }
32- }
33- }
3423 }
3524 }
3625}
You can’t perform that action at this time.
0 commit comments