The below explaination was generated by google gemini
This file contains hidden or 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
| WARNING: This binary was built with 'go build' directly. | |
| Use 'make build' to create a properly signed binary. | |
| ✓ town-config-exists mayor/town.json exists | |
| ✓ town-config-valid mayor/town.json valid (name=gt_0_7, version=2) | |
| ✓ rigs-registry-exists mayor/rigs.json exists | |
| ✓ rigs-registry-valid All 1 registered rig(s) exist | |
| ✓ mayor-exists mayor/ directory exists with required files | |
| ⚠ global-state Shell integration not installed | |
| ✓ stale-binary Cannot locate gt source repo (not a development environment) |
This file contains hidden or 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
| // Let's calculate some relevant quantities for neutrino interactions | |
| // Physical constants | |
| const hbar = 1.055e-34; // J⋅s | |
| const c = 3e8; // m/s | |
| const G_F = 1.166e-5; // Fermi coupling constant in GeV^-2 | |
| const m_e = 0.511e-3; // electron mass in GeV | |
| const alpha = 1/137; // fine structure constant | |
| console.log("=== Neutrino Interaction Analysis ==="); |
This file contains hidden or 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
| # | |
| # CREATE A NEW FLATCAM TCL SCRIPT | |
| # TCL Tutorial here: https://www.tcl.tk/man/tcl8.5/tutorial/tcltutorial.html | |
| # | |
| # FlatCAM commands list: | |
| # AddCircle, AddPolygon, AddPolyline, AddRectangle, AlignDrill, AlignDrillGrid, ClearShell, ClearCopper, | |
| # Cncjob, Cutout, Delete, Drillcncjob, ExportGcode, ExportSVG, Exteriors, GeoCutout, GeoUnion, GetNames, | |
| # GetSys, ImportSvg, Interiors, Isolate, Follow, JoinExcellon, JoinGeometry, ListSys, MillDrills, | |
| # MillSlots, Mirror, New, NewGeometry, Offset, OpenExcellon, OpenGCode, OpenGerber, OpenProject, |
This file contains hidden or 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
| % | |
| (1 noface fix rub) | |
| N10 G7 | |
| N15 G90 G18 | |
| N20 G21 | |
| (WHEN USING FUSION FOR PERSONAL USE, THE FEEDRATE OF RAPID) | |
| (MOVES IS REDUCED TO MATCH THE FEEDRATE OF CUTTING MOVES,) | |
| (WHICH CAN INCREASE MACHINING TIME. UNRESTRICTED RAPID MOVES) | |
| (ARE AVAILABLE WITH A FUSION SUBSCRIPTION.) |
This file contains hidden or 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
| from Cheetah.Template import Template | |
| # Template string | |
| template_str = """ | |
| #include <stdio.h> | |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif |
This file contains hidden or 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
| module quadencoderz2 | |
| #( | |
| parameter BITS = 32, | |
| parameter QUAD_TYPE = 0 | |
| ) | |
| ( | |
| input clk, | |
| input a, | |
| input b, | |
| input z, |
This file contains hidden or 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
| #include <Arduino.h> | |
| #include <cmath> | |
| #include "driver/timer.h" | |
| // Quadrature encoder pins | |
| #define PIN_A (16) | |
| #define PIN_B (17) |
This file contains hidden or 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
| ############################################################################### | |
| ## PROJECT PARAMETERS ## | |
| ############################################################################### | |
| # Configure your project parameters here. | |
| # | |
| # IMPORTANT: | |
| # If a parameter is not found here, Pose2Sim will look for its value in the | |
| # Config.toml file of the level above. This way, you can set global |
This file contains hidden or 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
| from collections import defaultdict | |
| import cv2 | |
| from ultralytics import YOLO | |
| from ultralytics.utils.plotting import Annotator, colors | |
| track_history = defaultdict(lambda: []) | |
| model = YOLO("/home/schoch/rocm_pytorch/runs/segment/train28/weights/best.pt") # segmentation model |
NewerOlder