Computational Intelligence - November 2013 - 32
Code fragment 4.1 The compiled high level MATLAB script
that represents the name tag "following trajectory".
function following_trajectory (MyTraj)
1
StateDes = updating_target_state (MyTraj);
2
[Acc , Om] = obtaining_inertial_states;
3
[St ,Dcm] = forming_current_state (Acc, Om);
4
Sigm = generating_guidance_potential (St, StateDes);
5
U = generating_control_signal (St, Sigm);
6
T = determining_thrust_vector (U, Dcm);
7
implementing_thrust_vector (T);
8
current state St and desired state Statedes.
figure 3 Editing agent code in an sEnglish plug-in under Eclipse.
MATLAB development language. The result is a series of interconnected m-files that are built from the user prescribed text,
linked to the core ontology that defines the conceptual data
structures used by the system.
First we illustrate the development of a medium level agent
skill that corresponds to the meaning tag following_trajectory, resulting in procedural code to perform the function of following a specific trajectory. Considering the abstractions that may complete this control action, intuitively one
must obtain a target (kinematic) state, determine the current
system state, implement a control law to produce a control signal that will act to drive the error between the desired and
actual states to zero and then implement this control signal in
hardware. Figure 3 illustrates the Eclipse based editor window
for the definition of a sentence Follow trajectory
Mytraj. with activity name following trajectory.
The following is a listing of a definition file (SEP-file = sEnglish Procedure file) to define the physical activity of "following
a trajectory" that may have been created by a mental activity of
the agent:
procedure name :: following trajectory
senglish sentences :: Follow trajectory
Mytraj.
process, repeat mode :: physproc, runOnce
input classes and local names::
trajectory[Mytraj]
output classes and local names::
senglish code :: Update the orbital target
state Statedes for trajectory Mytraj using
temporal progression. Obtain linear acceleration Acc and angular velocity Om from the
gyroscope. Form the current state St and the
direction cosine matrix Dcm using vision
information and angular velocity Om. Generate
guidance potential function Sigma based upon
32
IEEE ComputatIonal IntEllIgEnCE magazInE | novEmbEr 2013
Generate control signal U based upon current
state St and guidance potential function
Sigma. Determine the required thrust vector T
using the control signal U and direction
cosine matrix Dcm. Implement the required
thrust vector T on hardware.
matlab routines url:: www.sysbrain.org/asterocraft
conceptual graph:: [I]-(action)-[following](subj)-[trajectory:Mytraj]
testing formula:: Mytraj=rand_
object('trajectory');
following_trajectory(Mytraj);
section number :: 4
input defaults :: create_object('trajectory');
In "Code Fragment 4.1" each elemental abstraction to an
senglish code, the high level abstraction of followi n g _ t r a j e c t o r y may be completely defined in a
structured and meaningful way; its meaning is completely
and transparently described by the subsequent abstractions.
The meaning of sentences is exactly the senglish code
implemented for dealing with trajectory following and upon
compilation. The generated following trajectory.m
file will be of the format:
In the above development all meaning tags are names of
actions formed from verbs. At any time the current agent
activity may be queried to result in a meaningful response,
which is useful for a human operator querying the current
actions of an agent. A naive human operator may query the
system to ask what it is doing and why, with the response
being given in a natural language format, supplemented with
reasoned logic behind the execution of these actions. Each
sEnglish sentence is matched with a routine call in MATLAB as well as with a similar looking predicate for logic
operations that abstracts away the (code based) meaning
behind the predicates. Basic predicate abstractions from sentences are applied to both the world environment and the
spacecraft model; these are passed by the Physical Engine to
http://www.sysbrain.org/astero
Table of Contents for the Digital Edition of Computational Intelligence - November 2013
Computational Intelligence - November 2013 - Cover1
Computational Intelligence - November 2013 - Cover2
Computational Intelligence - November 2013 - 1
Computational Intelligence - November 2013 - 2
Computational Intelligence - November 2013 - 3
Computational Intelligence - November 2013 - 4
Computational Intelligence - November 2013 - 5
Computational Intelligence - November 2013 - 6
Computational Intelligence - November 2013 - 7
Computational Intelligence - November 2013 - 8
Computational Intelligence - November 2013 - 9
Computational Intelligence - November 2013 - 10
Computational Intelligence - November 2013 - 11
Computational Intelligence - November 2013 - 12
Computational Intelligence - November 2013 - 13
Computational Intelligence - November 2013 - 14
Computational Intelligence - November 2013 - 15
Computational Intelligence - November 2013 - 16
Computational Intelligence - November 2013 - 17
Computational Intelligence - November 2013 - 18
Computational Intelligence - November 2013 - 19
Computational Intelligence - November 2013 - 20
Computational Intelligence - November 2013 - 21
Computational Intelligence - November 2013 - 22
Computational Intelligence - November 2013 - 23
Computational Intelligence - November 2013 - 24
Computational Intelligence - November 2013 - 25
Computational Intelligence - November 2013 - 26
Computational Intelligence - November 2013 - 27
Computational Intelligence - November 2013 - 28
Computational Intelligence - November 2013 - 29
Computational Intelligence - November 2013 - 30
Computational Intelligence - November 2013 - 31
Computational Intelligence - November 2013 - 32
Computational Intelligence - November 2013 - 33
Computational Intelligence - November 2013 - 34
Computational Intelligence - November 2013 - 35
Computational Intelligence - November 2013 - 36
Computational Intelligence - November 2013 - 37
Computational Intelligence - November 2013 - 38
Computational Intelligence - November 2013 - 39
Computational Intelligence - November 2013 - 40
Computational Intelligence - November 2013 - 41
Computational Intelligence - November 2013 - 42
Computational Intelligence - November 2013 - 43
Computational Intelligence - November 2013 - 44
Computational Intelligence - November 2013 - 45
Computational Intelligence - November 2013 - 46
Computational Intelligence - November 2013 - 47
Computational Intelligence - November 2013 - 48
Computational Intelligence - November 2013 - 49
Computational Intelligence - November 2013 - 50
Computational Intelligence - November 2013 - 51
Computational Intelligence - November 2013 - 52
Computational Intelligence - November 2013 - 53
Computational Intelligence - November 2013 - 54
Computational Intelligence - November 2013 - 55
Computational Intelligence - November 2013 - 56
Computational Intelligence - November 2013 - 57
Computational Intelligence - November 2013 - 58
Computational Intelligence - November 2013 - 59
Computational Intelligence - November 2013 - 60
Computational Intelligence - November 2013 - 61
Computational Intelligence - November 2013 - 62
Computational Intelligence - November 2013 - 63
Computational Intelligence - November 2013 - 64
Computational Intelligence - November 2013 - Cover3
Computational Intelligence - November 2013 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202311
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202308
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202305
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202302
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202211
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202208
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202205
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202202
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202111
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202108
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202105
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202102
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202011
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202008
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202005
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202002
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201911
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201908
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201905
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201902
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201811
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201808
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201805
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201802
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter12
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall12
https://www.nxtbookmedia.com