-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/parafoil-test-dev' into main-dev
- Loading branch information
Showing
69 changed files
with
3,734 additions
and
1,797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
[submodule "skyward-boardcore"] | ||
path = skyward-boardcore | ||
url = ../skyward-boardcore.git | ||
branch = testing | ||
url = ../skyward-boardcore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Pyxis On-Board Software [](https://git.skywarder.eu/scs/pyxis/obsw/commits/master) | ||
# Parafoil test On-Board Software [](https://git.skywarder.eu/scs/pyxis/obsw/commits/master) | ||
|
||
*On Board software for Pyxis* | ||
*On Board software for Parafoil tests* | ||
|
||
To clone, use `git clone --recurse-submodules [email protected]:scs/pyxis/obsw.git`. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Submodule skyward-boardcore
updated
from c6824c to 024dd0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,8 @@ | |
|
||
#include <ostream> | ||
|
||
#include <ostream> | ||
|
||
namespace DeathStackBoard | ||
{ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,8 @@ | |
|
||
#include "Eigen/Dense" | ||
|
||
#include "Eigen/Dense" | ||
|
||
namespace DeathStackBoard | ||
{ | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* Copyright (c) 2022 Skyward Experimental Rocketry | ||
* Author: Matteo Pignataro | ||
* | ||
* 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 <stdint.h> | ||
|
||
namespace ParafoilTestDev | ||
{ | ||
|
||
// TODO update with the correct values | ||
static const uint32_t HR_GROUND_UPDATE_PERIOD = 62; // Milliseconds | ||
static const uint32_t HR_FLIGHT_UPDATE_PERIOD = 10; | ||
static const uint32_t LR_UPDATE_PERIOD = 100; // Milliseconds | ||
|
||
// TODO define the correct ids for task scheduler | ||
static const uint8_t RADIO_HR_ID = 200; | ||
static const uint8_t RADIO_LR_ID = 201; | ||
|
||
} // namespace ParafoilTestDev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* Copyright (c) 2022 Skyward Experimental Rocketry | ||
* Author: Matteo Pignataro | ||
* | ||
* 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. | ||
*/ | ||
|
||
/** | ||
* This class specifies the sensors constants that the sensor manager | ||
* needs to know about every device. For example the sample time is | ||
* essential to understand how much time a sensor should wait before | ||
* another sample. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <sensors/UbloxGPS/UbloxGPS.h> | ||
#include <sensors/MPU9250/MPU9250.h> | ||
#include <sensors/BME280/BME280.h> | ||
|
||
using namespace Boardcore; | ||
|
||
namespace ParafoilTestDev | ||
{ | ||
//SPI pinouts | ||
static miosix::GpioPin SCK(GPIOA_BASE, 5); | ||
static miosix::GpioPin MISO(GPIOB_BASE, 4); | ||
static miosix::GpioPin MOSI(GPIOA_BASE, 7); | ||
|
||
//GPS settings | ||
//static miosix::GpioPin GPS_CS(GPIOG_BASE, 3); | ||
static miosix::GpioPin GPS_TX(GPIOA_BASE, 2); | ||
static miosix::GpioPin GPS_RX(GPIOA_BASE, 3); | ||
static constexpr unsigned int GPS_SAMPLE_RATE = 25; | ||
static constexpr unsigned int GPS_SAMPLE_PERIOD = 1000 / GPS_SAMPLE_RATE; | ||
|
||
|
||
//IMU MPU9250 settings | ||
static miosix::GpioPin IMU_CS(GPIOB_BASE, 2); | ||
static const MPU9250::MPU9250GyroFSR IMU_GYRO_SCALE = MPU9250::GYRO_FSR_500DPS; | ||
static const MPU9250::MPU9250AccelFSR IMU_ACCEL_SCALE = MPU9250::ACCEL_FSR_16G; | ||
static constexpr unsigned short IMU_SAMPLE_RATE = 500; | ||
static constexpr unsigned int IMU_SAMPLE_PERIOD = 1000 / IMU_SAMPLE_RATE; | ||
|
||
//Barometer BME280 settings | ||
static miosix::GpioPin PRESS_CS(GPIOC_BASE, 11); | ||
static const BME280::StandbyTime PRESS_SAMPLE_RATE = BME280::STB_TIME_0_5; | ||
static constexpr unsigned int PRESS_SAMPLE_PERIOD = 20; | ||
} |
Oops, something went wrong.