Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents

...

Table of Contents
minLevel1
maxLevel4

Introduction

...

This explanation assumes that the i-PRO camera application development environment has been completed.
If you are not ready to build the development environment, please refer to here to complete it.

Also, in this tutorial, the SDK installation directory is described as ${SDK_DIR}.

Operation overview

...

freestyle_app_with_keepalive and keepalive_sample_app are is a sample application that creates a subthread with life and death monitoring from the main thread.

External libraries required for operation

...

No special mention.

Directory path of the sample app

...

The C/C++ source code is stored below.

${SDK_DIR}/src/adamapp/freestyle_app_with_keepalive

The No Python source code is stored below.

...

How to build the sample app (C/C++)

...

Load the build environment settings file in the SDK installation directory.

...

...

Info

Set the build environment according to each environment.
Here, specify ipro-ambaCV2X.

make.

Code Block
$ cd src/adamapp/freestyle_app_with_keepalive
$ make

It is successful if the .ext file is created in ${SDK_DIR}/src/adamapp/freestyle_app_with_keepalive.

 

Install it on the camera (eg, you can install from the green frame in the image below). Select the created .ext file and install it.
Open the app screen (red frame button in the image below).

...

 

It is successful if a character string like the image below is displayed.

...

...

This article describes how to build it as AdamApp.
If you want to build it as Container AdamApp for Azure IoT Edge, see below.

Development tutorial (Container AdamApp for Azure IoT Edge) - Technology Partner FAQ (En) - Confluence (atlassian.net)

Load the build environment settings file in the SDK installation directory.

...

Info

Set the build environment according to each environment.
Here, specify ipro-ambaCV2X.

...

make.

Code Block
$ cd src/adamapp-py/keepalivefreestyle_app_samplewith_appkeepalive
$ make

It is successful if the .ext file is created in ${SDK_DIR}/src/adamapp-py/keepalivefreestyle_app_samplewith_appkeepalive.

 

Install it on the camera (eg, you can install from the green frame in the image below). Select the created .ext file and install it.
Open the app screen (red frame button in the image below).

...

It is successful if a character string like the image below is displayed.

...

How to use the sample app(C/C++)

...

A debug log is output that notifies KeepAlive for life-and-death monitoring.

...

How to use the sample app(Python)

Check the Python debug log to make sure it's alive and well. Press the red frame button below to get syslog.tgz.

...

Unzip syslog.tgz, then unzip mnt/log/pflog.tgz.
Debug logs are output to pf_<install ID>_<processId>.log in log/adam. You can check the debug log that notified KeepAlive for life and death monitoring.

...

The log can be obtained from:

...

Please check \mnt\log\log\adam\pf_app(indefinite number).log