User Tools

Site Tools


drc_hubo_creating_new_al_dw

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
drc_hubo_creating_new_al_dw [2016/11/19 14:29] dwallacedrc_hubo_creating_new_al_dw [2017/04/27 21:50] (current) dwallace
Line 56: Line 56:
 Once you have correctly setup and added files to your AL, you will need to make modifications in the code to give your commands unique names. See the photos below as a guideline. Once you have correctly setup and added files to your AL, you will need to make modifications in the code to give your commands unique names. See the photos below as a guideline.
  
-{{dylanw:huboal7a.jpg?400}}{{dylanw:huboal7b.jpg?400}}\\ +{{dylanw:huboal7a.jpg?300}}{{dylanw:huboal7b.jpg?300}}\\ 
  
 Some guidelines that must be followed when naming and creating commands: Some guidelines that must be followed when naming and creating commands:
Line 74: Line 74:
 In the new .h file, include "CommonHeader.h", and in the private section declare a new integer value (name it ALNum_<your desired name>. In the new .h file, include "CommonHeader.h", and in the private section declare a new integer value (name it ALNum_<your desired name>.
  
-{{dylanw:huboal9.jpg?800}}\\ +{{dylanw:huboal9.jpg?600}}\\ 
  
 In the new .cpp file, include "BasicFiles/PODOALDialog.h". Next, add the enum from you AL command. Finally, initialize the ALNum integer as PODOALDialog::GetALNumFromFileName(“<your AL filename>”). In the new .cpp file, include "BasicFiles/PODOALDialog.h". Next, add the enum from you AL command. Finally, initialize the ALNum integer as PODOALDialog::GetALNumFromFileName(“<your AL filename>”).
  
-{{dylanw:huboal10.jpg?800}}\\ +{{dylanw:huboal10.jpg?600}}\\ 
  
 ==== Adding a GUI Button ==== ==== Adding a GUI Button ====
Line 106: Line 106:
  
 Now you are ready to test your AL. Make sure that it does not break the other ALs that PODO uses. Also make sure that it performs as you have desired. Now you are ready to use you AL!  Now you are ready to test your AL. Make sure that it does not break the other ALs that PODO uses. Also make sure that it performs as you have desired. Now you are ready to use you AL! 
 +
 +==== Final Words ====
 +
 +This tutorial's objective was to teach the concepts behind creating a new AL for DRC-HUBO. Complete setup instructions for a base AL were provided. Once the concepts were conveyed the reader could successfully create and test their own AL for DRC-HUBO.
 +\\
 +\\
 +For questions, clarifications, etc, Email: <[email protected]>
  
drc_hubo_creating_new_al_dw.txt · Last modified: 2017/04/27 21:50 by dwallace