Skip to content

Instantly share code, notes, and snippets.

View DeltaDizzy's full-sized avatar

DeltaDizzy DeltaDizzy

View GitHub Profile
@DeltaDizzy
DeltaDizzy / Robot.Java
Last active January 29, 2023 19:09
LTVDifferentialDriveController repro code
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot;
import edu.wpi.first.math.VecBuilder;
import edu.wpi.first.math.controller.LTVDifferentialDriveController;
import edu.wpi.first.math.system.plant.LinearSystemId;
import edu.wpi.first.wpilibj.TimedRobot;
@Kopernicus:FINAL
{
@Body[Kerbin]
{
@PQS
{
@Mods
{
@Subdivide
{

[06-Jul-17 07:11 PM] Shephrey#7269 the Shrek Chevy kills all speed detectives<|endoftext|>Psalm 13:16-17 New International Version (NIV) God's Flying Rover | The Hiding of God's Hands 16 When a man sees the glory of God in the Lord he forgets His days 4 As the golden image of Her, covering the heavens and surrounding regions, rises up from among His people. 5 Now, look, she is the Veiled One. 6 A woman. Look west, she is The Spongest One. 5 Look east, She is Chastened One, covering the entire earth. 6 She stands before the Beloved One. 7 She pleases and does not judge. She is His loving companions. 7 ...See, their eyes are like stars. 8 They only

@PART[bluedog_BigG_Cabin]:NEEDS[SnacksStress]
{
MODULE
{
name = SnacksConverter
ConverterName = Stargazing
StartActionName = Start Stargazing
StopActionName = Stop Stargazing
AutoShutdown = false
GeneratesHeat = false
WHERE_CAN_I_GO //base node. Must be included at all times.
{
notes = Beyond Home
BODY
{
name = Kerbin //Must match the bodies internal name.
displayName = Rhode //If the body has a different name in game, it can be inserted here.
flybyDV = -1 //-1 indicates that the task is impossible and will display "N/A" in the UI.
orbitDV = 2544 //Figures should always include DV to get to orbit of the homeworld. (mod will handle removing those itself when needed)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NeverBasicTweaks
{
class PowerWarningTestModule : PartModule
{
CLEARSCREEN.
LOCK THROTTLE TO 1.0.
FROM {local count is 10.} UNTIL count = 0 STEP {SET count to countdown - 1} DO
{
PRINT count.
//etc
}
// Mun => Lua
@CONTRACT_TYPE:HAS[#group[PBCgroup],#targetBody[Mun]]:NEEDS[BeyondHome]
{
title ^= :(The\sMun):Lua:
}
SNACKS_RESOURCE_INTRO:NEEDS[SnacksTAC]
{
name = Water
title = Water
description = Ever wondered where kerbals get their fluids? Well wonder no more! Now you must provide water for your kerbals in addition to food and (if you are running FreshAir) oxygen.
}
RESOURCE_DEFINITION:NEEDS[SnacksTAC]
{
name = WaterLS
@WHERE_CAN_I_GO:AFTER[SigDim2]:NEEDS[SigmaDimensions]
{
scaleMult = #$@SigmaDimensions/Rescale$
dvmult = scalemult
@dvmult != 0.5
@BODY,*
{
@flybyDV *= dvmult
@orbitDV *= dvmult