added gyro stubs
This commit is contained in:
parent
43a16173f1
commit
94008574eb
2
fsfw_hal
2
fsfw_hal
@ -1 +1 @@
|
|||||||
Subproject commit a0f698fffa4dd5c9f86337c5d6170f9321cb8de7
|
Subproject commit 2fe1a6683606eddb76aa810f88e5cf5d8cea94e5
|
@ -15,6 +15,7 @@ target_sources(${TARGET_NAME} PUBLIC
|
|||||||
IMTQHandler.cpp
|
IMTQHandler.cpp
|
||||||
PlocHandler.cpp
|
PlocHandler.cpp
|
||||||
RadiationSensorHandler.cpp
|
RadiationSensorHandler.cpp
|
||||||
|
GyroADIS16507Handler.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
41
mission/devices/GyroADIS16507Handler.cpp
Normal file
41
mission/devices/GyroADIS16507Handler.cpp
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
#include "GyroADIS16507Handler.h"
|
||||||
|
|
||||||
|
GyroADIS16507Handler::GyroADIS16507Handler(object_id_t objectId,
|
||||||
|
object_id_t deviceCommunication, CookieIF * comCookie):
|
||||||
|
DeviceHandlerBase(objectId, deviceCommunication, comCookie) {
|
||||||
|
}
|
||||||
|
|
||||||
|
void GyroADIS16507Handler::doStartUp() {
|
||||||
|
}
|
||||||
|
|
||||||
|
void GyroADIS16507Handler::doShutDown() {
|
||||||
|
}
|
||||||
|
|
||||||
|
ReturnValue_t GyroADIS16507Handler::buildNormalDeviceCommand(DeviceCommandId_t *id) {
|
||||||
|
return HasReturnvaluesIF::RETURN_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
ReturnValue_t GyroADIS16507Handler::buildTransitionDeviceCommand(DeviceCommandId_t *id) {
|
||||||
|
return HasReturnvaluesIF::RETURN_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
ReturnValue_t GyroADIS16507Handler::buildCommandFromCommand(DeviceCommandId_t deviceCommand,
|
||||||
|
const uint8_t *commandData, size_t commandDataLen) {
|
||||||
|
return HasReturnvaluesIF::RETURN_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GyroADIS16507Handler::fillCommandAndReplyMap() {
|
||||||
|
}
|
||||||
|
|
||||||
|
ReturnValue_t GyroADIS16507Handler::scanForReply(const uint8_t *start, size_t remainingSize,
|
||||||
|
DeviceCommandId_t *foundId, size_t *foundLen) {
|
||||||
|
return HasReturnvaluesIF::RETURN_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
ReturnValue_t GyroADIS16507Handler::interpretDeviceReply(DeviceCommandId_t id,
|
||||||
|
const uint8_t *packet) {
|
||||||
|
return HasReturnvaluesIF::RETURN_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GyroADIS16507Handler::setNormalDatapoolEntriesInvalid() {
|
||||||
|
}
|
29
mission/devices/GyroADIS16507Handler.h
Normal file
29
mission/devices/GyroADIS16507Handler.h
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#ifndef MISSION_DEVICES_GYROADIS16507HANDLER_H_
|
||||||
|
#define MISSION_DEVICES_GYROADIS16507HANDLER_H_
|
||||||
|
|
||||||
|
#include <fsfw/devicehandlers/DeviceHandlerBase.h>
|
||||||
|
|
||||||
|
class GyroADIS16507Handler: public DeviceHandlerBase {
|
||||||
|
public:
|
||||||
|
GyroADIS16507Handler(object_id_t objectId, object_id_t deviceCommunication, CookieIF * comCookie);
|
||||||
|
|
||||||
|
/* DeviceHandlerBase abstract function implementation */
|
||||||
|
void doStartUp() override;
|
||||||
|
void doShutDown() override;
|
||||||
|
ReturnValue_t buildNormalDeviceCommand(DeviceCommandId_t * id) override;
|
||||||
|
ReturnValue_t buildTransitionDeviceCommand(DeviceCommandId_t * id) override;
|
||||||
|
ReturnValue_t buildCommandFromCommand(DeviceCommandId_t deviceCommand,
|
||||||
|
const uint8_t * commandData, size_t commandDataLen) override;
|
||||||
|
void fillCommandAndReplyMap() override;
|
||||||
|
ReturnValue_t scanForReply(const uint8_t *start, size_t remainingSize,
|
||||||
|
DeviceCommandId_t *foundId, size_t *foundLen) override;
|
||||||
|
ReturnValue_t interpretDeviceReply(DeviceCommandId_t id,
|
||||||
|
const uint8_t *packet) override;
|
||||||
|
void setNormalDatapoolEntriesInvalid() override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* MISSION_DEVICES_GYROADIS16507HANDLER_H_ */
|
Loading…
Reference in New Issue
Block a user