Skip to content

Instantly share code, notes, and snippets.

View olliewalsh's full-sized avatar

Oliver Walsh olliewalsh

View GitHub Profile
@olliewalsh
olliewalsh / YardForce_Classic_Mower_Motor.xml
Last active May 5, 2024 11:43
my YardForce Classic Mower Motor conf
<?xml version="1.0" encoding="UTF-8"?>
<MCConfiguration>
<pwm_mode>1</pwm_mode>
<comm_mode>0</comm_mode>
<motor_type>2</motor_type>
<sensor_mode>0</sensor_mode>
<l_current_max>6</l_current_max>
<l_current_min>-2</l_current_min>
<l_in_current_max>3</l_in_current_max>
<l_in_current_min>-1</l_in_current_min>
PARAMETERS
* /rosdistro: noetic
* /rosversion: 1.15.14
* /ublox/config_on_startup: False
* /ublox/device: tcp://127.0.0.1:4242
* /ublox/frame_id: gps
* /ublox/publish/all: True
NODES
/
heat_template_version: rocky
description: >
OpenStack containerized Nova Compute service
parameters:
DockerNovaComputeImage:
description: image
type: string
DockerNovaLibvirtConfigImage:
@olliewalsh
olliewalsh / gist:9550867
Last active August 29, 2015 13:57
salt #10798
class Auth(object):
'''
The Auth class provides the sequence for setting up communication with
the master server from a minion.
'''
def __init__(self, opts):
self.opts = opts
self.token = Crypticle.generate_key_string()
self.serial = salt.payload.Serial(self.opts)
self.pub_path = os.path.join(self.opts['pki_dir'], 'minion.pub')