repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
danielesteban/cells | simulation/simulation.c | static const float maxMass = 1.0f; // The un-pressurized mass of a full water cell
static const float maxCompress = 0.02f; // How much excess water a cell can store, compared to the cell above it
static const float minMass = 0.001f; // Ignore cells that are almost dry
static const float getStableState(const float total... |
he110world/libmeh_working | shaders/blurbycocv.c | <reponame>he110world/libmeh_working
#include "blurbycoc.c"
#ifdef FRAGMENT_SHADER
void main(void)
{
vec2 d=vec2(0.0, 1.0/scrnsz.y);
gl_FragColor=vec4(gaussblur(g_texcoord).rgb,1.0);
}
#endif
|
he110world/libmeh_working | shaders/pdm_mrt.c |
varying vec4 hpos;
varying vec3 eye;
varying vec3 light;
varying vec2 texcoord;
#ifdef VERTEX_SHADER
attribute vec3 co;
attribute vec2 texco;
attribute vec3 normal;
attribute vec3 tangent;
attribute vec3 binormal;
uniform vec3 lightpos;
// perform basic transformation for per-pixel displacement mapping
void main(... |
he110world/libmeh_working | shaders/dof.c | <gh_stars>1-10
/* depth of field */
varying vec2 g_texco;
#ifdef VERTEX_SHADER
attribute vec2 co,texco;
void main(void)
{
g_texco=texco;
gl_Position=gl_ModelViewProjectionMatrix*vec4(co,0.0,1.0);
}
#endif
#ifdef FRAGMENT_SHADER
uniform sampler2D color_tex, depth_tex;
uniform float focus, noblur, maxblur;
unifo... |
he110world/libmeh_working | shaders/simple.c | varying vec3 L, E;
varying vec2 texcoord;
varying vec3 cubecoord;
attribute vec3 tangent;
uniform vec4 light;
void main(void){
gl_Position = ftransform();
texcoord=gl_MultiTexCoord0.xy;
cubecoord=gl_MultiTexCoord1.xyz;
vec3 n = normalize(gl_NormalMatrix*gl_Normal);
vec3 t = normalize(gl_NormalMatrix*tangent);
... |
he110world/libmeh_working | src/backend.h | #ifndef BACKEND__H
#define BACKEND__H
extern unsigned nextp2(unsigned);
extern int nlz(unsigned);
#define lg2(x) (31-nlz(x))
#define nfact2(x) (31-nlz((x) & -(x)))
// nfact2(x) -- 800=25*32=25*2^5 => nfact2(800)=5
// 600=75*8=75*2^3 => nfact2(600)=3
#define ARRAY_INIT_CAP 16
#define ARR_CKSUM 0x4da3a98b
typedef struc... |
he110world/libmeh_working | shaders/blurbycoch.c | <filename>shaders/blurbycoch.c
#include "blurbycoc.c"
#ifdef FRAGMENT_SHADER
void main(void)
{
vec2 d=vec2(1.0/scrnsz.x, 0.0)
gl_FragColor=vec4(gaussblur(g_texcoord).rgb,1.0);
}
#endif
|
he110world/libmeh_working | shaders/colordownsampler.c |
varying vec2 g_texco;
#ifdef VERTEX_SHADER
attribute vec2 co;
attribute vec2 texco;
void main(void)
{
gl_Position=gl_ModelViewProjectionMatrix*vec4(co,0.0,1.0);
g_texco=texco;
}
#endif
#ifdef FRAGMENT_SHADER
uniform sampler2D color_tex;
void main(void)
{
gl_FragColor = texture2D(color_tex, g_texco);
}
#endi... |
he110world/libmeh_working | shaders/motionblur.c |
/*
Motion blur shader: read in depth
*/
varying vec2 texcoord;
#ifdef VERTEX_SHADER
attribute vec2 co;
attribute vec2 texco;
void main(void)
{
// texcoord=texco;
gl_TexCoord[0].st=texco;
gl_Position=gl_ModelViewProjectionMatrix*vec4(co,0.0,1.0);
}
#endif
#ifdef FRAGMENT_SHADER
uniform sampler2D depth_tex;
... |
he110world/libmeh_working | shaders/font.c | <gh_stars>1-10
varying vec4 vertcolor;
#ifdef VERTEX_SHADER
attribute vec2 co, texco;
attribute vec4 color;
void main(void)
{
gl_TexCoord[0].st=texco.st;
gl_Position=gl_ModelViewProjectionMatrix*vec4(co,0.0,1.0);
vertcolor=color;
}
#endif
#ifdef FRAGMENT_SHADER
uniform sampler2D fnt_tex;
void main(void)
{
gl... |
he110world/libmeh_working | shaders/gaussianblurv.c | <reponame>he110world/libmeh_working
/*
Vertical gaussian blur, 5-taps
*/
varying vec2 g_texcoord;
#ifdef VERTEX_SHADER
attribute vec2 co, texco;
void main(void)
{
g_texcoord=texco;
gl_Position=gl_ModelViewProjectionMatrix*vec4(co,0.0,1.0);
}
#endif
#ifdef FRAGMENT_SHADER
uniform sampler2D color_tex;
unifor... |
he110world/libmeh_working | shaders/blurbycoc.c | <gh_stars>1-10
/*
Horizontal gaussian blur, 5-taps
*/
varying vec2 g_texcoord;
#ifdef VERTEX_SHADER
attribute vec2 co, texco;
void main(void)
{
g_texcoord=texco;
gl_Position=gl_ModelViewProjectionMatrix*vec4(co,0.0,1.0);
}
#endif
#ifdef FRAGMENT_SHADER
uniform sampler2D color_coc_tex;
uniform vec2 scrnsz;
... |
he110world/libmeh_working | shaders/depthdownsampler.c |
varying vec2 g_texco;
#ifdef VERTEX_SHADER
attribute vec2 co;
attribute vec2 texco;
void main(void)
{
gl_Position=gl_ModelViewProjectionMatrix*vec4(co,0.0,1.0);
g_texco=texco;
}
#endif
#ifdef FRAGMENT_SHADER
uniform sampler2D depth_tex;
void main(void)
{
gl_FragDepth = texture2D(depth_tex, g_texco).x;
}
#e... |
he110world/libmeh_working | src/backend.c |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdarg.h>
#include <alloca.h>
#include <dlfcn.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/time.h>
#include <math.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glext.h>
#incl... |
he110world/libmeh_working | shaders/guibuttons.c | <reponame>he110world/libmeh_working
varying vec4 vertcolor;
#ifdef VERTEX_SHADER
attribute vec3 co;
attribute vec2 texco;
attribute vec4 color;
void main(void)
{
gl_TexCoord[0].st=texco.st;
gl_Position=gl_ModelViewProjectionMatrix*vec4(co,1.0);
vertcolor=color;
}
#endif
#ifdef FRAGMENT_SHADER
uniform sampler2D... |
he110world/libmeh_working | src/game.c | <gh_stars>1-10
#define USE_MEH_TYPE 1
#include "backend.h"
#include <assert.h>
#include <alloca.h>
#include <stdio.h>
#include <stdlib.h>
void c_test_bgnforward()
{
cvar_setf("forwardspeed", -.2);
}
void c_test_bgnback()
{
cvar_setf("forwardspeed", .2);
}
void c_test_bgnstrafeleft()
{
cvar_setf("strafespeed", -.... |
Griffone/Serializable-Snapshot | Snapshot.h | #pragma once
#include <exception>
#include <iostream>
#include <string>
#include <unordered_map>
#include <vector>
// If you use extractable types just set this to false end define snapshot_key_t to an extractable type and you're good
#define SNAPSHOT_KEY_IS_STRING true
typedef std::string snapshot_key_t;
typedef in... |
skyward-er/skyward-boardcore | src/tests/drivers/flashmemory/mockup/FlashDriver.h | <reponame>skyward-er/skyward-boardcore<gh_stars>1-10
/* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 restri... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_upload_setting_tc.h | <filename>libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_upload_setting_tc.h
#pragma once
// MESSAGE UPLOAD_SETTING_TC PACKING
#define MAVLINK_MSG_ID_UPLOAD_SETTING_TC 21
MAVPACKED(
typedef struct __mavlink_upload_setting_tc_t {
float setting; /*< The value of the setting to be uploaded*/
uint8_t setting_id... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/bitpacking/BitPacker.h | /**
* Copyright (c) 2019 Skyward Experimental Rocketry
* Authors: <NAME>
*
* 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
... |
skyward-er/skyward-boardcore | libs/mxgui/resourcefs.h | /***************************************************************************
* Copyright (C) 2011 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms... |
skyward-er/skyward-boardcore | libs/mxgui/fonts/droid11.h | <reponame>skyward-er/skyward-boardcore
#ifndef FONT_DROID11_H
#define FONT_DROID11_H
//This font has been converted from BDF/TTF font format to .h
//using fontrendering utility written by <NAME>.
//Do not modify this file, it has been automatically generated.
const bool droid11IsAntialiased=true;
const bool droid11IsF... |
skyward-er/skyward-boardcore | src/shared/Debug.h | <gh_stars>1-10
/* Copyright (c) 2015-2018 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 limitati... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/hermes/mavlink_msg_can_tm.h | #pragma once
// MESSAGE CAN_TM PACKING
#define MAVLINK_MSG_ID_CAN_TM 168
MAVPACKED(
typedef struct __mavlink_can_tm_t {
uint64_t last_sent_ts; /*< Timestamp of the last sent message*/
uint64_t last_rcv_ts; /*< Timestamp of the last received message*/
uint16_t n_sent; /*< Number of sent messages*/
uint16_t n_rc... |
skyward-er/skyward-boardcore | libs/mxgui/_examples/sony-newman/tea-time/power_manager.h | /***************************************************************************
* Copyright (C) 2013 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms... |
skyward-er/skyward-boardcore | libs/mxgui/image.h | /***************************************************************************
* Copyright (C) 2010, 2011 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_dpl_tm.h | #pragma once
// MESSAGE DPL_TM PACKING
#define MAVLINK_MSG_ID_DPL_TM 166
MAVPACKED(
typedef struct __mavlink_dpl_tm_t {
uint64_t timestamp; /*< [ms] When was this logged*/
float servo_position; /*< [deg] DPL servo position (angle)*/
uint8_t fsm_state; /*< Current state of the dpl controller*/
uint8_t cutters_ena... |
skyward-er/skyward-boardcore | src/shared/sensors/SensorManager.h | <filename>src/shared/sensors/SensorManager.h<gh_stars>1-10
/* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/shared/sensors/calibration/BiasCalibration.h | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/shared/drivers/gamma868/Gamma868.h | <reponame>skyward-er/skyward-boardcore
/* Copyright (c) 2015-2018 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>
*
* 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 restri... |
skyward-er/skyward-boardcore | src/shared/logger/Deserializer.h | <filename>src/shared/logger/Deserializer.h<gh_stars>1-10
/* Copyright (c) 2015-2018 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 witho... |
skyward-er/skyward-boardcore | src/shared/drivers/BusTemplate.h | /* Copyright (c) 2015-2016 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>, <NAME>, <NAME>
*
* 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 withou... |
skyward-er/skyward-boardcore | src/shared/sensors/calibration/TwelveParameterCalibration.h | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | libs/mxgui/_tools/code_generators/resourcefs_types.h | /***************************************************************************
* Copyright (C) 2011 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms... |
skyward-er/skyward-boardcore | src/shared/drivers/modbus/slave/old/SlaveInterface.h | /* Copyright (c) 2017 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/shared/sensors/old_examples/MAX21105.h | /* Copyright (c) 2015-2016 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>
*
* 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... |
skyward-er/skyward-boardcore | libs/mxgui/drivers/display_st7735.h | /***************************************************************************
* Copyright (C) 2021 by <NAME>, <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of t... |
skyward-er/skyward-boardcore | src/tests/drivers/flashmemory/FlashControllerTests.h | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | libs/mxgui/drivers/display_qt.h | /***************************************************************************
* Copyright (C) 2010, 2011 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms... |
skyward-er/skyward-boardcore | libs/mxgui/display_state_saver.h | <filename>libs/mxgui/display_state_saver.h
#ifndef DISPLAY_STATE_SAVER_H
#define DISPLAY_STATE_SAVER_H
#include <utility>
#include <display.h>
namespace mxgui {
class StateSaver
{
public:
StateSaver(DrawingContext& dc) : dc(dc), savedFont(dc.getFont()), savedColor(dc.getTextColor())
{}
~StateSaver(... |
skyward-er/skyward-boardcore | src/shared/sensors/LIS3MDL/LIS3MDLData.h | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/shared/drivers/Transceiver.h | <reponame>skyward-er/skyward-boardcore
/* Copyright (c) 2018 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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, includi... |
skyward-er/skyward-boardcore | src/shared/drivers/adc/InternalADC/InternalADC.h | /* Copyright (c) 2015-2020 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>, <NAME>
*
* 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 limita... |
skyward-er/skyward-boardcore | src/shared/drivers/hbridge/HBridgeData.h | <gh_stars>1-10
/* Copyright (c) 2020 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>
*
* 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 limi... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_gps_tm.h | #pragma once
// MESSAGE GPS_TM PACKING
#define MAVLINK_MSG_ID_GPS_TM 175
MAVPACKED(
typedef struct __mavlink_gps_tm_t {
uint64_t timestamp; /*< [ms] When was this logged*/
double latitude; /*< [deg] Latitude*/
double longitude; /*< [deg] Longitude*/
double height; /*< [m] Altitude*/
float vel_north; /*< [m/s] Ve... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/bitpacking/hermes/LowRateTMPacker.h | <filename>libs/mavlink_skyward_lib/bitpacking/hermes/LowRateTMPacker.h
/**
* Copyright (c) 2019 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... |
skyward-er/skyward-boardcore | src/shared/sensors/old_examples/ADIS16405/ADIS16405.h | <gh_stars>1-10
/* Copyright (c) 2018-2019 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 limitati... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_set_reference_temperature_tc.h | #pragma once
// MESSAGE SET_REFERENCE_TEMPERATURE_TC PACKING
#define MAVLINK_MSG_ID_SET_REFERENCE_TEMPERATURE_TC 24
MAVPACKED(
typedef struct __mavlink_set_reference_temperature_tc_t {
float ref_temp; /*< [degC] Reference temperature*/
}) mavlink_set_reference_temperature_tc_t;
#define MAVLINK_MSG_ID_SET_REFERENCE_... |
skyward-er/skyward-boardcore | src/shared/diagnostic/LogSink.h | <filename>src/shared/diagnostic/LogSink.h
/* Copyright (c) 2021 Skyward Experimental Rocketry
* Author: <NAME>, <NAME>
*
* 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 restricti... |
skyward-er/skyward-boardcore | src/shared/utils/gui/OptionView.h | <reponame>skyward-er/skyward-boardcore
/* Copyright (c) 2021 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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, includi... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/hermes/mavlink_msg_adc_tm.h | <gh_stars>1-10
#pragma once
// MESSAGE ADC_TM PACKING
#define MAVLINK_MSG_ID_ADC_TM 169
MAVPACKED(
typedef struct __mavlink_adc_tm_t {
uint64_t timestamp; /*< When was this logged*/
float hw_baro_volt; /*< Honeywell barometer voltage*/
float nxp_baro_volt; /*< NXP barometer battery_voltage*/
float hw_baro_pres... |
skyward-er/skyward-boardcore | src/shared/sensors/BMX160/BMX160Config.h | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/shared/drivers/modbus/HooksInterface.h | <filename>src/shared/drivers/modbus/HooksInterface.h
/* Copyright (c) 2017 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 restri... |
skyward-er/skyward-boardcore | libs/mxgui/_examples/teapot/teapot_model.h |
/*
* The Utah Teapot in poligonal mesh form, converted to header file starting
* from file teapot.off found @ http://www.holmes3d.net/graphics/teapot/
*
* Note: polygons are mostly quads, but there are some triangles as well,
* and are marked by a negative value for the fourth vertex
* 0.5 was subtracted to the... |
skyward-er/skyward-boardcore | src/shared/events/Event.h | <reponame>skyward-er/skyward-boardcore
/* Copyright (c) 2015-2018 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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, in... |
skyward-er/skyward-boardcore | libs/mxgui/display.h | /***************************************************************************
* Copyright (C) 2011, 2012, 2013, 2014, 2015, 2016 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms... |
skyward-er/skyward-boardcore | src/shared/drivers/Xbee/XbeeStatus.h | <filename>src/shared/drivers/Xbee/XbeeStatus.h<gh_stars>1-10
/* Copyright (c) 2019 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 withou... |
skyward-er/skyward-boardcore | libs/mxgui/_tools/winsimulator/unistd.h | <gh_stars>1-10
#ifndef _UNISTD_H_
#define _UNISTD_H_
#include <Windows.h>
#define usleep(x) Sleep(x/1000)
#endif // _UNISTD_H_
|
skyward-er/skyward-boardcore | src/tests/drivers/xbee/EnergyScanData.h | /* Copyright (c) 2021 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/hermes/mavlink_msg_test_tm.h | <filename>libs/mavlink_skyward_lib/mavlink_lib/hermes/mavlink_msg_test_tm.h<gh_stars>1-10
#pragma once
// MESSAGE TEST_TM PACKING
#define MAVLINK_MSG_ID_TEST_TM 182
MAVPACKED(
typedef struct __mavlink_test_tm_t {
uint32_t timestamp; /*< When was this logged (mission clock)*/
float pressure_hw; /*< Raw pressure fr... |
skyward-er/skyward-boardcore | src/shared/logger/LogStats.h | /* Copyright (c) 2018 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/tests/drivers/xbee/gui/XbeeGui.h | /* Copyright (c) 2021 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/shared/drivers/mavlink/MavlinkDriver.h | <gh_stars>1-10
/* Copyright (c) 2018-2019 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 limitati... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/hermes/mavlink_msg_sm_tm.h | <filename>libs/mavlink_skyward_lib/mavlink_lib/hermes/mavlink_msg_sm_tm.h
#pragma once
// MESSAGE SM_TM PACKING
#define MAVLINK_MSG_ID_SM_TM 164
MAVPACKED(
typedef struct __mavlink_sm_tm_t {
uint64_t timestamp; /*< When was this logged */
float task_10hz_min; /*< 10 Hz task min period*/
float task_10hz_max; /*< ... |
skyward-er/skyward-boardcore | src/shared/diagnostic/PrintLogger.h | /* Copyright (c) 2021 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/shared/diagnostic/StackData.h | <filename>src/shared/diagnostic/StackData.h
/* Copyright (c) 2019 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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, in... |
skyward-er/skyward-boardcore | src/shared/kalman/KalmanEigen.h | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>
*
* 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 righ... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/test/mavlink_msg_noarg_tc.h | #pragma once
// MESSAGE NOARG_TC PACKING
#define MAVLINK_MSG_ID_NOARG_TC 10
MAVPACKED(
typedef struct __mavlink_noarg_tc_t {
uint8_t command_id; /*< A member of the MavCommandList enum.*/
}) mavlink_noarg_tc_t;
#define MAVLINK_MSG_ID_NOARG_TC_LEN 1
#define MAVLINK_MSG_ID_NOARG_TC_MIN_LEN 1
#define MAVLINK_MSG_ID_1... |
skyward-er/skyward-boardcore | src/shared/sensors/analog/battery/BatteryVoltageSensor.h | <filename>src/shared/sensors/analog/battery/BatteryVoltageSensor.h
/* Copyright (c) 2021 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/shared/sensors/calibration/SixParameterCalibration.h | /* Copyright (c) 2021 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/r2a/mavlink_msg_hr_sample_data_tm.h | #pragma once
// MESSAGE HR_SAMPLE_DATA_TM PACKING
#define MAVLINK_MSG_ID_HR_SAMPLE_DATA_TM 155
MAVPACKED(
typedef struct __mavlink_hr_sample_data_tm_t {
uint16_t pressure; /*< Pressure value in raw value //TODO: add calibration curve*/
}) mavlink_hr_sample_data_tm_t;
#define MAVLINK_MSG_ID_HR_SAMPLE_DATA_TM_LEN 2
... |
skyward-er/skyward-boardcore | src/shared/drivers/modbus/slave/SlaveEngine.h | /* Copyright (c) 2017 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/hermes/mavlink_msg_hr_tm.h | <reponame>skyward-er/skyward-boardcore
#pragma once
// MESSAGE HR_TM PACKING
#define MAVLINK_MSG_ID_HR_TM 180
MAVPACKED(
typedef struct __mavlink_hr_tm_t {
uint8_t payload[104]; /*< Payload of the packet. Payload contains various bit-packet data*/
}) mavlink_hr_tm_t;
#define MAVLINK_MSG_ID_HR_TM_LEN 104
#define MA... |
skyward-er/skyward-boardcore | src/shared/drivers/old_examples/piksi/piksi_data.h | <filename>src/shared/drivers/old_examples/piksi/piksi_data.h
/* Copyright (c) 2017-2019 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 w... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_lis3mdl_tm.h | #pragma once
// MESSAGE LIS3MDL_TM PACKING
#define MAVLINK_MSG_ID_LIS3MDL_TM 174
MAVPACKED(
typedef struct __mavlink_lis3mdl_tm_t {
uint64_t timestamp; /*< [ms] When was this logged*/
float mag_x; /*< [rad/s] X axis compass*/
float mag_y; /*< [rad/s] Y axis compass*/
float mag_z; /*< [rad/s] Z axis compass*/
flo... |
skyward-er/skyward-boardcore | libs/mxgui/_tools/code_generators/fixes_parser.h | <gh_stars>1-10
/***************************************************************************
* Copyright (C) 2010, 2011 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it ... |
skyward-er/skyward-boardcore | src/shared/drivers/HardwareTimer.h | <reponame>skyward-er/skyward-boardcore
/* Copyright (c) 2018-2021 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>
*
* 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 restri... |
skyward-er/skyward-boardcore | libs/mxgui/drivers/event_types_stm32f4discovery.h | /***************************************************************************
* Copyright (C) 2014 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms... |
skyward-er/skyward-boardcore | src/shared/drivers/spi/SPITransaction.h | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/shared/events/EventBroker.h | /* Copyright (c) 2015-2018 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>
*
* 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 limitatio... |
skyward-er/skyward-boardcore | libs/mxgui/fonts/miscfixed_bold.h | #ifndef FONT_MISCFIXEDBOLD_H
#define FONT_MISCFIXEDBOLD_H
//This font has been converted from BDF/TTF font format to .h
//using fontrendering utility written by <NAME>.
//Do not modify this file, it has been automatically generated.
const bool miscfixedBoldIsAntialiased=false;
const bool miscfixedBoldIsFixedWidth=true... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_sensors_tm.h | <filename>libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_sensors_tm.h
#pragma once
// MESSAGE SENSORS_TM PACKING
#define MAVLINK_MSG_ID_SENSORS_TM 184
MAVPACKED(
typedef struct __mavlink_sensors_tm_t {
uint64_t timestamp; /*< [ms] */
float bmx160_acc_x; /*< [m/s^2] */
float bmx160_acc_y; /*< [m/s^2] */
flo... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/r2a/mavlink_msg_ignition_status_tm.h | <reponame>skyward-er/skyward-boardcore
#pragma once
// MESSAGE IGNITION_STATUS_TM PACKING
#define MAVLINK_MSG_ID_IGNITION_STATUS_TM 142
MAVPACKED(
typedef struct __mavlink_ignition_status_tm_t {
uint8_t connected; /*< If False the other value are not valid.*/
uint8_t ignition_state; /*< Value of IGNITION_STATUS_E... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/hermes/mavlink_msg_lr_tm.h | #pragma once
// MESSAGE LR_TM PACKING
#define MAVLINK_MSG_ID_LR_TM 181
MAVPACKED(
typedef struct __mavlink_lr_tm_t {
uint8_t payload[40]; /*< Payload of the packet. Payload contains various bit-packet data*/
}) mavlink_lr_tm_t;
#define MAVLINK_MSG_ID_LR_TM_LEN 40
#define MAVLINK_MSG_ID_LR_TM_MIN_LEN 40
#define MAV... |
skyward-er/skyward-boardcore | src/shared/drivers/old_examples/piksi/piksi.h | <reponame>skyward-er/skyward-boardcore
/* Copyright (c) 2017 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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, includi... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/bitpacking/hermes/HighRateTMPacker.h | <reponame>skyward-er/skyward-boardcore<filename>libs/mavlink_skyward_lib/bitpacking/hermes/HighRateTMPacker.h
/**
* Copyright (c) 2019 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documenta... |
skyward-er/skyward-boardcore | libs/mxgui/level2/draw_area.h | <reponame>skyward-er/skyward-boardcore
/***************************************************************************
* Copyright (C) 2014 by <NAME> *
* *
* This program is free software; you can redistribute it a... |
skyward-er/skyward-boardcore | src/shared/utils/gui/View.h | <gh_stars>1-10
/* Copyright (c) 2021 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 th... |
skyward-er/skyward-boardcore | src/shared/sensors/MS5803/MS5803.h | <reponame>skyward-er/skyward-boardcore<filename>src/shared/sensors/MS5803/MS5803.h<gh_stars>1-10
/* Copyright (c) 2015-2021 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>, <NAME>, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docum... |
skyward-er/skyward-boardcore | libs/mxgui/line.h | <filename>libs/mxgui/line.h
/***************************************************************************
* Copyright (C) 2010, 2011 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modif... |
skyward-er/skyward-boardcore | src/shared/utils/collections/SyncCircularBuffer.h | <reponame>skyward-er/skyward-boardcore
/* Copyright (c) 2015-2018 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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, in... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/hermes/testsuite.h | /** @file
* @brief MAVLink comm protocol testsuite generated from hermes.xml
* @see http://qgroundcontrol.org/mavlink/
*/
#pragma once
#ifndef HERMES_TESTSUITE_H
#define HERMES_TESTSUITE_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef MAVLINK_TEST_ALL
#define MAVLINK_TEST_ALL
static void mavlink_test_herme... |
skyward-er/skyward-boardcore | libs/mxgui/_examples/teapot/triangle_fsm.h | /***************************************************************************
* Copyright (C) 2011 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms... |
skyward-er/skyward-boardcore | src/shared/TimestampTimer.h | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Authors: <NAME>, <NAME>
*
* 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 righ... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_test_tm.h | #pragma once
// MESSAGE TEST_TM PACKING
#define MAVLINK_MSG_ID_TEST_TM 182
MAVPACKED(
typedef struct __mavlink_test_tm_t {
uint64_t timestamp; /*< [ms] When was this logged (mission clock)*/
float pressure_hw; /*< Raw pressure from the HoneyWell barometer*/
float temp_analog; /*< Analog board temperature*/
floa... |
skyward-er/skyward-boardcore | libs/mxgui/_examples/benchmark/checkpattern2.h | <reponame>skyward-er/skyward-boardcore<gh_stars>1-10
//This file has been automatcally generated by pngconverter utility
//Please do not edit
#ifndef CHECKPATTERN2_H
#define CHECKPATTERN2_H
#include "mxgui/image.h"
extern const mxgui::Image checkpattern2;
#endif //CHECKPATTERN2_H
|
skyward-er/skyward-boardcore | libs/tscpp/buffer.h | <reponame>skyward-er/skyward-boardcore
/***************************************************************************
* Copyright (C) 2018 by <NAME> *
* *
* This program is free software; you can redistribute it a... |
skyward-er/skyward-boardcore | src/shared/math/Matrix.h | /* Copyright (c) 2016 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | src/shared/sensors/analog/pressure/honeywell/HoneywellPressureSensor.h | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: <NAME>
*
* 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 ... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_set_reference_altitude.h | #pragma once
// MESSAGE SET_REFERENCE_ALTITUDE PACKING
#define MAVLINK_MSG_ID_SET_REFERENCE_ALTITUDE 23
MAVPACKED(
typedef struct __mavlink_set_reference_altitude_t {
float ref_altitude; /*< [m] Reference altitude*/
}) mavlink_set_reference_altitude_t;
#define MAVLINK_MSG_ID_SET_REFERENCE_ALTITUDE_LEN 4
#define MAV... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.