summaryrefslogtreecommitdiff
path: root/digital/io/src/getsamples/getsamples_cb_skel.c
blob: 997042b02cd8a3c3b03ba0a2fd95a0a70f8faf53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
 * THIS IS AN AUTOMATICALLY GENERATED FILE, DO NOT EDIT!
 *
 * Skeleton for get_samples callbacks implementation.
 *
 * 
 */
#include "getsamples_cb.h"

/*
 * PREPARE_ARM =arm_prepared=>
 *  => PREPARE_CLASSIFIER
 *   Prepare the arm to load the samples.
 */
getsamples_branch_t
getsamples__PREPARE_ARM__arm_prepared (getsamples_t *user)
{
    return getsamples_next (PREPARE_ARM, arm_prepared);
}

/*
 * FORWARD_CONTROL =move_finished=>
 *  => PREPARE_ARM
 *   The position is reached the arm shall be seted to the position disired.
 */
getsamples_branch_t
getsamples__FORWARD_CONTROL__move_finished (getsamples_t *user)
{
    return getsamples_next (FORWARD_CONTROL, move_finished);
}

/*
 * GO_TO_POSITION =move_blocked=>
 *  => GO_TO_POSITION
 */
getsamples_branch_t
getsamples__GO_TO_POSITION__move_blocked (getsamples_t *user)
{
    return getsamples_next (GO_TO_POSITION, move_blocked);
}

/*
 * GO_TO_POSITION =move_finished=>
 *  => FORWARD_CONTROL
 *   Go to the position desired, it is very near the position of the distributor in case it is a ice distributor or sample distributor.
 */
getsamples_branch_t
getsamples__GO_TO_POSITION__move_finished (getsamples_t *user)
{
    return getsamples_next (GO_TO_POSITION, move_finished);
}

/*
 * PREPARE_CLASSIFIER =classifer_prepared=>
 *  => LOAD_SAMPLES
 *   Load some samples.
 */
getsamples_branch_t
getsamples__PREPARE_CLASSIFIER__classifer_prepared (getsamples_t *user)
{
    return getsamples_next (PREPARE_CLASSIFIER, classifer_prepared);
}