Skip to content

Instantly share code, notes, and snippets.

View wolfmanjm's full-sized avatar

Jim Morris wolfmanjm

View GitHub Profile
Math::Clipper::_offset: polygons is not an array reference or contains invalid data at /usr/local/lib/perl/5.10.1/Math/Clipper.pm line 60.
# generated by Slic3r 0.9.9-dev on Mon Feb 4 09:57:15 2013
avoid_crossing_perimeters = 1
bed_size = 180,180
bed_temperature = 0
bottom_solid_layers = 3
bridge_fan_speed = 100
bridge_flow_ratio = 0.6
bridge_speed = 20
brim_width = 0
complete_objects = 0
[48643.028561] usb 2-2.3: new full speed USB device using ehci_hcd and address 41
[48658.116062] usb 2-2.3: device descriptor read/64, error -110
[48673.308209] usb 2-2.3: device descriptor read/64, error -110
[49200.300582] INFO: task lsusb:20648 blocked for more than 120 seconds.
[49200.300586] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[49200.300589] lsusb D 0026bd97 0 20648 3359 0x00000004
[49200.300595] f69f1e68 00200086 f69f1e24 0026bd97 00000000 c08964e0 f68428e4 c08964e0
[49200.300605] 32ebb2d5 00002ca0 c08964e0 c08964e0 f68428e4 c08964e0 c08964e0 eafbf500
[49200.300613] 32e9119b 00002ca0 f6842640 7fffffff f6cc5c98 f6842640 f69f1ec8 c05b761d
[49200.300622] Call Trace:
#0 0x00000000 in ?? ()
#1 <signal handler called>
#2 0x00020c40 in std.isra.0 ()
#3 0x00020ce6 in __sinit ()
#4 0x00020d16 in __sfp ()
#5 0x00020dbe in _fopen_r ()
#6 0x0001d48e in mbed::Stream::Stream(char const*) ()
#7 0x0001478e in StreamOutput (this=0x10000bdc, u=0x10000a60) at ./src/libs/StreamOutput.h:16
#8 USBSerial::USBSerial (this=0x10000bdc, u=0x10000a60) at src/libs/USBDevice/USBSerial/USBSerial.cpp:32
#9 0x00004808 in __static_initialization_and_destruction_0 () at src/main.cpp:47
@wolfmanjm
wolfmanjm / handoff.c
Created February 12, 2013 10:17
Better secondary bootloader handoff found here http://knowledgebase.nxp.trimm.net/showthread.php?t=2869
// a supposedly better way of executing secondary program
static void boot(uint32_t a)
{
__asm (
"MOV.W R0, #16384\n"
"LDR SP, [R0]\n"
"LDR PC, [R0, #4]\n"
);
}
6a3328dfe514e66a98c0cf5adc7252d333567e83 is the first bad commit
commit 6a3328dfe514e66a98c0cf5adc7252d333567e83
Author: Ben Gamari <[email protected]>
Date: Sun Feb 10 16:54:44 2013 -0500
Gcode: Make command const
This also kills allocations from indexing
:040000 040000 afb33ab780fa3149a6967e004b576ba223b29cbb 06c1edecbd41fe01df46450de010678140f4eb56 M src
#0 on_idle (this=0x10005140, argument=<optimized out>) at src/modules/robot/Player.cpp:40
#1 Player::on_idle (this=0x10005140, argument=<optimized out>) at src/modules/robot/Player.cpp:32
#2 0x00005b40 in Kernel::call_event (this=0x100020c8, id_event=<optimized out>) at src/libs/Kernel.cpp:116
#3 0x0000b738 in Player::pop_and_process_new_block (this=0x10006830, debug=676095) at src/modules/robot/Player.cpp:96
#4 0x100015e0 in ?? ()
Register 25 is not available
35 {
36 Block* block = queue.get_ref(0);
37 // printf("Block: clean %p\n", block);
38 while (block->gcodes.size())
/*
This file is part of Smoothie (http://smoothieware.org/). The motion control part is heavily based on Grbl (https://github.com/simen/grbl).
Smoothie is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Smoothie is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Smoothie. If not, see <http://www.gnu.org/licenses/>.
*/
#include <string>
using std::string;
// Center-to-center distance of the holes in the diagonal push rods.
#define DELTA_DIAGONAL_ROD 430.0 // mm
// Horizontal offset from middle of printer to smooth rod center.
#define DELTA_SMOOTH_ROD_OFFSET 288.675 // mm
// Horizontal offset of the universal joints on the end effector.
#define DELTA_EFFECTOR_OFFSET 50.0 // mm
// Horizontal offset of the universal joints on the carriages.
@wolfmanjm
wolfmanjm / gist:4963854
Created February 15, 2013 21:53
New endstop settings
alpha_fast_homing_rate 6000 # rates in steps/second
beta_fast_homing_rate 6000 #
gamma_fast_homing_rate 6000 #
alpha_slow_homing_rate 2000 #
beta_slow_homing_rate 2000 #
gamma_slow_homing_rate 2000
alpha_homing_retract 1000 #
beta_homing_retract 1000 #
gamma_homing_retract 1000 #