Difference between revisions of "AXIOM Remote Plus"

From apertus wiki
Jump to: navigation, search
m
 
(13 intermediate revisions by 3 users not shown)
Line 2: Line 2:


Documentation: https://github.com/Plus24Systems/Documentation
Documentation: https://github.com/Plus24Systems/Documentation
==RemotePlus Overview==
This application, and when released the associated hardware, is designed to be a comprehensive remote control unit for the AXIOM range of cameras - currently this is targeted at the Beta model.
The remote control software is made up of two separate components – the RemotePlus application which is designed to run on a purpose-designed, Linux (Raspberry Pi based) embedded [https://wiki.apertus.org/index.php/AXIOM_Remote AXIOM Remote] hardware controller, but is also runnable on a Linux desktop/laptop for the purposes of development.
To control the AXIOM camera a RemoteServer application is also required. Connectivity is over the USB UART interface between the AXIOM camera and the host – be it the hardware remote or a Linux desktop/laptop.
As with all software & hardware that is pre-production the information contained on this page is subject to changes.
==Prerequasites==
The current desktop/laptop development environment is a 64bit Linux desktop (Ubuntu used for development) and utilities the following frameworks:
wxWidgets (>=v.3.1)
wiringPi (>=v2.32)
Some Linux dists may not have the 3.1 version of wxWidgets, if this is the case then you must download this from the wxWidgets site [https://www.wxwidgets.org/downloads/ here]
For building on the hardware device the same framework requirements must be met – at this time there are no instructions for building a cross-compiler tool-chain, but this will be looked into in the near future.
All of the dependencies need to be met for the above and details can be found on their respective websites. Additionally the git toolchain is recommended.
While wiringPi is a requirement for building the application for use with the hardware interface, it’s not a requirement for desktop/laptop use as it will not be possible to use the GPIO subsystem on a regular machine. The use of wiringPi is set as a #define flag, detailed in the Developer Notes section of the RemotePlus user manaual.
==AXIOM Beta preparations==
fiddling with devicetree is not required anymore
in /boot/uEnv.txt replace 
console=ttyPS0,115200n8
with
console=dummy
Then on the Beta disable the service:
systemctl disable serial-getty@ttyPS0.service
and reboot the camera (be sure you did all the things to ensure access to the camera (fallbackIP, etc.) as described in the PDF before.


==RemoteServer==  
==RemoteServer==  
Line 9: Line 52:
===Installation Notes===
===Installation Notes===
* acquire source code from github to AXIOM Beta
* acquire source code from github to AXIOM Beta
* compile in camera
* compile in camera:
gcc RemoteServer.c -o RemoteServer -lpthread
 


==RemotePlus GUI==
==RemotePlus GUI==


Source Code: https://github.com/Plus24Systems/RemotePlus
Source Code: https://github.com/Plus24Systems/RemotePlus


===Installation Notes===
===Installation Notes===
Line 21: Line 67:
Required packages for compiling from source:
Required packages for compiling from source:


  sudo apt-get install build-essential
  sudo apt-get install build-essential git
 
 
====Install wxWidgets====
get wxWidgets Development Release: 3.1.0 from: http://www.wxwidgets.org/downloads/ unpack and in the directory run:
./configure
make
sudo make install
this will take quite some time.
 
 
====Install wiringPi====
git clone git://git.drogon.net/wiringPi
cd wiringPi/
./build
 
 
====Compile RemotePlus====
Acquire source files:
git clone https://github.com/Plus24Systems/RemotePlus.git


get wxWidgets Development Release: 3.1.0 from: http://www.wxwidgets.org/downloads/
Compile and Install:
make
sudo make install

Latest revision as of 18:34, 24 February 2017

Current State: In development - development release - feedback and contributions appreciated

Documentation: https://github.com/Plus24Systems/Documentation


1 RemotePlus Overview

This application, and when released the associated hardware, is designed to be a comprehensive remote control unit for the AXIOM range of cameras - currently this is targeted at the Beta model.

The remote control software is made up of two separate components – the RemotePlus application which is designed to run on a purpose-designed, Linux (Raspberry Pi based) embedded AXIOM Remote hardware controller, but is also runnable on a Linux desktop/laptop for the purposes of development.

To control the AXIOM camera a RemoteServer application is also required. Connectivity is over the USB UART interface between the AXIOM camera and the host – be it the hardware remote or a Linux desktop/laptop.

As with all software & hardware that is pre-production the information contained on this page is subject to changes.


2 Prerequasites

The current desktop/laptop development environment is a 64bit Linux desktop (Ubuntu used for development) and utilities the following frameworks:

wxWidgets (>=v.3.1) wiringPi (>=v2.32)

Some Linux dists may not have the 3.1 version of wxWidgets, if this is the case then you must download this from the wxWidgets site here

For building on the hardware device the same framework requirements must be met – at this time there are no instructions for building a cross-compiler tool-chain, but this will be looked into in the near future.

All of the dependencies need to be met for the above and details can be found on their respective websites. Additionally the git toolchain is recommended.

While wiringPi is a requirement for building the application for use with the hardware interface, it’s not a requirement for desktop/laptop use as it will not be possible to use the GPIO subsystem on a regular machine. The use of wiringPi is set as a #define flag, detailed in the Developer Notes section of the RemotePlus user manaual.


3 AXIOM Beta preparations

fiddling with devicetree is not required anymore

in /boot/uEnv.txt replace

console=ttyPS0,115200n8

with

console=dummy

Then on the Beta disable the service:

systemctl disable serial-getty@ttyPS0.service

and reboot the camera (be sure you did all the things to ensure access to the camera (fallbackIP, etc.) as described in the PDF before.


4 RemoteServer

Source Code: https://github.com/Plus24Systems/RemoteServer

4.1 Installation Notes

  • acquire source code from github to AXIOM Beta
  • compile in camera:
gcc RemoteServer.c -o RemoteServer -lpthread


5 RemotePlus GUI

Source Code: https://github.com/Plus24Systems/RemotePlus


5.1 Installation Notes

Ubuntu (tested with 16.04 LTS)

Required packages for compiling from source:

sudo apt-get install build-essential git


5.1.1 Install wxWidgets

get wxWidgets Development Release: 3.1.0 from: http://www.wxwidgets.org/downloads/ unpack and in the directory run:

./configure
make
sudo make install

this will take quite some time.


5.1.2 Install wiringPi

git clone git://git.drogon.net/wiringPi
cd wiringPi/
./build


5.1.3 Compile RemotePlus

Acquire source files:

git clone https://github.com/Plus24Systems/RemotePlus.git

Compile and Install:

make
sudo make install