Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/ci/fsw/src/ci_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -1273,22 +1273,32 @@ void CI_ProcessNewAppCmds(CFE_SB_Msg_t* MsgPtr)

case CI_AUTH_CMD_CC:
CI_CmdAuthorize(MsgPtr);
(void) CFE_EVS_SendEvent(CI_CMD_INF_EID, CFE_EVS_INFORMATION,
"Recvd Auth cmd (%u)", (unsigned int)uiCmdCode);
break;

case CI_DEAUTH_CMD_CC:
CI_CmdDeauthorize(MsgPtr);
(void) CFE_EVS_SendEvent(CI_CMD_INF_EID, CFE_EVS_INFORMATION,
"Recvd Deauth cmd (%u)", (unsigned int)uiCmdCode);
break;

case CI_REG_CMD_CC:
CI_CmdRegister(MsgPtr);
(void) CFE_EVS_SendEvent(CI_CMD_INF_EID, CFE_EVS_INFORMATION,
"Recvd Register cmd (%u)", (unsigned int)uiCmdCode);
break;

case CI_DEREG_CMD_CC:
CI_CmdDeregister(MsgPtr);
(void) CFE_EVS_SendEvent(CI_CMD_INF_EID, CFE_EVS_INFORMATION,
"Recvd Deregister cmd (%u)", (unsigned int)uiCmdCode);
break;

case CI_UPDT_CMD_CC:
CI_UpdateCmdReg(MsgPtr);
(void) CFE_EVS_SendEvent(CI_CMD_INF_EID, CFE_EVS_INFORMATION,
"Recvd Update cmd (%u)", (unsigned int)uiCmdCode);
break;

default:
Expand Down
30 changes: 18 additions & 12 deletions apps/fac/fsw/for_build/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,21 @@ buildliner_add_app_def(fac
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_app.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_app.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_fac.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_cds_task.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_cds_task.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_cds_utils.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_cds_utils.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_cmds_task.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_cmds_task.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_config_utils.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_config_utils.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_cmds_utils.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_cmds_utils.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_data_utils.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_data_utils.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_symbols.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/ECL_Controller.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/ECL_Controller.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/ECL_PitchController.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/ECL_PitchController.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/ECL_RollController.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/ECL_RollController.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/ECL_WheelController.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/ECL_WheelController.hpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/ECL_YawController.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/ECL_YawController.cpp
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_events.h
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_msg.h
${PROJECT_SOURCE_DIR}/apps/fac/fsw/src/fac_private_ids.h
Expand Down Expand Up @@ -88,10 +94,10 @@ buildliner_add_app_unit_test(FAC-UT
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_app.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_app.hpp
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_fac.hpp
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_cds_utils.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_cds_utils.hpp
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_config_utils.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_config_utils.hpp
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_cmds_utils.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_cmds_utils.hpp
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_data_utils.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../src/fac_data_utils.hpp

INCLUDES
${CMAKE_CURRENT_SOURCE_DIR}/../src/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
*
*****************************************************************************/

#ifndef FAC_CDS_UTILS_HPP
#define FAC_CDS_UTILS_HPP
#include "ECL_Controller.hpp"

#include "fac_tbldefs.h"

int32 FAC_InitCdsTbl();
ECL_Controller::ECL_Controller()
{

void FAC_UpdateCdsTbl(void);
}

void FAC_SaveCdsTbl(void);
ECL_Controller::~ECL_Controller()
{

#endif /* FAC_CDS_UTILS_HPP */
}
45 changes: 45 additions & 0 deletions apps/fac/fsw/src/ECL_Controller.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/****************************************************************************
*
* Copyright (c) 2017 Windhover Labs, L.L.C. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Windhover Labs nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
*****************************************************************************/

#ifndef ECL_CONTROLLER_HPP
#define ECL_CONTROLLER_HPP


class ECL_Controller
{
public:
ECL_Controller();
~ECL_Controller();
};

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,15 @@
*
*****************************************************************************/

#ifndef FAC_CONFIG_UTILS_HPP
#define FAC_CONFIG_UTILS_HPP
#include "ECL_PitchController.hpp"

#include "cfe.h"
#include "fac_app.hpp"

int32 FAC_InitConfigTbl();
ECL_PitchController::ECL_PitchController()
{

int32 FAC_ValidateConfigTbl(void*);
}

int32 FAC_AcquireConfigPointers();
ECL_PitchController::~ECL_PitchController()
{

void FAC_ProcessNewConfigTbl();

#endif /* FAC_CONFIG_UTILS_HPP */
}
46 changes: 46 additions & 0 deletions apps/fac/fsw/src/ECL_PitchController.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/****************************************************************************
*
* Copyright (c) 2017 Windhover Labs, L.L.C. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Windhover Labs nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
*****************************************************************************/

#ifndef ECL_PITCHCONTROLLER_HPP
#define ECL_PITCHCONTROLLER_HPP

#include "ECL_Controller.hpp"

class ECL_PitchController : public ECL_Controller
{
public:
ECL_PitchController();
~ECL_PitchController();
};

#endif
45 changes: 45 additions & 0 deletions apps/fac/fsw/src/ECL_RollController.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/****************************************************************************
*
* Copyright (c) 2017 Windhover Labs, L.L.C. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Windhover Labs nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
*****************************************************************************/

#include "ECL_RollController.hpp"


ECL_RollController::ECL_RollController()
{

}

ECL_RollController::~ECL_RollController()
{

}
46 changes: 46 additions & 0 deletions apps/fac/fsw/src/ECL_RollController.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/****************************************************************************
*
* Copyright (c) 2017 Windhover Labs, L.L.C. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Windhover Labs nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
*****************************************************************************/

#ifndef ECL_ROLLCONTROLLER_HPP
#define ECL_ROLLCONTROLLER_HPP

#include "ECL_Controller.hpp"

class ECL_RollController : public ECL_Controller
{
public:
ECL_RollController();
~ECL_RollController();
};

#endif
45 changes: 45 additions & 0 deletions apps/fac/fsw/src/ECL_WheelController.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/****************************************************************************
*
* Copyright (c) 2017 Windhover Labs, L.L.C. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Windhover Labs nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
*****************************************************************************/

#include "ECL_WheelController.hpp"


ECL_WheelController::ECL_WheelController()
{

}

ECL_WheelController::~ECL_WheelController()
{

}
Loading