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
Stephan Wendel
952dac98a1
chore: add note to crowsnest.conf
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-04-13 20:26:32 +02:00
Stephan Wendel
3a1a9294ad
chore: allow backend names as mode
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-04-13 20:18:49 +02:00
Stephan Wendel
0c49dc796f
fix: fix startup error on ubuntu arm
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-04-13 20:06:56 +02:00
Stephan Wendel
48ab81a437
fix: disable debug output in make config
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-04-13 15:34:21 +02:00
Stephan Wendel
4444ea58fd
refactor: refactor install chain
...
Includes:
* refactor of install.sh, splitting it to libs
* fix of custompios module according to install changes
* added test script to verify install
* refactor of `make config` script
Signed-off-by: Stephan Wendel <me@stephanwe.de >
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-04-10 15:11:19 +02:00
Stephan Wendel
1df3f4377a
docs: removed TODO.md
...
Using git projects for todos instead of file
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-04-02 12:11:56 +02:00
Stephan Wendel
f065b2952f
chore: update TODO.md
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-04-02 11:17:26 +02:00
Stephan Wendel
9d6c46e2f8
chore: update TODO.md
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-04-02 11:14:04 +02:00
Stephan Wendel
42cd77dc96
chore: update TODO.md
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-04-02 10:57:17 +02:00
Stephan Wendel
f45897447f
chore: add TODO.md
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-04-02 10:54:45 +02:00
Stephan Wendel
4c4e232ee5
docs: change test formation
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-03-12 12:31:08 +01:00
Stephan Wendel
f8c78c570c
docs: add camera-streamer to README.md
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-03-12 12:28:59 +01:00
Stephan Wendel
f6b841e92f
docs: update Readme.md
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-03-11 20:00:27 +01:00
Stephan Wendel
95c1dca13f
feat!: adds camera-streamer to crowsnest
...
This introduces camera-streamer as streamer option
via `mode: multi`
camera-streamer is a feature packed stream service.
It is capable to deliver mjpg/snapshots/webrtc and rtsp
Limited to raspberry pi sbc's for now.
This should also resolv
Feature request #51
Feature request #37
Fixes #83
Closes #85
Fixes #89
BREAKING CHANGES:
Dropping support for Debian Buster based images and kernels older than
5.15y
Dropping RTSP support due aler9/simple-rtsp-server
Dropping usage of ffmpeg
No support anymore for Raspicam V1 (EOL)
Signed-off-by: Stephan Wendel <me@stephanwe.de >
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-03-11 18:57:19 +01:00
Stephan Wendel
20ed6a8b58
chore: add error message if v4l2-ctl errors out
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-02-24 17:47:58 +01:00
Stephan Wendel
a5a36e5c3d
fix: fix add_update_entry condition
...
Signed-off-by: Stephan Wendel <me@stephanwe.de >
2023-02-19 16:32:17 +01:00