diff --git a/src/boards/Payload/Radio/RadioData.h b/src/boards/Payload/Radio/RadioData.h deleted file mode 100644 index eba4ea4bed4a19f410e390a451469a7a14553984..0000000000000000000000000000000000000000 --- a/src/boards/Payload/Radio/RadioData.h +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2023 Skyward Experimental Rocketry - * Author: Matteo Pignataro, Federico Mandelli - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ -#pragma once -#include <ostream> - -namespace Payload -{ - -struct RadioSetterParameter -{ - uint64_t timestamp; - float refAltitude; - float refTemperature; - float depAltitude; - float yawOri; - float pitchOri; - float rollOri; - float latCord; - float lonCord; - float latTargetCord; - float lonTargetCord; - uint8_t algoId; - - RadioSetterParameter() - : timestamp(0), refAltitude(0), refTemperature(0), depAltitude(0), - yawOri(0), pitchOri(0), rollOri(0), latCord(0), lonCord(0), - latTargetCord(0), lonTargetCord(0), algoId(0) - { - } - - static std::string header() - { - return "timestamp,refAltitude,refTemperature,depAltitude," - "yawOrientation,pitchOrientation,rollOrientation,latCoordinates," - "lonCoordinates,latTargetCoordinates,lonTargetCoordinates," - "algoId\n"; - } - - void print(std::ostream& os) const - { - os << timestamp << "," << refAltitude << "," << refTemperature << "," - << depAltitude << "," << yawOri << "," << pitchOri << "," << rollOri - << "," << latCord << "," << lonCord << "," << latTargetCord << "," - << lonTargetCord << "," << static_cast<int>(algoId) << "\n"; - } -}; - -} // namespace Payload diff --git a/src/boards/Payload/Sensors/HILSensors.h b/src/boards/Payload/Sensors/HILSensors.h index 0ae5ab6213fb9e55af6de652a0455b728b7066c8..4b74b6369f43666677b4199e9c4d20ae7ecad940 100644 --- a/src/boards/Payload/Sensors/HILSensors.h +++ b/src/boards/Payload/Sensors/HILSensors.h @@ -1,5 +1,5 @@ /* Copyright (c) 2024 Skyward Experimental Rocketry - * Authors: Emilio Corigliano + * Author: Emilio Corigliano * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/boards/Payload/StateMachines/WingController/WingControllerData.h b/src/boards/Payload/StateMachines/WingController/WingControllerData.h index fdfb81da287dfb4073c0da8500810361c607fc29..37ae8803196d95e63dde932813fcacd5e7620908 100644 --- a/src/boards/Payload/StateMachines/WingController/WingControllerData.h +++ b/src/boards/Payload/StateMachines/WingController/WingControllerData.h @@ -1,5 +1,5 @@ /* Copyright (c) 2024 Skyward Experimental Rocketry - * Author: Federico Mandelli, Niccolò Betto + * Authors: Federico Mandelli, Niccolò Betto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal