254 Commits

Author SHA1 Message Date
Stephan Wendel
61421f5148
fix: fixes error in detect_legacy (#217)
This will fix issue on Raspberry Pi5, which doesnt generate cam list,
because 'vcgencmd get_camera' exits with an error.

If all conditions fail it will always return '0'

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-12-14 23:54:46 +01:00
Patrick Gehrsitz
43a1ee3bc0
fix(build.sh): fix wrong cs branch for cloning (#215)
Signed-off-by: Patrick Gehrsitz <mryel00.github@gmail.com>
2023-11-28 22:21:05 +01:00
Stefan Dej
5efc8c4757
[Automated] Merged master into target develop 2023-11-23 23:25:26 +01:00
mryel00
f7ac6aa298 docs(changelog): update changelog 2023-11-23 22:25:24 +00:00
Stefan Dej
80603788bc
[Automated] Merged develop into target master 2023-11-23 23:24:49 +01:00
Patrick Gehrsitz
ccf93e3893
chore: update copyright (#214)
Signed-off-by: Patrick Gehrsitz <mryel00.github@gmail.com>
2023-11-23 22:20:05 +01:00
Patrick Gehrsitz
ac86287ed1
docs: update supported devices (#213)
Signed-off-by: Patrick Gehrsitz <mryel00.github@gmail.com>
2023-11-22 23:36:29 +01:00
Patrick Gehrsitz
44e2d07a4f
chore: add check to disable webcamd (#211)
Signed-off-by: Patrick Gehrsitz <mryel00.github@gmail.com>
2023-11-22 20:53:49 +01:00
Patrick Gehrsitz
b38c959bae
chore: add streamer repos update to make update (#210)
Signed-off-by: Patrick Gehrsitz <mryel00.github@gmail.com>
2023-11-22 20:52:14 +01:00
Patrick Gehrsitz
178b8ad24f
chore: fix env file check (#212)
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
2023-11-22 20:51:20 +01:00
Stefan Dej
1a0af83c8b
[Automated] Merged master into target develop 2023-11-15 14:48:59 +01:00
mryel00
380c177620 docs(changelog): update changelog 2023-11-15 13:48:58 +00:00
Stefan Dej
a3fc4626ad
[Automated] Merged develop into target master 2023-11-15 14:48:22 +01:00
Patrick Gehrsitz
e7d85dc2e6
fix: revert #197 (#207) 2023-11-13 22:32:23 +01:00
Patrick Gehrsitz
cdb94da1a3
chore: add make argument to fix WorkingDirectory (#205) 2023-11-13 21:23:18 +01:00
Patrick Gehrsitz
5a67110c0f
chore: add better dietpi support to installer (#204) 2023-11-13 21:21:33 +01:00
Patrick Gehrsitz
2d53cc4922
chore: add startup workaround for SpeederPad (#203) 2023-11-13 21:20:59 +01:00
Patrick Gehrsitz
549f7d455a
chore: refactor camera-streamer build conditions (#201) 2023-11-09 21:53:26 +01:00
Stefan Dej
2bdc30b54c
[Automated] Merged master into target develop 2023-11-03 12:26:52 +01:00
mryel00
4050a3bcf8 docs(changelog): update changelog 2023-11-03 11:26:51 +00:00
Stefan Dej
259738da35
[Automated] Merged develop into target master 2023-11-03 12:26:18 +01:00
Patrick Gehrsitz
da53681305
chore: add shellcheck run for PRs to develop (#198) 2023-11-03 12:21:53 +01:00
Patrick Gehrsitz
293768fdca
fix(camera-streamer.sh): force camera to be always active (#197)
Potentially fixes #139
2023-11-03 12:06:44 +01:00
Patrick Gehrsitz
e69e21a096 chore: add release workflow (#194)
* chore: add release workflow

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* chore: fix GITHUB_TOKEN permissions

* chore: fix broken commit links

* chore: add post- and preprocessing for release workflow

* chore: update cliff action version

* chore: fix syntax error

* chore: fix PR url

* chore: bump to actions/checkout v4

---------

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
2023-11-02 23:03:32 +01:00
Patrick Gehrsitz
5c040f24c1
fix: add bookworm support (#195) 2023-11-01 22:43:17 +01:00
Patrick Gehrsitz
b85de7b0ab
chore: add release workflow (#194)
* chore: add release workflow

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* chore: fix GITHUB_TOKEN permissions

* chore: fix broken commit links

* chore: add post- and preprocessing for release workflow

* chore: update cliff action version

* chore: fix syntax error

* chore: fix PR url

* chore: bump to actions/checkout v4

---------

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
2023-10-31 12:06:51 +01:00
Patrick Gehrsitz
ae2bc21404
fix: fix wrong messages (#183)
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
2023-09-17 12:06:45 +02:00
Stefan Dej
767c53aaf0 Merge branch 'upstream-develop' into upstream-master 2023-09-13 20:13:32 +02:00
Stefan Dej
454a5fff57 Merge remote-tracking branch 'origin/develop' into develop 2023-09-13 19:11:35 +02:00
Stephan Wendel
3e847d102e
Merge develop branch (#178)
* fix: fix wrong gpumem calculation (#176)

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* fix: fix wrong syntax in gpumem (#177)

Fix syntax error made in #176
Fixes #175

---------

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
Co-authored-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
2023-09-12 20:49:04 +02:00
Patrick Gehrsitz
dacc0d9d3a
fix: fix wrong syntax in gpumem (#177)
Fix syntax error made in #176
Fixes #175
2023-09-12 20:23:19 +02:00
Patrick Gehrsitz
e9f36c9c26
fix: fix wrong gpumem calculation (#176)
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
2023-09-12 19:59:44 +02:00
Patrick Gehrsitz
c9bc30414e
fix(hwhandler.sh): fix error in device logging (#169) (#170)
* fix(hwhandler.sh): fix error in device logging

If device is a Raspberry Pi and does not have libcamera-hello, it does not log devices

Error occurs in Line 93 of logging.sh



* fix: remove unnecessary double function calls



---------

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
2023-09-01 21:07:09 +02:00
Patrick Gehrsitz
5333a62498 fix(hwhandler.sh): fix error in device logging (#169)
* fix(hwhandler.sh): fix error in device logging

If device is a Raspberry Pi and does not have libcamera-hello, it does not log devices

Error occurs in Line 93 of logging.sh

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* fix: remove unnecessary double funtion calls

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

---------

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
2023-08-30 19:39:59 +02:00
Stephan Wendel
f6e2156ab3
Merge develop branch (#163)
* Fix makefile flags on low memory devices (#124)

* Fix `makefile` flags on low memory devices

On devices with less than 512MB existing devices will use `-j2` due to wrong condition.

* docs: Update index with correct heading and link to backends (#131)

This is a follow-up to #108 and fixes heading and hyperlink to the list of backends

* Typo in `core.sh` (#138)

* Fix makefile flags on low memory devices (#124) (#125)

* Fix `makefile` flags on low memory devices

On devices with less than 512MB existing devices will use `-j2` due to wrong condition.

Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>

* Typo in `core.sh`

'Dependencys' --> dependencies

---------

Co-authored-by: Stephan Wendel <43513802+KwadFan@users.noreply.github.com>
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>

* Fix makefile flags on low memory devices (#124) (#125) (#144)

* Fix `makefile` flags on low memory devices

On devices with less than 512MB existing devices will use `-j2` due to wrong condition.

Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>

* docs(messages.sh): fix typos, improve spelling (#145)

* feat: add legacy cam support (#146)

* feat: add legacy cam support

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* feat: add blockyfix

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* fix: add ustreamer legacy cam workaround

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

---------

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* Fix makefile flags on low memory devices (#124) (#125) (#147)

* Fix `makefile` flags on low memory devices

On devices with less than 512MB existing devices will use `-j2` due to wrong condition.

Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>

* fix: fix make config empty path (#148)

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* fix: fix default_path_msg function name (#149)

* fix: fix default_path_msg function name

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* fix: fix message

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

---------

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* fix: fix libcamera-apps-lite not getting updated (#160)

libcamera-apps-lite is needed for libcamera-hello.
Crowsnest uses libcamera-hello to detected raspicams

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* fix: fix Shellcheck test error (#153)

* fix: fix Shellcheck test error

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* style: remove empty condition

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

---------

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

* fix: fix CustomPiOS docker build error (#158)

This should skip any check of `SUDO_USER`

Tested with Win & Linux host with Docker 

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>

---------

Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
Co-authored-by: DeviousFusion <dj3tusk@gmail.com>
Co-authored-by: Sergei <67871383+slepiavka@users.noreply.github.com>
Co-authored-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
2023-08-11 18:04:33 +02:00
Stephan Wendel
8b54eae98d
Fix makefile flags on low memory devices (#124) (#125)
* Fix `makefile` flags on low memory devices

On devices with less than 512MB existing devices will use `-j2` due to wrong condition.

Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
2023-06-02 21:08:39 +02:00
Stephan Wendel
09f4cb1ed2
docs(readme): refactor readme.md
Moves more parts to official docs

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-05-28 13:10:32 +02:00
Stephan Wendel
b0c011b4ef
fix(hwhandler.sh): fix error in device logging
If device is not on a Raspberry Pi, it does not log devices

Error occurs in Line 93 of logging.sh

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-05-23 13:21:32 +02:00
Stephan Wendel
308109323a
fix: fix error in ustreamer.sh
Obviously start_param is missing device, this leads to not starting ustreamer

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-05-23 04:45:15 +02:00
John Northrup
4f69c9476f
docs: fix clarity of backend packages (#108)
Make it clear that crowsnest uses these two packages instead of how it was written, implying that the packages used crowsnest.
2023-05-05 07:10:34 +02:00
Stephan Wendel
0c524b725d
fix: fix func detect_libcamera
If libcamera of arducam is used, we need to get rid of its output,
compared to raspi foundations libcamera output

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-05-02 18:51:40 +02:00
Stephan Wendel
a07e42a1ac
fix: fix error exit on failure
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-04-18 20:06:57 +02:00
Stephan Wendel
4124e65ec4
feat(logging): extend error trace in logging
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-04-18 19:22:42 +02:00
Stephan Wendel
42ce0ba297
fix: fix error not exiting script on error
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-04-18 19:22:42 +02:00
Stephan Wendel
e3bd2e2e57
fix: fix error causing cam list to fail
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-04-17 18:45:44 +02:00
Stephan Wendel
2bbe265e83
feat(install): set gpu_mem on rpi devices
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-04-16 13:29:45 +02:00
Stephan Wendel
2a4fbd9c77
fix: fix raspicam detection
if `start_x=1` is not set,
it messes up output of `vcgencmd get_camera`.

Which leads to not detected libcamera csi cams,
even if they are detected correctly

Therefor using libcamera-hello to determine if available

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-04-15 14:39:43 +02:00
Stephan Wendel
6c1aec18b4
refactor: refactor hwhandler.sh
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-04-15 13:55:22 +02:00
Stephan Wendel
f8ce308fa5
refactor: remove unnecessary ffmpeg version check
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-04-15 10:48:04 +02:00
Stephan Wendel
745631aed0
chore: update conf and readme to new params
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2023-04-13 20:41:27 +02:00