Commit Graph

2105 Commits

Author SHA1 Message Date
Riku Isokoski
3d75a7dc9f added motor pattern 2023-10-09 16:49:35 -04:00
tofasthacker
b5f500e96d fixed readme confict 2023-10-04 17:55:55 -04:00
tofasthacker
1fd2496ee2 Update README.md 2023-09-29 01:46:02 +00:00
tofasthacker
8a40eaa9c5 fixed calculator comments 2023-09-28 20:38:01 -04:00
tofasthacker
c87a297a2f moved backspace and changed around the math for exponent 2023-09-28 20:35:36 -04:00
15e525a5ba Update todo and fix docker command in enviroment_setup.md 2023-09-27 22:49:58 -04:00
65976a2b23 Added enviroment_setup.md 2023-09-27 22:29:08 -04:00
tofasthacker
86695db883 working exponent math 2023-09-27 21:27:44 -04:00
tofasthacker
c8de75ccd9 Updated Readme and adjusted quicksettings 2023-09-27 16:38:10 -04:00
tofasthacker
163eaf5ab4 Change gestures in Music app and added quick ring 2023-09-26 21:39:20 -04:00
tofasthacker
21e86c4220 laid down main frame work. Need to add app class 2023-09-24 22:17:11 -04:00
09f7306e31 update todo 2023-09-23 23:19:10 -04:00
a2da74d93a update todo 2023-09-23 23:01:54 -04:00
e3c7295729 Merge branch 'flashlight_on_default' 2023-09-23 22:58:57 -04:00
tofasthacker
990ad0c87e Merge branch 'working_calculator' 2023-09-23 23:04:13 -04:00
tofasthacker
c74ae787ae Update README.md 2023-09-24 02:52:48 +00:00
9258331e9c update TODO 2023-09-23 22:39:49 -04:00
62e89c1bd3 Update todo 2023-09-23 22:28:03 -04:00
1fbd00b43d Turn on flashlight on flashlight app launch 2023-09-23 22:25:36 -04:00
4449a48de7 Update todo 2023-09-23 22:15:44 -04:00
4e6b1c421f Fix todo formatting 2023-09-23 22:11:45 -04:00
c04bd3bd7d Added todo list 2023-09-23 22:09:00 -04:00
tofasthacker
cbabd8914c fixed colored $ in terminal watch face 2023-09-23 19:42:18 -04:00
tofasthacker
5fc831542f fixed terminal $ 2023-09-23 19:39:53 -04:00
tofasthacker
b0019da9dd renamed calculator class and added calculator and backspace icon 2023-09-23 19:03:16 -04:00
tofasthacker
3bb0ac29e2 Switched TestApp for calculator app 2023-09-23 14:17:56 -04:00
tofasthacker
329e42c5d4 added TestApp 2023-09-23 13:33:35 -04:00
tofasthacker
ecb91712fd Fix errors in documentation
Signed-off-by: tofasthacker <tofasthacker@noreply.localhost>
2023-09-22 13:02:40 +00:00
e334735697 Added swipe left to show music controls and a green $ to the prompt in terminal watch face 2023-09-20 16:12:14 -04:00
FintasticMan
3a7dfdba8e workflows: Fix InfiniSim CI build
InfiniSim has removed the libpng submodule and moved it to a system
dependency.
2023-09-18 15:26:09 +02:00
JF
0aead42fdf
navigation: Add is available (#1847)
Navigation app now needs 2 images to be loaded from the resources on the external filesystem. This PR adds an 'enabled' field to the Applications struct. This field is true for all applications expect for Navigation which calls Navigation::IsAvailable(). This methods returns true if the 2 files are available in the resources.

The application list disables the application (draws it in grey, disables the touch callback) if the enable flag is not set.
2023-09-02 19:43:39 +02:00
JF
44d1798f4f
navigation: Move font to external memory (#1838)
The TTF font used by the navigation app is ~20KB and is stored in internal flash memory.
To free this space, the TTF font is now converted in 2 "atlas pictures" (pictures that contain multiple concatenated images) stored in the external flash memory. The navigation app now accesses one of those 2 files and apply an offset to display the desired picture.

The corresponding documentation has also been updated.

Add comments about the layout of the pictures that contain the icon and about the indexing of those icons.

In documentation (buildAndProgram.md), edit the section about the debug compilation mode. Remove the part about removing the Navigation app to free some memory (since it's not relevant anymore) and explain how to selectively build parts of the firmware in Debug mode.
2023-09-02 19:41:51 +02:00
FintasticMan
0f9f606b78
lowersleep: Implement Lower to Sleep functionality (#827) 2023-08-27 18:15:21 +02:00
Finlay Davidson
2b1eae7f59 raisewake: Improve raise to wake algorithm
This new algorithm calculates the number of degrees that the wrist has
rolled, and checks if that is above a threshold.

First it checks if the wrist is still enough for the acceleration values
to be considered mostly from gravity. It does this by calculating the
mean over the past 2 SystemTask loops, and checking that the variance
from that mean is below a threshold.
Then it calculates the angle the wrist is being held at, and calculates
the difference from the angle some time ago. If this difference is above
the threshold, it wakes the watch.
2023-08-17 21:21:22 +02:00
Finlay Davidson
cfe21103ea motioncontroller: Add functions for analysis
These are functions for converting acceleration due to gravity to angles
in degrees, and some statistical analysis including the mean and
variance.
2023-08-17 21:21:22 +02:00
Finlay Davidson
3085bb3990 motioncontroller: Store acceleration history
Store history of acceleration values for the y and z axes.
2023-08-17 21:21:22 +02:00
Finlay Davidson
47ca403857 shakewake: Slightly improve accuracy
The accumulated speed was calculated by dividing first and multiplying
after, which results in more rounding errors than if you multiply first
and then divide. The values aren't big enough to overflow.
2023-08-17 21:21:22 +02:00
Finlay Davidson
6d5847e046 circularbuffer: Add circular buffer utility struct 2023-08-17 21:21:22 +02:00
SteveAmor
cf782bb615 check closed issues 2023-08-17 19:40:32 +02:00
SteveAmor
9196c18d37 check closed bugs 2023-08-17 19:37:20 +02:00
Max Friedrich
6d0d8c7d63
watchfaceanalog: Background in lvgl (#1824)
* change background image to widgets

This commit removes the background image for the WatchFaceAnalog and replaces it with lvgl widgets. It aims to keep the original look.

* remove comments and background image

---------

Co-authored-by: minacode <minamoto9@web.de>
2023-08-15 13:01:17 +02:00
TailyFair
782ef7902f Include repository initialization in docker build docs 2023-08-11 21:08:26 +02:00
Max Friedrich
39d5b5c3a2
NotificationManager.h: Reorder notification struct fields to allow easier creation. (#1774)
This commit changes the order for the notification struct fields to allow the creation of notifications using a string literal.
```cpp
NotificationManager::Notifiation notification {
  "String literal with notification text",
  42,
  NotificationManager::Categories::SimpleAlert
};
```

Co-authored-by: minacode <minamoto9@web.de>
2023-07-09 14:39:38 +02:00
Jean-François Milants
5f3acfadd2 Set version to 1.13.0 2023-06-24 16:00:10 +02:00
Finlay Davidson
505520d83b arduinofft: Move to submodule, define srqt_internal externally 2023-06-17 17:46:48 +02:00
Timothy
473a0795d6 Fix Typo
label_battery_vallue > label_battery_value
2023-06-17 17:44:28 +02:00
Isaac
9e128c838e
ShakeWake: Fixed instant wake after sleep issue in certain positions (#1691)
* ShakeWake: Fixed instant wake after sleep issue in certain positions

Add lastX var to track the previous x acceleration for correct calculation of speed.

Reorder axes for clarity.

---------

Co-authored-by: Isaac <114504394+isaacc27@users.noreply.github.com>
Co-authored-by: FintasticMan <52415484+FintasticMan@users.noreply.github.com>
2023-06-17 17:37:53 +02:00
Reinhold Gschweicher
f057894d26 Allow mcuboot tool to use cbor2 additional to cbor
The mcuboot imgtool uses the python module `cbor`.

An equivalent and updated package `cbor2` requires Python 3.7 or newer.

The arch packages provide a package `python-cbor2`, but no package for
`cbor`.

This patch makes it possible to use the system package by adding
support for the `cbor2` package additionally to the `cbor` package.
2023-06-04 19:46:37 +02:00
Jean-François Milants
8fee341b86 ST7789 : do not reconfigure the reset pin to default during sleep. 2023-06-04 17:22:27 +02:00
Jean-François Milants
c9747462f7 Power optimization - Improve SPI sleep mode
Fix RecoveryLoader.
2023-06-04 17:22:27 +02:00