Skip to content

Commit f8bb5d4

Browse files
committed
adds validation for nozzle offsets
1 parent 559d645 commit f8bb5d4

38 files changed

Lines changed: 226 additions & 20 deletions

docs/misc/auto-toolchanger/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If your job requires more than three nozzle tips, by default OpenPnP will pause
1616

1717
1. Insert the labeled nozzle tips into the holder in their respectively labeled slots.
1818

19-
2. Apply some lubricant to the end of your nozzle holder with the lubrication packet included with your nozzles. This is important for repeatably fully attaching the nozzles without damaging the rubber O-rings around the holder.
19+
1. Apply some lubricant to the end of your nozzle holder with the lubrication packet included with your nozzles. This is important for repeatably fully attaching the nozzles without damaging the rubber O-rings around the holder.
2020
![Apply Lubricant to holder](images/apply-super-lube.webp)
2121

2222
1. Click on the `Machine Setup` tab in the top right pane.

docs/misc/calibration/2-connect-to-machine/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Before calibration, the bottom camera and exposure must be set up properly. **We
223223
![Selecting the correct device for the Bottom Camera](../../../openpnp/v4/calibration/2-connect-to-machine/images/21-choose-lumenpnp-bottom-from-dropdown.webp)<br/><br/>
224224

225225
!!! info "Duplicate Camera Names"
226-
If two cameras appear with the same name, select one—if incorrect, choose the other. This is a bug within OpenPnP.
226+
If two cameras appear with the same name, select one. If incorrect, choose the other. This is a bug within OpenPnP.
227227
<br/><br/>
228228

229229
1. **Set Resolution and Frame Rate**
@@ -279,14 +279,14 @@ Before calibration, the bottom camera and exposure must be set up properly. **We
279279
![Make the jog controls more precise](../../../openpnp/v4/calibration/2-connect-to-machine/images/distance-slider-machine-controls.webp)<br/><br/>
280280
* Right click on the bottom camera's feed and select `Show Image Info?` to enable the image info card. This will give you the brightness histogram of the image.<br/><br/>
281281
![enable the image histogram](../../../openpnp/v4/calibration/2-connect-to-machine/images/31-show-histograph-gif.gif)<br/><br/>
282-
* Use the histogram as a general guide rather than a precise measurement—it’s a helpful tool but not exact. For the best results, refer to the comparison photos below, which show examples of 'too bright,' 'too dark,' and 'good exposure' to help you fine-tune your settings after using the histogram.
282+
* Use the histogram as a general guide rather than a precise measurement. It’s a helpful tool but not exact. For the best results, refer to the comparison photos below, which show examples of 'too bright,' 'too dark,' and 'good exposure' to help you fine-tune your settings after using the histogram.
283283
* In the next step, we'll be aiming for a **sharp peak on the right side** and a larger **cluster to the left** in the histogram. See the image below for reference.<br/><br/>
284284
![a good histogram](../../../openpnp/v4/calibration/2-connect-to-machine/images/32-good-exposure-with-histogram.webp)<br/><br/>
285285
!!! Warning "🚨 Important 🚨"
286-
The reference image above is just an example**your histogram may look very different** depending on lighting conditions, camera placement, and other environmental factors. **Do not try to match it exactly.** Instead, focus on achieving the key characteristics: a distinct peak on the right and a noticeable cluster, or peak, to the left. Adjust gradually until the image is clear and well-exposed.
286+
The reference image above is just an example. **Your histogram may look very different** depending on lighting conditions, camera placement, and other environmental factors. **Do not try to match it exactly.** Instead, focus on achieving the key characteristics: a distinct peak on the right and a noticeable cluster, or peak, to the left. Adjust gradually until the image is clear and well-exposed.
287287

288288
1. **Set the Correct Exposure**.
289-
* Adjust the exposure slider, or enter varying manual exposure values, to ensure the camera can clearly detect the dark hole in the nozzle tip for calibration. The exposure should be balanced—bright enough to distinguish the nozzle tip from the background but not so bright that the hole becomes difficult to detect. Aim for a setting where the brightest areas are visible but do not appear completely white, and the darker areas remain well-defined. Use the following images as a reference for adjusting exposure:<br/><br/>
289+
* Adjust the exposure slider, or enter varying manual exposure values, to ensure the camera can clearly detect the dark hole in the nozzle tip for calibration. The exposure should be balanced. Meaning, sbright enough to distinguish the nozzle tip from the background but not so bright that the hole becomes difficult to detect. Aim for a setting where the brightest areas are visible but do not appear completely white, and the darker areas remain well-defined. Use the following images as a reference for adjusting exposure:<br/><br/>
290290
![exposure too high](../../../openpnp/v4/calibration/2-connect-to-machine/images/33-exposure-too-high.webp)<br/><br/>
291291
![exposure too low](../../../openpnp/v4/calibration/2-connect-to-machine/images/34-exposure-too-low.webp)<br/><br/>
292292
![exposure correct](../../../openpnp/v4/calibration/2-connect-to-machine/images/35-good-exposure.webp)<br/><br/>

docs/misc/calibration/4-homing-fiducial/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,15 @@ We also detail this process in our [setup video](https://youtu.be/h3mtEQfGMlM?t=
146146
<br/><br/>
147147

148148
1. Right click on the top camera's feed and select `Show Image Info?` to enable the image info card. This will give you the brightness histogram of the image.
149-
* Use the histogram as a general guide rather than a precise measurement—it’s a helpful tool but not exact. For the best results, refer to the comparison photos below, which show examples of 'too bright,' 'too dark,' and 'good exposure' to help you fine-tune your settings after using the histogram.<br/><br/>
149+
* Use the histogram as a general guide rather than a precise measurement. It’s a helpful tool but not exact. For the best results, refer to the comparison photos below, which show examples of 'too bright,' 'too dark,' and 'good exposure' to help you fine-tune your settings after using the histogram.<br/><br/>
150150
![enable the image histogram](../../../openpnp/v4/calibration/4-homing-fiducial/images/24-show-histogram-for-top-cam.webp)
151151
<br/><br/>
152152

153153
1. Adjust the Top Camera exposure using the slider or entering an exposure value.
154154
* 🚨 **Keep all other camera settings at their default value, and only adjust the exposure slider**.
155155
* Aim for a **sharp peak on the right side** and a larger **cluster to the left** in the histogram. See the image below for reference.<br/><br/>
156156
!!! Warning "🚨 Important 🚨"
157-
The reference image below is just an example**your histogram may look very different** depending on lighting conditions, camera placement, and other environmental factors. **Do not try to match it exactly.** Instead, focus on achieving the key characteristics: a distinct peak on the right and a noticeable cluster to the left. Adjust gradually until the image is clear and well-exposed.<br/><br/>
157+
The reference image below is just an example. **Your histogram may look very different** depending on lighting conditions, camera placement, and other environmental factors. **Do not try to match it exactly.** Instead, focus on achieving the key characteristics: a distinct peak on the right and a noticeable cluster to the left. Adjust gradually until the image is clear and well-exposed.<br/><br/>
158158
![a good histogram](../../../openpnp/v4/calibration/4-homing-fiducial/images/25-good-histogram.webp)<br/><br/>
159159
* Locate and adjust the `Exposure` slider, or manually enter varying exposure values, until the Datum Board is easy to see.<br/><br/>
160160
![exposure too high](../../../openpnp/v4/calibration/4-homing-fiducial/images/26-exposure-too-high.webp)<br/><br/>

docs/openpnp/v4/calibration/2-connect-to-machine/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Follow these steps in order:
123123
1. **Level the nozzles before homing**.
124124

125125
!!! danger "🚨 Critical Warning: Level Nozzles Before Homing 🚨"
126-
**Before pressing the homing button**now and every time in the future**you must ensure that your nozzles are level**.<br/><br/>
126+
**Before pressing the homing button**-now and every time in the future-**you must ensure that your nozzles are level**.<br/><br/>
127127
⚠️ **Failure to do this can cause crashes and potentially damage your machine.**<br/><br/>
128128
OpenPnP **does not** remember the previous nozzle positions from the last homing sequence, meaning it **cannot adjust movements based on past alignment**. If the nozzles are not level before homing, they may collide with the machine, leading to misalignment or serious hardware damage.
129129
![level nozzles](images/level-nozzles-gif.gif)
@@ -210,7 +210,7 @@ Before calibration, the bottom camera and exposure must be set up properly. **We
210210
![Selecting the correct device for the Bottom Camera](images/21-choose-lumenpnp-bottom-from-dropdown.webp)<br/><br/>
211211

212212
!!! info "Duplicate Camera Names"
213-
If two cameras appear with the same name, select one—if incorrect, choose the other. This is a bug within OpenPnP.
213+
If two cameras appear with the same name, select one. If incorrect, choose the other. This is a bug within OpenPnP.
214214
<br/><br/>
215215

216216
1. **Set Resolution and Frame Rate**
@@ -259,14 +259,14 @@ Before calibration, the bottom camera and exposure must be set up properly. **We
259259
![Align over center of bottom camera](images/30-align-over-center-of-bottom-camera-gif.gif)<br/><br/>
260260
* Right click on the bottom camera's feed and select `Show Image Info?` to enable the image info card. This will give you the brightness histogram of the image.<br/><br/>
261261
![enable the image histogram](images/31-show-histograph-gif.gif)<br/><br/>
262-
* Use the histogram as a general guide rather than a precise measurement—it’s a helpful tool but not exact. For the best results, refer to the comparison photos below, which show examples of 'too bright,' 'too dark,' and 'good exposure' to help you fine-tune your settings after using the histogram.
262+
* Use the histogram as a general guide rather than a precise measurement. It’s a helpful tool but not exact. For the best results, refer to the comparison photos below, which show examples of 'too bright,' 'too dark,' and 'good exposure' to help you fine-tune your settings after using the histogram.
263263
* In the next step, we'll be aiming for a **sharp peak on the right side** and a larger **cluster to the left** in the histogram. See the image below for reference.<br/><br/>
264264
![a good histogram](images/32-good-exposure-with-histogram.webp)<br/><br/>
265265
!!! Warning "🚨 Important 🚨"
266-
The reference image above is just an example**your histogram may look very different** depending on lighting conditions, camera placement, and other environmental factors. **Do not try to match it exactly.** Instead, focus on achieving the key characteristics: a distinct peak on the right and a noticeable cluster, or peak, to the left. Adjust gradually until the image is clear and well-exposed.
266+
The reference image above is just an example. **Your histogram may look very different** depending on lighting conditions, camera placement, and other environmental factors. **Do not try to match it exactly.** Instead, focus on achieving the key characteristics: a distinct peak on the right and a noticeable cluster, or peak, to the left. Adjust gradually until the image is clear and well-exposed.
267267

268268
1. **Set the Correct Exposure**.
269-
* Adjust the exposure slider, or enter varying manual exposure values, to ensure the camera can clearly detect the dark hole in the nozzle tip for calibration. The exposure should be balancedbright enough to distinguish the nozzle tip from the background but not so bright that the hole becomes difficult to detect. Aim for a setting where the brightest areas are visible but do not appear completely white, and the darker areas remain well-defined. Use the following images as a reference for adjusting exposure:<br/><br/>
269+
* Adjust the exposure slider, or enter varying manual exposure values, to ensure the camera can clearly detect the dark hole in the nozzle tip for calibration. The exposure should be balanced. Meaning, bright enough to distinguish the nozzle tip from the background but not so bright that the hole becomes difficult to detect. Aim for a setting where the brightest areas are visible but do not appear completely white, and the darker areas remain well-defined. Use the following images as a reference for adjusting exposure:<br/><br/>
270270
![exposure too high](images/33-exposure-too-high.webp)<br/><br/>
271271
![exposure too low](images/34-exposure-too-low.webp)<br/><br/>
272272
![exposure correct](images/35-good-exposure.webp)<br/><br/>

docs/openpnp/v4/calibration/4-homing-fiducial/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,15 @@ We also detail this process in our [setup video](https://youtu.be/h3mtEQfGMlM?t=
146146
<br/><br/>
147147

148148
1. Right click on the top camera's feed and select `Show Image Info?` to enable the image info card. This will give you the brightness histogram of the image.
149-
* Use the histogram as a general guide rather than a precise measurement—it’s a helpful tool but not exact. For the best results, refer to the comparison photos below, which show examples of 'too bright,' 'too dark,' and 'good exposure' to help you fine-tune your settings after using the histogram.<br/><br/>
149+
* Use the histogram as a general guide rather than a precise measurement. It’s a helpful tool but not exact. For the best results, refer to the comparison photos below, which show examples of 'too bright,' 'too dark,' and 'good exposure' to help you fine-tune your settings after using the histogram.<br/><br/>
150150
![enable the image histogram](images/24-show-histogram-for-top-cam.webp)
151151
<br/><br/>
152152

153153
1. Adjust the Top Camera exposure using the slider or entering an exposure value.
154154
* 🚨 **Keep all other camera settings at their default value, and only adjust the exposure slider**.
155155
* Aim for a **sharp peak on the right side** and a larger **cluster to the left** in the histogram. See the image below for reference.<br/><br/>
156156
!!! Warning "🚨 Important 🚨"
157-
The reference image below is just an example**your histogram may look very different** depending on lighting conditions, camera placement, and other environmental factors. **Do not try to match it exactly.** Instead, focus on achieving the key characteristics: a distinct peak on the right and a noticeable cluster to the left. Adjust gradually until the image is clear and well-exposed.<br/><br/>
157+
The reference image below is just an example. **Your histogram may look very different** depending on lighting conditions, camera placement, and other environmental factors. **Do not try to match it exactly.** Instead, focus on achieving the key characteristics: a distinct peak on the right and a noticeable cluster to the left. Adjust gradually until the image is clear and well-exposed.<br/><br/>
158158
![a good histogram](images/25-good-histogram.webp)<br/><br/>
159159
* Locate and adjust the `Exposure` slider, or manually enter varying exposure values, until the Datum Board is easy to see.<br/><br/>
160160
![exposure too high](images/26-exposure-too-high.webp)<br/><br/>
18.6 KB
Loading
25 KB
Loading
17.9 KB
Loading
77.9 KB
Loading
37.1 KB
Loading

0 commit comments

Comments
 (0)