Skip to content

Instantly share code, notes, and snippets.

View nraynaud's full-sized avatar
🌵
learning new things

Nicolas Raynaud nraynaud

🌵
learning new things
View GitHub Profile
@nraynaud
nraynaud / cancel.g
Created February 19, 2025 15:09
Duet3D configuration for multi-tool see https://www.thingiverse.com/thing:4010872
; stop.g
; called when a print is cancelled after a pause.
T-1
G1 X100 Y350 F35000
@nraynaud
nraynaud / Notes Sojourner.md
Last active April 24, 2025 12:15
Notes on the mechanical design of the Sojourner rover

Notes on the mechanical design of the Sojourner rover

Nicolas Raynaud, February 2025

Wanting to build a fun robot mower, I studied the Sojourner rover as a base for my design. Looking at online 3D models, I fell into the rabbit hole of accuracy of historical artefact description. My goal in this document is to show the smart that JPL put in this little rover.

Marie Curie

The Marie Curie rover is a double for Sojourner, two rovers were built at the same time and the best one was selected to be sent to space. Today the Marie Curie rover is exposed at the National Air and Space Museum in DC. Most high resolution photos available are from this rover

@nraynaud
nraynaud / Containerfile
Last active November 10, 2024 22:55
build Zstack with docker
# SPDX-License-Identifier: MIT
#
# Copyright (C) 2024 Olliver Schinagl <[email protected]>
ARG UBUNTU_VERSION="22.04"
ARG TARGET_ARCH="library"
FROM index.docker.io/${TARGET_ARCH}/ubuntu:${UBUNTU_VERSION}
ENV HOME="/build"
@nraynaud
nraynaud / vmdk.grammar
Last active February 26, 2022 01:31
VMDK grammar for synalyze pro
<?xml version="1.0" encoding="UTF-8"?>
<ufwb version="1.17">
<grammar name="VMDK" start="id:6" author="Nicolas Raynaud" email="[email protected]" fileextension=".vmdk">
<description>VMDK streamOptimized file format. Licenced under Affero GPL, the copyright owner is Vates SAS. This is a work for hire by Nicolas Raynaud.</description>
<scripts>
<script name="Sector64" type="DataType" id="142">
<source language="Python"># custom data type script
def parseByteRange(element, byteView, bitPos, bitLength, results):
# this method parses data starting at bitPos, bitLength bits are remaining
@nraynaud
nraynaud / am5729-beagleboneai-custom.dts
Last active December 4, 2020 01:57
beaglebone AI PRU2 unipolar stepper
#include "am5729-beagleboneai.dts"
// make it easy to determine which dtb you're currently running on
// (via /proc/device-tree/chosen/)
/ {
chosen {
base_dtb = "am5729-beagleboneai-custom.dts";
base_dtb_timestamp = __TIMESTAMP__;
};
};
// eventually these should be available in a header
@nraynaud
nraynaud / Save Tool Offsets.g
Created March 20, 2020 20:57
Saving probed tool offset in duet wifi
M500 P10
@nraynaud
nraynaud / 10 Probe Tool Z.g
Last active March 20, 2020 20:56
How to use M585 in Duet wifi
G53 G0 Z30 F10000
G0 X419.2 Y2.6 F10000
M585 F200 Z-23.6 P0 S1 ;
G0 Z30 F10000
@nraynaud
nraynaud / dxf_color.cps
Last active February 16, 2022 23:18
A Fusion 360 DXF post processor whose output uses one color per operation, useful for users of Lasercut 5.3. See: https://www.reddit.com/r/ChineseLaserCutters/comments/b793x5/i_improved_the_dxf_post_processor_for_fusion_360/
/**
Copyright (C) 2015-2018 by Autodesk, Inc.
All rights reserved.
Altered by nraynaud
*/
description = "Color AutoCAD DXF";
vendor = "Autodesk/nraynaud";
vendorUrl = "http://www.autodesk.com";
//! Blinks an LED
#![deny(unsafe_code)]
#![no_std]
#![no_main]
//MCU: STM32F103C8T699
extern crate panic_halt;
use rtfm::{app, Instant, Duration};
use stm32f103xx_hal::{
Summary: blktap user space utilities
Name: blktap
Version: 3.5.0
Release: 1.12test
License: BSD
Group: System/Hypervisor
URL: https://github.com/xapi-project/blktap
Patch0: pull_request_228__CA-222124_Handle_race_condition_in_tap-ctl_spawn
Patch1: pull_request_229__ca-223652__add_delay_to_reduce_number_of_syslog_messages
Patch2: pull_request_231__cp-14449__fix_version_and_release_tag_in_specfile