From 0dfca8d66a368ec7825963bc8b7d10080036f6b3 Mon Sep 17 00:00:00 2001 From: aakash-s45 Date: Fri, 16 Sep 2022 18:39:39 +0530 Subject: [PATCH] Add steps to enable navigation To enable navigation, OPENROUTE_API_KEY variable need to be set in local.conf Bug-AGL: SPEC-4543 Change-Id: I4acab227e2bbb58b25891dced4eab4fcc3be66f1 Signed-off-by: aakash-s45 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/28000 Reviewed-by: Jan-Simon Moeller Tested-by: Jan-Simon Moeller --- .../2_Flutter_Instrument_Cluster_(qemu-x86).md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/0_Getting_Started/3_Build_and_Boot_guide_Profile/2_Flutter_Instrument_Cluster_(qemu-x86).md b/docs/0_Getting_Started/3_Build_and_Boot_guide_Profile/2_Flutter_Instrument_Cluster_(qemu-x86).md index 1ce8bcf..47bb4c0 100644 --- a/docs/0_Getting_Started/3_Build_and_Boot_guide_Profile/2_Flutter_Instrument_Cluster_(qemu-x86).md +++ b/docs/0_Getting_Started/3_Build_and_Boot_guide_Profile/2_Flutter_Instrument_Cluster_(qemu-x86).md @@ -50,10 +50,18 @@ $ source master/meta-agl/scripts/aglsetup.sh -b build-flutter-cluster -m qemux86 - Running this script, will create a build directory if it does not exist. Default build directory: `$AGL_TOP/master/build-flutter-cluster` - Default target paltform: `qemux86-64` +** NOTE: Set the API key in local.conf ** + +- By default navigation will not work, you need to set your openrouteservie API key to the variable `OPENROUTE_API_KEY` in your local.conf +- It is present at `$AGL_TOP/master/build-flutter-cluster/conf/local.conf` + +- Example: Just add `OPENROUTE_API_KEY = "your_openrouteservice_api_key"` to the end of local.conf + + ## 5. Using BitBake ```bash -$ cd $AGL_TOP/build-flutter-cluster +$ cd $AGL_TOP/master/build-flutter-cluster $ source agl-init-build-env $ bitbake agl-cluster-demo-platform-flutter ``` @@ -62,7 +70,7 @@ $ bitbake agl-cluster-demo-platform-flutter Boot the image using QEMU ```bash -$ cd $AGL_TOP/build-flutter-cluster +$ cd $AGL_TOP/master/build-flutter-cluster $ source agl-init-build-env $ runqemu kvm serialstdio slirp publicvnc ``` -- 2.16.6