Another slew of updates to the RMOD software
Posted: Wed Jan 06, 2016 10:35 am
I've been trying to get the RMOD up to par for production and i believe i might finally be there. Most of the issues reported in juhas repo are fixed at this point, including the tape orientation error. This has not been thoroughly tested yet as i don't use it myself, the set last / set first is so much faster. Anyway things i've added / fixed:
Full nozzle changer support with an option to use different video filters for different nozzles during calibration. All components are now bound to a nozzle (if the nozzle changer is enabled) and the machine will automatically change nozzle if necessary during placement and recalibrate. I've also added simple functions to move around the job order so that one can optimize for as few nozzle changes as possible.
Simple obstacle avoidance - this currently only works reliably on obstacles that are set at the edges of the machine, i needed this as the machine will bump into the feeders otherwise - not sure if it's useful to anyone else.
Pressure sensor averaging - because of the possibility of erroneous values coming from the ADC due to the immense filth in the powerlines the software takes 10 readings and averages the value. This will soon be replaced with a median routine instead so i can weed out values that are obviously wrong.
Feeder error setting - if the machine fails at picking up from a feeder 3 times in a row the feeder is taken out of commission and marked as having an error, this will need to be reset by the operator before the feeder will be used again.
Check for redundant moves - the machine won't try to go to a location where it's already at since the software can't understand the reports it's getting back in that case.
Added an automatic movement to Y 0 at the startup of the software, this is necessary in order to avoid the "creeping" that happens if the software is being restarted without the TinyG being reset.
Z axis cannot be joggedd below the table anymore.
Quit menu works.
Null pointer check in the camera detection routines.
Added a message if up camera zeroing fails.
The code can be found here; https://github.com/Knaster/LitePlacer-ver2
Please let me know if you have any issues, i'll probably do a pull request against Juhas master shortly.
I have also done a bunch of hardware upgrades that i'm soon to post about, one of them being a separate power supply and simple line driver for the pressure sensor - in my opinion it simply wasn't possible to get reliable results from the sensor using the TinyG's supply. However the sensor is amazing, placed my first complete board without a single missed component the other day - and that's ~200 components.
-Karl
Full nozzle changer support with an option to use different video filters for different nozzles during calibration. All components are now bound to a nozzle (if the nozzle changer is enabled) and the machine will automatically change nozzle if necessary during placement and recalibrate. I've also added simple functions to move around the job order so that one can optimize for as few nozzle changes as possible.
Simple obstacle avoidance - this currently only works reliably on obstacles that are set at the edges of the machine, i needed this as the machine will bump into the feeders otherwise - not sure if it's useful to anyone else.
Pressure sensor averaging - because of the possibility of erroneous values coming from the ADC due to the immense filth in the powerlines the software takes 10 readings and averages the value. This will soon be replaced with a median routine instead so i can weed out values that are obviously wrong.
Feeder error setting - if the machine fails at picking up from a feeder 3 times in a row the feeder is taken out of commission and marked as having an error, this will need to be reset by the operator before the feeder will be used again.
Check for redundant moves - the machine won't try to go to a location where it's already at since the software can't understand the reports it's getting back in that case.
Added an automatic movement to Y 0 at the startup of the software, this is necessary in order to avoid the "creeping" that happens if the software is being restarted without the TinyG being reset.
Z axis cannot be joggedd below the table anymore.
Quit menu works.
Null pointer check in the camera detection routines.
Added a message if up camera zeroing fails.
The code can be found here; https://github.com/Knaster/LitePlacer-ver2
Please let me know if you have any issues, i'll probably do a pull request against Juhas master shortly.
I have also done a bunch of hardware upgrades that i'm soon to post about, one of them being a separate power supply and simple line driver for the pressure sensor - in my opinion it simply wasn't possible to get reliable results from the sensor using the TinyG's supply. However the sensor is amazing, placed my first complete board without a single missed component the other day - and that's ~200 components.
-Karl