bluer-sbc 8.57.1__tar.gz → 8.104.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of bluer-sbc might be problematic. Click here for more details.

Files changed (98) hide show
  1. {bluer_sbc-8.57.1/bluer_sbc.egg-info → bluer_sbc-8.104.1}/PKG-INFO +2 -2
  2. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/README.md +1 -9
  3. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/ROS/seed.sh +9 -0
  4. bluer_sbc-8.104.1/bluer_sbc/.abcli/ROS.sh +3 -0
  5. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/session.sh +3 -5
  6. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/tests/help.sh +0 -3
  7. bluer_sbc-8.104.1/bluer_sbc/ROS/__init__.py +1 -0
  8. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/__init__.py +1 -1
  9. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/functions.py +0 -2
  10. bluer_sbc-8.104.1/bluer_sbc/sample.env +3 -0
  11. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1/bluer_sbc.egg-info}/PKG-INFO +2 -2
  12. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc.egg-info/SOURCES.txt +1 -2
  13. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/setup.py +1 -0
  14. bluer_sbc-8.57.1/bluer_sbc/.abcli/ROS/session.sh +0 -26
  15. bluer_sbc-8.57.1/bluer_sbc/.abcli/ROS.sh +0 -15
  16. bluer_sbc-8.57.1/bluer_sbc/help/session.py +0 -26
  17. bluer_sbc-8.57.1/bluer_sbc/sample.env +0 -1
  18. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/LICENSE +0 -0
  19. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/MANIFEST.in +0 -0
  20. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/abcli.sh +0 -0
  21. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/actions.sh +0 -0
  22. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/adafruit_rgb_matrix.sh +0 -0
  23. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/alias.sh +0 -0
  24. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/blue_sbc.sh +0 -0
  25. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/camera.sh +0 -0
  26. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/grove.sh +0 -0
  27. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/hat.sh +0 -0
  28. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/install/adafruit_rgb_matrix.sh +0 -0
  29. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/install/grove.sh +0 -0
  30. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/install/lepton.sh +0 -0
  31. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/install/rpi.sh +0 -0
  32. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/install/scroll_phat_hd.sh +0 -0
  33. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/install/sparkfun_top_phat.sh +0 -0
  34. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/install/template.sh +0 -0
  35. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/install/unicorn_16x16.sh +0 -0
  36. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/lepton.sh +0 -0
  37. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/scroll_phat_hd.sh +0 -0
  38. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/seed.sh +0 -0
  39. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/sparkfun_top_phat.sh +0 -0
  40. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/tests/README.sh +0 -0
  41. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/tests/camera.sh +0 -0
  42. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/tests/seed.sh +0 -0
  43. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/tests/version.sh +0 -0
  44. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/.abcli/unicorn_16x16.sh +0 -0
  45. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/README.py +0 -0
  46. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/__main__.py +0 -0
  47. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/algo/__init__.py +0 -0
  48. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/algo/diff.py +0 -0
  49. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/config.env +0 -0
  50. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/env.py +0 -0
  51. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/__init__.py +0 -0
  52. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/adafruit_rgb_matrix.py +0 -0
  53. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/display.py +0 -0
  54. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/grove.py +0 -0
  55. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/hardware.py +0 -0
  56. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/hat/__init__.py +0 -0
  57. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/hat/__main__.py +0 -0
  58. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/hat/abstract.py +0 -0
  59. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/hat/prototype.py +0 -0
  60. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/screen.py +0 -0
  61. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/scroll_phat_hd.py +0 -0
  62. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/sparkfun_top_phat/__init__.py +0 -0
  63. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/sparkfun_top_phat/__main__.py +0 -0
  64. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/sparkfun_top_phat/classes.py +0 -0
  65. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/hardware/unicorn_16x16.py +0 -0
  66. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/__init__.py +0 -0
  67. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/__main__.py +0 -0
  68. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/adafruit_rgb_matrix.py +0 -0
  69. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/camera.py +0 -0
  70. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/grove.py +0 -0
  71. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/hat.py +0 -0
  72. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/lepton.py +0 -0
  73. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/scroll_phat_hd.py +0 -0
  74. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/sparkfun_top_phat.py +0 -0
  75. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/help/unicorn_16x16.py +0 -0
  76. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/host.py +0 -0
  77. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/imager/__init__.py +0 -0
  78. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/imager/camera/__init__.py +0 -0
  79. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/imager/camera/__main__.py +0 -0
  80. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/imager/camera/classes.py +0 -0
  81. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/imager/camera/constants.py +0 -0
  82. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/imager/classes.py +0 -0
  83. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/imager/lepton/__init__.py +0 -0
  84. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/imager/lepton/__main__.py +0 -0
  85. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/imager/lepton/classes.py +0 -0
  86. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/imager/lepton/python2.py +0 -0
  87. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/logger.py +0 -0
  88. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/session/__init__.py +0 -0
  89. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/session/__main__.py +0 -0
  90. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/session/classes.py +0 -0
  91. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/session/functions.py +0 -0
  92. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc/urls.py +0 -0
  93. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc.egg-info/dependency_links.txt +0 -0
  94. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc.egg-info/requires.txt +0 -0
  95. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/bluer_sbc.egg-info/top_level.txt +0 -0
  96. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/pyproject.toml +0 -0
  97. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/requirements.txt +0 -0
  98. {bluer_sbc-8.57.1 → bluer_sbc-8.104.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_sbc
3
- Version: 8.57.1
3
+ Version: 8.104.1
4
4
  Summary: 🌀 AI for single board computers.
5
5
  Home-page: https://github.com/kamangir/bluer-sbc
6
6
  Author: Arash Abadpour (Kamangir)
@@ -49,7 +49,7 @@ pip install bluer_sbc
49
49
 
50
50
  [![pylint](https://github.com/kamangir/bluer-sbc/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/bluer-sbc/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/bluer-sbc/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/bluer-sbc.svg)](https://pypi.org/project/bluer-sbc/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/bluer-sbc)](https://pypistats.org/packages/bluer-sbc)
51
51
 
52
- built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.57.1`](https://github.com/kamangir/bluer-sbc).
52
+ built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.104.1`](https://github.com/kamangir/bluer-sbc).
53
53
 
54
54
 
55
55
  built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
@@ -19,8 +19,6 @@ graph LR
19
19
 
20
20
  hardware_validate["@sbc<br>&lt;hardware&gt;<br>validate<br>&lt;options&gt;"]
21
21
 
22
- session_start["@sbc<br>session<br>start"]
23
-
24
22
  object["📂 object"]:::folder
25
23
  camera_hardware["👁️‍🗨️ camera"]:::folder
26
24
  hardware["🖱️ hardware"]:::folder
@@ -34,12 +32,6 @@ graph LR
34
32
  hardware_validate --> hardware
35
33
  hardware_validate --> UI
36
34
 
37
- hardware --> session_start
38
- session_start --> hardware
39
- camera_hardware --> session_start
40
- session_start --> object
41
- session_start --> UI
42
-
43
35
  classDef folder fill:#999,stroke:#333,stroke-width:2px;
44
36
  ```
45
37
 
@@ -52,5 +44,5 @@ graph LR
52
44
 
53
45
  [![pylint](https://github.com/kamangir/bluer-sbc/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/bluer-sbc/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/bluer-sbc/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/bluer-sbc.svg)](https://pypi.org/project/bluer-sbc/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/bluer-sbc)](https://pypistats.org/packages/bluer-sbc)
54
46
 
55
- built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.57.1`](https://github.com/kamangir/bluer-sbc).
47
+ built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.104.1`](https://github.com/kamangir/bluer-sbc).
56
48
 
@@ -5,11 +5,17 @@
5
5
  function bluer_ai_seed_headless_ubuntu_rpi() {
6
6
  local target=$1
7
7
 
8
+ seed="$seed$(bluer_ai_seed add_file $abcli_path_git/bluer-sbc/bluer_sbc/ROS/sudoers.d /etc/sudoers.d/ROS)$delim"
9
+ seed="${seed}sudo chown root:root /etc/sudoers.d/ROS$delim"
10
+ seed="${seed}sudo chmod 440 /etc/sudoers.d/ROS$delim_section"
11
+
8
12
  seed="${seed}sudo systemctl disable unattended-upgrades$delim"
9
13
  seed="${seed}sudo apt remove unattended-upgrades$delim"
10
14
  seed="${seed}sudo apt update$delim"
11
15
  seed="${seed}sudo apt upgrade$delim"
12
16
  seed="${seed}sudo apt install -y wireless-tools$delim"
17
+ seed="${seed}sudo apt install -y gcc python3-dev$delim"
18
+ seed="${seed}sudo apt install -y gcc-aarch64-linux-gnu$delim"
13
19
  seed="${seed}sudo apt install -y python3-venv$delim_section"
14
20
 
15
21
  seed="${seed}sudo mkdir -p /etc/systemd/system/getty@tty1.service.d$delim"
@@ -28,6 +34,7 @@ function bluer_ai_seed_headless_ubuntu_rpi() {
28
34
 
29
35
  seed="${seed}pip install --upgrade pip --no-input$delim"
30
36
  seed="${seed}pip3 install -e .$delim"
37
+ seed="${seed}pip3 install evdev$delim"
31
38
  seed="${seed}pip3 install opencv-python-headless$delim_section"
32
39
 
33
40
  bluer_ai_seed add_repo repo=bluer-objects
@@ -41,5 +48,7 @@ function bluer_ai_seed_headless_ubuntu_rpi() {
41
48
  bluer_ai_seed add_repo repo=bluer-ugv
42
49
  seed="${seed}pip3 install -e .$delim_section"
43
50
 
51
+ seed="${seed}pip3 install RPi.GPIO$delim_section"
52
+
44
53
  seed="${seed}source \$HOME/git/bluer-ai/bluer_ai/.abcli/bluer_ai.sh$delim_section"
45
54
  }
@@ -0,0 +1,3 @@
1
+ #! /usr/bin/env bash
2
+
3
+ bluer_ai_source_caller_suffix_path /ROS
@@ -6,7 +6,6 @@ function bluer_sbc_session() {
6
6
  if [ "$task" == "start" ]; then
7
7
  local options=$2
8
8
  local do_dryrun=$(bluer_ai_option_int "$options" dryrun 0)
9
- local run_sudo=$(bluer_ai_option_int "$options" sudo 0)
10
9
  local do_upload=$(bluer_ai_option_int "$options" upload 1)
11
10
 
12
11
  bluer_ai_log "@sbc: session @ $abcli_object_name started ..."
@@ -16,13 +15,12 @@ function bluer_sbc_session() {
16
15
  session,host=$abcli_hostname,$BLUER_SBC_SESSION_OBJECT_TAGS
17
16
 
18
17
  local sudo_prefix=""
19
- # https://stackoverflow.com/a/8633575/17619982
20
- [[ "$run_sudo" == 1 ]] &&
21
- sudo_prefix="sudo -E "
18
+ [[ "$BLUER_AI_SESSION_IS_SUDO" == 1 ]] &&
19
+ sudo_prefix="sudo -E"
22
20
 
23
21
  bluer_ai_eval dryrun=$do_dryrun \
24
22
  $sudo_prefix \
25
- python3 -m bluer_sbc.session \
23
+ $(which python3) -m bluer_sbc.session \
26
24
  start \
27
25
  "${@:3}"
28
26
  local status="$?"
@@ -35,9 +35,6 @@ function test_bluer_sbc_help() {
35
35
  "@sbc scroll_phat_hd" \
36
36
  "@sbc scroll_phat_hd validate" \
37
37
  \
38
- "@sbc session" \
39
- "@sbc session start" \
40
- \
41
38
  "@sbc sparkfun_top_phat" \
42
39
  "@sbc sparkfun_top_phat validate" \
43
40
  \
@@ -4,7 +4,7 @@ ICON = "🌀"
4
4
 
5
5
  DESCRIPTION = f"{ICON} AI for single board computers."
6
6
 
7
- VERSION = "8.57.1"
7
+ VERSION = "8.104.1"
8
8
 
9
9
  REPO_NAME = "bluer-sbc"
10
10
 
@@ -12,7 +12,6 @@ from bluer_sbc.help.hat import help_functions as help_hat
12
12
  from bluer_sbc.help.lepton import help_functions as help_lepton
13
13
  from bluer_sbc.help.scroll_phat_hd import help_functions as help_scroll_phat_hd
14
14
  from bluer_sbc.help.sparkfun_top_phat import help_functions as help_sparkfun_top_phat
15
- from bluer_sbc.help.session import help_functions as help_session
16
15
  from bluer_sbc.help.unicorn_16x16 import help_functions as help_unicorn_16x16
17
16
  from bluer_sbc import ALIAS
18
17
 
@@ -27,7 +26,6 @@ help_functions.update(
27
26
  "hat": help_hat,
28
27
  "lepton": help_lepton,
29
28
  "scroll_phat_hd": help_scroll_phat_hd,
30
- "session": help_session,
31
29
  "sparkfun_top_phat": help_sparkfun_top_phat,
32
30
  "unicorn_16x16": help_unicorn_16x16,
33
31
  }
@@ -0,0 +1,3 @@
1
+ BLUER_SBC_SECRET=value
2
+
3
+ BLUER_AI_SESSION_IS_SUDO=0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_sbc
3
- Version: 8.57.1
3
+ Version: 8.104.1
4
4
  Summary: 🌀 AI for single board computers.
5
5
  Home-page: https://github.com/kamangir/bluer-sbc
6
6
  Author: Arash Abadpour (Kamangir)
@@ -49,7 +49,7 @@ pip install bluer_sbc
49
49
 
50
50
  [![pylint](https://github.com/kamangir/bluer-sbc/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/bluer-sbc/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/bluer-sbc/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/bluer-sbc.svg)](https://pypi.org/project/bluer-sbc/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/bluer-sbc)](https://pypistats.org/packages/bluer-sbc)
51
51
 
52
- built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.57.1`](https://github.com/kamangir/bluer-sbc).
52
+ built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.104.1`](https://github.com/kamangir/bluer-sbc).
53
53
 
54
54
 
55
55
  built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
@@ -34,7 +34,6 @@ bluer_sbc/.abcli/session.sh
34
34
  bluer_sbc/.abcli/sparkfun_top_phat.sh
35
35
  bluer_sbc/.abcli/unicorn_16x16.sh
36
36
  bluer_sbc/.abcli/ROS/seed.sh
37
- bluer_sbc/.abcli/ROS/session.sh
38
37
  bluer_sbc/.abcli/install/adafruit_rgb_matrix.sh
39
38
  bluer_sbc/.abcli/install/grove.sh
40
39
  bluer_sbc/.abcli/install/lepton.sh
@@ -48,6 +47,7 @@ bluer_sbc/.abcli/tests/camera.sh
48
47
  bluer_sbc/.abcli/tests/help.sh
49
48
  bluer_sbc/.abcli/tests/seed.sh
50
49
  bluer_sbc/.abcli/tests/version.sh
50
+ bluer_sbc/ROS/__init__.py
51
51
  bluer_sbc/algo/__init__.py
52
52
  bluer_sbc/algo/diff.py
53
53
  bluer_sbc/hardware/__init__.py
@@ -74,7 +74,6 @@ bluer_sbc/help/grove.py
74
74
  bluer_sbc/help/hat.py
75
75
  bluer_sbc/help/lepton.py
76
76
  bluer_sbc/help/scroll_phat_hd.py
77
- bluer_sbc/help/session.py
78
77
  bluer_sbc/help/sparkfun_top_phat.py
79
78
  bluer_sbc/help/unicorn_16x16.py
80
79
  bluer_sbc/imager/__init__.py
@@ -18,6 +18,7 @@ setup(
18
18
  f"{NAME}.imager",
19
19
  f"{NAME}.imager.camera",
20
20
  f"{NAME}.imager.lepton",
21
+ f"{NAME}.ROS",
21
22
  f"{NAME}.session",
22
23
  ],
23
24
  include_package_data=True,
@@ -1,26 +0,0 @@
1
- #! /usr/bin/env bash
2
-
3
- function bluer_sbc_ROS_session() {
4
- local options=$2
5
- local do_dryrun=$(bluer_ai_option_int "$options" dryrun 0)
6
- local do_upload=$(bluer_ai_option_int "$options" upload 1)
7
-
8
- bluer_ai_log "@sbc.ROS: session @ $abcli_object_name started ..."
9
-
10
- bluer_objects_mlflow_tags_set \
11
- $abcli_object_name \
12
- session,ROS,host=$abcli_hostname,$BLUER_SBC_SESSION_OBJECT_TAGS
13
-
14
- bluer_ai_eval dryrun=$do_dryrun \
15
- python3 -m bluer_sbc.ROS \
16
- ${task}_session \
17
- "${@:3}"
18
- local status="$?"
19
-
20
- [[ "$do_upload" == 1 ]] &&
21
- bluer_objects_upload - $abcli_object_name
22
-
23
- bluer_ai_log "@sbc.ROS: session ended."
24
-
25
- return $status
26
- }
@@ -1,15 +0,0 @@
1
- #! /usr/bin/env bash
2
-
3
- function bluer_sbc_ROS() {
4
- local task=$1
5
-
6
- local function_name=bluer_sbc_ROS_$task
7
- if [[ $(type -t $function_name) == "function" ]]; then
8
- $function_name "${@:2}"
9
- return
10
- fi
11
-
12
- python3 -m bluer_sbc.ROS "$@"
13
- }
14
-
15
- bluer_ai_source_caller_suffix_path /ROS
@@ -1,26 +0,0 @@
1
- from typing import List
2
-
3
- from bluer_options.terminal import show_usage, xtra
4
-
5
-
6
- def help_session_start(
7
- tokens: List[str],
8
- mono: bool,
9
- ) -> str:
10
- options = xtra("dryrun,sudo,~upload", mono=mono)
11
-
12
- return show_usage(
13
- [
14
- "@sbc",
15
- "session",
16
- "start",
17
- f"[{options}]",
18
- ],
19
- "start an @sbc session.",
20
- mono=mono,
21
- )
22
-
23
-
24
- help_functions = {
25
- "start": help_session_start,
26
- }
@@ -1 +0,0 @@
1
- BLUER_SBC_SECRET=value
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes