Skip to content
This repository was archived by the owner on Mar 13, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions docs/getting-started/troubleshooting.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -180,31 +180,3 @@ Here you see "intel-minnow" but common values are:

More HAL can be found on Gerrit (search projects named as 4a-hal*)

## Installing the Map for the Navigation Application

While the Navigation App is installed with all other demo Apps at first boot, the Maps required to be installed manually.

### a) Method 1 on target download

1. Install the new image on the target
2. boot a first time to install the demo Apps
3. via ssh or serial connection, execute the script
* /usr/AGL/apps/download_mapdata_uk.sh\
or
* /usr/AGL/apps/download_mapdata_jp.sh

### b) At image creation

Download on your build machine the desired maps and uncompress them on your target image before 1st boot.
This method is quicker and does not require to have the network enabled on the target device.
Map can be found here.

* <http://agl.wismobi.com/data/japan_TR9/navi_data.tar.gz>
* <http://agl.wismobi.com/data/UnitedKingdom_TR9/navi_data_UK.tar.gz>

Once that you have built your image on the SD card, uncompress the desired map in on the SD card at the position /YourMountPoint/var/mapdata\
(YourMountPoint will vary with your build system).

You can also use the script from the image to install the Mapdata on your SD card but there is little adavange in using that method. e.g.

* download_mapdata_jp.sh /YourMountPoint
66 changes: 66 additions & 0 deletions docs/ref-app/ref-apps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# How to use the AGL reference application

---
## Navigation

**Navigation app uses mapbox as a provider of map. You need to create an account on mapbox and get own access token.**

Signup page :

https://www.mapbox.com/signup/


### How to set the access token

**There are two ways to set the access token.**

#### Set in build time

Add your access token to localconf before building AGL.

```
MAPBOX_ACCESS_TOKEN = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
```


#### Set in run time

When you did not configure localconf before building AGL, /etc/naviconfig.ini in target rootfs is as follows.

```
{
"mapAccessToken":"Please set mapbox access token",
"speed":60,
"interval":100,
"latitude":36.1363,
"longitute":-115.151,
"mapStyleUrls":"mapbox://styles/mapbox/dark-v9"
}
```

Please set your access token to mapAccessToken.

### How to use navigation

Connect wifi or ether before launching navigation from homescreen.




---

## POI app

**POI app uses yelp as a provider of poi. You need to create an developer account on yelp and get own appID.**

yelp developer page :

https://www.yelp.com/developers

TBD.


---