even-realities / EvenDemoApp

BSD 2-Clause "Simplified" License
79 stars 11 forks source link

Send Vector Graphcs to G1 #3

Open atonalfreerider opened 3 weeks ago

atonalfreerider commented 3 weeks ago

In this file: https://github.com/even-realities/EvenDemoApp/blob/main/lib/services/evenai.dart

there is this function for sending text:

  // Send text data to the glasses,including status information
  int retryCount = 0;
  Future<bool> sendEvenAIReply(
      String text, int type, int status, int pos) async {

Is there an equivalent for sending vector graphics to the G1?

huanfang83 commented 3 weeks ago

No vector graphic support yet in G1, but it is possible to send bitmap image. The api for sending image will be released in the next build of firmware.

BluBloos commented 3 weeks ago

Will it be possible to update the bitmap at 20hz?

huanfang83 commented 2 weeks ago

The refresh rate mainly depends on the Bluetooth transmission bandwidth, and there is no frame rate limit on the hardware.