rome2_p6 imported

Dependencies:   mbed

Task.cpp

Committer:
Appalco
Date:
2018-05-18
Revision:
5:957580f33e52
Parent:
0:351a2fb21235

File content as of revision 5:957580f33e52:

/*
 * Task.cpp
 * Copyright (c) 2018, ZHAW
 * All rights reserved.
 */

#include "Task.h"

using namespace std;

/**
 * Creates an abstract task object.
 */
Task::Task() {}

/**
 * Deletes the task object.
 */
Task::~Task() {}

/**
 * This method is called periodically by a task sequencer.
 * It contains the code this task has to work on.
 * @param period the period of the task sequencer, given in [s].
 * @return the status of this task, i.e. RUNNING or DONE.
 */
int Task::run(float period) {
    
    return DONE;
}