simple_frame_app 3.0.0 simple_frame_app: ^3.0.0 copied to clipboard
Flutter and Lua quickstart app scaffolding and standard library functions for Brilliant Frame development on Android/iOS
3.0.0 #
- Changed RxPhoto to rotate back to upright by default. Specify
upright: false
in the constructor to save a few cycles if you don't need it
2.0.3 #
- Changed default invalid plain_text color VOID/0, changed to WHITE/1
2.0.2 #
- Removed unusable quality 100 from camera settings drawer
2.0.1 #
- Changed camera_capture_and_send() to remove all delays between sends on Frameside, just retry on bluetooth send failure. Overall performance improvement, but retry counts of 10, 50, 100+ occur with some packets suggesting further improvement is possible.
2.0.0 #
- Renamed printInstructions(), tapHandler() to standardized names of onRun(), onTap(), and added onCancel() abstract function to allow implementing app class to perform app-specific initialization and cleanup
1.8.0 #
- Added
frame_vision_app
mixin as a specialized form of simple_frame_app for computer vision applications. Separate templates are now provided intemplates/
forsimple_frame_app
andframe_vision_app
apps. Frame Vision Apps automatically listen for taps which can be used to capture photos, and provide a hook for a vision processing pipeline when photos are captured. Auto and Manual exposure camera settings are supported and a settings drawer widget is provided.
1.7.0 #
- Fixed scan/connect/reconnect code to be able to be called synchronously, and properly
await
ed. - Added helper startup method to try scanning, connecting, starting Frame app and optionally running phoneside
run()
method, suitable for use in some apps frominitState()
1.6.1 #
- Fixed bitmask bug causing analog_gain_limit and manual_analog_gain to be incorrectly parsed in Lua
1.6.0 #
- Added rudimentary support for TxSprite.fromImageBytes() to load arbitrary PNG or JPG files for display on Frame (previously limited to indexed PNG files of 2, 4, or 16 colors only)
1.5.1 #
- Corrected 'GRAY' to 'GRAY' for plain_text display to match firmware
1.5.0 #
- Added simple moving average smoothing option for IMU data
1.4.1 #
- Tweaked Lua source file for image_sprite_block to prevent a bug introduced by the minifier stripping out necessary parentheses
1.4.0 #
- Added RxIMU parser and corresponding frameside sender for streaming magnetometer (compass) and accelerometer data from Frame
1.3.0 #
- Added TxImageSpriteBlock for splitting an image into lines of TxSprite, allowing for progressive/incremental rendering. Also supports in-place updates of sprite lines for continuously updating images.
1.2.0 #
- Updated TxCameraSettings and camera.lua to support both autoexposure and manual exposure/gain photos
1.1.1 #
- removed extra logging statements in
text_sprite_block.lua
1.1.0 #
- implemented
TxTextSpriteBlock
more fully to support multi-line text, including scrolling frameside when the number of lines sent exceeds maxDisplayRows. The call torasterize()
has been updated to require providing indices for lines to rasterize.
1.0.1 #
- fixed
TextUtils
to changewrapTextSplit
towrapText
, i.e.wrapText
now returnsList<String>
, sojoin('\n')
the result if a single string is required
1.0.0 #
- removed deprecated
*DataResponse
functions, useRx
classes instead (RxAudio
,RxPhoto
,RxTap
)
0.1.0 #
- Added
Rx
classes in place ofimageDataResponse
,audioDataResponse
,tapDataResponse
. - Deprecated
TextUtils.wrapText(Split)
, going forward use thewrapText
that returns a List of Strings and join them if you need the single String
0.0.9 #
- Added
audioDataStreamResponse
support for real-time streaming of Frame audio data - Added
tapDataReponse
as a multi-tap-detection subscription from Frame - Added
wrapTextSplit
and deprecatedwrapText
inTextUtils
, returning aList<String>
instead of aString
so the caller to quickly select the first, last or a sliding window of Strings to enable scrolling. If a newline-joined single String is desired, it can quickly be assembled with ajoin()
- Performance: modified logging calls with expensive string interpolations to use a closure so they are not evaluated if not logged at the current logging level
0.0.8 #
- Added initial
audioDataResponse
support for Frame audio data as whole audio clips
0.0.7 #
- Updated camera code (lua and dart) with camera parameters from recent firmware updates - exposure_speed, analog_gain_limit, white_balance_speed etc.
0.0.6 #
- Added
TxTextSpriteBlock
message type to send a paragraph of text for display on Frame. Supports Unicode (including right-to-left) script. Rasterization is performed phoneside and text is sent as a series of TxSprites - Renamed
tx/text.dart
andlua/text.lua
toplain_text
to match class names - no interface change, just update imports/assets
0.0.1 #
- Early prototypes