30
Operations
02
Advanced Editing
The Advanced Editing feature provides a method for configuring the buttons on the control panel
and remote control.
Once you’ve created a Pose and Sequence list using the XYZrobot Editor, you can save the
ensuing list to an AVR format (see “Creating an AVR Format” on page 29). The AVR file is
necessary to cross reference and synchronize the pose definition library to the remote controller
and buttons on the control panel.
Before You Start
The pose / sequence library can be extended through the use of the Arduino programming
platform, to provide a configuration function for your remote control and front control panel.
This section describes the steps necessary to prepare an Adruino based pose/sequence list
from an AVR file (XYZrobot Editor source file) in order to create a variable list to be used during
configuration.
Creating an AVR Reference File
Before you can get started, you will need to create an AVR file which includes the list of pose and
sequence entries, which will serve as the reference for the advanced configuration procedures.
See “Basic Editing” on page 26.
To create an AVR file:
1.
Select
Projector > Open
and select an .xyz file to open.
2.
Select
Tool > Export to AVR
to save an .h file for use with the Arduino application.
3.
Close the XYZrobot Editor.
4.
Open the previously saved AVR file (*.h format).
NOTE:
Open the AVR file using a general text editor (such as Notepad) as .h files cannot be
opened in Arduino.
5.
Once the file is open, the Pose and Sequence information is visible in the workspace in a
compiled format. Copy the edited list, see the following example. The copied list will be later
saved in a designated file (USER_MOTION.h) defining the pose list in the Arduino library.
PROGMEM prog_unit16_t p1[] = {18, 512, 512, 512, 512, 512, 512, 512, 512, 512,
512, 512, 512, 512, 512, 512, 512, 512, 512};
PROGMEM prog_unit16_t p2[] = {18, 666, 512, 512, 512, 512, 512, 512, 512, 512,
512, 512, 512, 512, 512, 512, 512, 512, 512};
PROGMEM transition_t s1[] = {{0,2}, {p1,500}, {p2,500}};
6.
Locate the Bolide software pack and navigate to the following folder:
Bolide_Y-01_Arduino_Support_File_20151201\Bolide_Y-01_UserMotion
. (For the latest
software visit the http://www.xyzrobot.com)
7.
In the same folder, locate and open Bolide_Y-01_UserMotion.ino file.
8.
Three main tabs display. Click the USER_MOTION.h tab.
Summary of Contents for Bolide Y-01
Page 1: ...Bolide Y 01 Construct of Your Imagination ...
Page 48: ......