Git Product home page Git Product logo

ic's Introduction

Instrument Cluster Demo App

Instrument Cluster for AGL flutter build

#Screenshot

Active Indicatos Screenshot Map Screenshot

To run this app, we need Flutter SDK, KUKSA server, free account at openrouteservice.org for the API key and config.YAML file

#Steps to run the app

  • Run KUSKA.VAL server. For more details, checkout this

  • Install the kuksa_viss_client. Follow this

  • Connect to server, authorize then updateVSSTree using steering_switch_signal.json

  • Create a config.YAML file. Reference: cluster_config.yaml

  • Create a file for API key. Reference: openrouteservice

  • Update the path of both files in the source code. Here

  • Go to the project directory

  • First run flutter create .

  • Then to run the app flutter run

Note: Set the appropriate permission in the platform specific file for network and file system access

ic's People

Contributors

aakash-s45 avatar

Stargazers

 avatar  avatar Eric Yanush avatar Tasuku Suzuki avatar Mupceet avatar Fan Zhou avatar Ecosperity Admin avatar никита avatar Suchinton avatar  avatar

Watchers

Tasuku Suzuki avatar  avatar

ic's Issues

Error building IC

Hi @aakash-s45 ,

Today i thought i'd take chance and see if i can build and run IC master branch on Ubuntu 20.04.5 using both linux and chrome .
the build failed as follows and i have a couple of questions

  1. is this just something simple I'm missing or wrong branch or does IC require build and run on AGL?
  2. If requires AGL have or will you document IC AGL install and build steps?
  3. Will you continue IC development after GSoc completion or are you done when GSoc completes?
  4. Can you request https://github.com/meta-flutter/meta-flutter/issues to include IC, that way i think I should be able to run it without AGL

please advise
Best regards

/ **************** Linux****************/

parallels > flutter run
Multiple devices found:
Linux (desktop) • linux • linux-x64 • Ubuntu 20.04.5 LTS 5.15.0-46-generic
Chrome (web) • chrome • web-javascript • Google Chrome 105.0.5195.125
[1]: Linux (linux)
[2]: Chrome (chrome)
Please choose one (To quit, press "q/Q"): 1
Launching lib/main.dart on Linux in debug mode...
Building Linux application...

** (ic:9849): CRITICAL **: 15:48:50.580: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

** (ic:9849): CRITICAL **: 15:48:50.587: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
Syncing files to device Linux... 87ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on Linux is available at: http://127.0.0.1:33505/1EoN3OJoCoQ=/
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: FileSystemException: Cannot open file, path = '/etc/default/openroutekey' (OS Error: No such file or directory, errno = 2)
#0 _File.open. (dart:io/file_impl.dart:356:9)

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: FileSystemException: Cannot open file, path = '/etc/xdg/AGL/flutter-cluster-dashboard.yaml' (OS Error: No such file or directory, errno = 2)
#0 _File.open. (dart:io/file_impl.dart:356:9)

The Flutter DevTools debugger and profiler on Linux is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:33505/1EoN3OJoCoQ=/
Lost connection to device.

(ic:9849): GLib-GObject-WARNING **: 15:49:34.660: ../../../gobject/gsignal.c:2736: instance '0x2121c00' has no handler with id '254'

/ **************** Web ****************/

parallels > flutter run
Multiple devices found:
Linux (desktop) • linux • linux-x64 • Ubuntu 20.04.5 LTS 5.15.0-46-generic
Chrome (web) • chrome • web-javascript • Google Chrome 105.0.5195.125
[1]: Linux (linux)
[2]: Chrome (chrome)
Please choose one (To quit, press "q/Q"): 2
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome... 19.3s
This app is linked to the debug service: ws://127.0.0.1:44361/ErYRuY5xBkQ=/ws
Debug service listening on ws://127.0.0.1:44361/ErYRuY5xBkQ=/ws

💪 Running with sound null safety 💪

🔥 To hot restart changes while running, press "r" or "R".
For a more detailed help message, press "h". To quit, press "q".

An Observatory debugger and profiler on Chrome is available at: http://127.0.0.1:44361/ErYRuY5xBkQ=
Flutter Web Bootstrap: Programmatic
The Flutter DevTools debugger and profiler on Chrome is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:44361/ErYRuY5xBkQ=
Error: Unsupported operation: default SecurityContext getter
dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49 throw
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 579:5 get defaultContext
packages/flutter_cluster_dashboard/vehicle_signal/vehicle_signal_config.dart 17:41 initializeClient
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50
dart-sdk/lib/async/zone.dart 1653:54 runUnary
dart-sdk/lib/async/future_impl.dart 147:18 handleValue
dart-sdk/lib/async/future_impl.dart 766:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 795:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 566:5 [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 639:7 callback
dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 166:15
Flutter Web Bootstrap: Programmatic

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.