<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.robopad.co.uk/index.php?action=history&amp;feed=atom&amp;title=Math_Node</id>
	<title>Math Node - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.robopad.co.uk/index.php?action=history&amp;feed=atom&amp;title=Math_Node"/>
	<link rel="alternate" type="text/html" href="https://wiki.robopad.co.uk/index.php?title=Math_Node&amp;action=history"/>
	<updated>2026-08-10T08:46:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>https://wiki.robopad.co.uk/index.php?title=Math_Node&amp;diff=357&amp;oldid=prev</id>
		<title>Blayze: /* Binary Operators */ Adds note about math node using radians</title>
		<link rel="alternate" type="text/html" href="https://wiki.robopad.co.uk/index.php?title=Math_Node&amp;diff=357&amp;oldid=prev"/>
		<updated>2026-07-07T17:17:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Binary Operators: &lt;/span&gt; Adds note about math node using radians&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:17, 7 July 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Unary operators only act on the first input value, however just like when using a binary operator &amp;#039;&amp;#039;&amp;#039;those values must still be connected to other nodes for the Math Node to output a value&amp;#039;&amp;#039;&amp;#039;, so it is best to reduce &amp;#039;&amp;#039;Input Count&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; when using a unary operator.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Unary operators only act on the first input value, however just like when using a binary operator &amp;#039;&amp;#039;&amp;#039;those values must still be connected to other nodes for the Math Node to output a value&amp;#039;&amp;#039;&amp;#039;, so it is best to reduce &amp;#039;&amp;#039;Input Count&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; when using a unary operator.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;All angular operations work in &#039;&#039;&#039;radians&#039;&#039;&#039;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Binary Operators ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Binary Operators ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* add                                                                     &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                                                     &lt;/del&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* add                                                                      &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* subtract&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* subtract&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* multiply&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* multiply&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Blayze</name></author>
	</entry>
	<entry>
		<id>https://wiki.robopad.co.uk/index.php?title=Math_Node&amp;diff=235&amp;oldid=prev</id>
		<title>Blayze: Adds Math Node page.</title>
		<link rel="alternate" type="text/html" href="https://wiki.robopad.co.uk/index.php?title=Math_Node&amp;diff=235&amp;oldid=prev"/>
		<updated>2023-03-08T03:36:10Z</updated>

		<summary type="html">&lt;p&gt;Adds Math Node page.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Return to nodes}}&lt;br /&gt;
{{Node Data&lt;br /&gt;
|title=Math Node&lt;br /&gt;
|gallery=&amp;lt;gallery mode=&amp;quot;slideshow&amp;quot;&amp;gt;&lt;br /&gt;
File:Math-node.png&lt;br /&gt;
File:Math-settings.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|input-list=&amp;lt;li&amp;gt;a&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;b&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;[...N]&amp;lt;/li&amp;gt;&lt;br /&gt;
|output-list=&amp;lt;li&amp;gt;result&amp;lt;/li&amp;gt;&lt;br /&gt;
|version=2.3-b1&lt;br /&gt;
}}&lt;br /&gt;
The Math Node is a simple node that performs basic mathematical computation on signals passed into it&amp;#039;s input ports. It can have two or more input ports. It is important to note that &amp;#039;&amp;#039;&amp;#039;the Math Node will only emit a &amp;#039;&amp;#039;result&amp;#039;&amp;#039; when all inputs have been populated (a.k.a. all input ports are connected to other nodes)&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Math Nodes were introduced in [[Firmware Releases|firmware version]] 2.3-b1.&lt;br /&gt;
&lt;br /&gt;
==Settings==&lt;br /&gt;
The Math Node only has two settings:&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Function&amp;#039;&amp;#039;&amp;#039;: Specifies the mathematical operator this node will use on it&amp;#039;s input signals. See &amp;quot;Operators List&amp;quot; below for more information on the behaviour of each operator.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Input Count&amp;#039;&amp;#039;&amp;#039;: Specifies how many inputs this operator will act over. Note that &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;inputs must be connected to other nodes&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Operators List ==&lt;br /&gt;
The Math Node has a number of operators that can be selected. Binary operators operate on two or more input signals - they iteratively combine each input, for instance, using an addition (&amp;quot;add&amp;quot;) operator with 3 inputs, &amp;#039;&amp;#039;a, b &amp;amp; c&amp;#039;&amp;#039;, will produce a result of &amp;#039;&amp;#039;a+b+c&amp;#039;&amp;#039;. Similarly, a division operator (&amp;quot;divide&amp;quot;) will result in &amp;#039;&amp;#039;(a/b)/c&amp;#039;&amp;#039;, iteratively operating the output of the output of the operator on the first two with the next, and then the next until the end of the input list. If you provide just a single input to a binary operator no operation will occur and the value will simply be forwarded to the &amp;#039;&amp;#039;result&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Unary operators only act on the first input value, however just like when using a binary operator &amp;#039;&amp;#039;&amp;#039;those values must still be connected to other nodes for the Math Node to output a value&amp;#039;&amp;#039;&amp;#039;, so it is best to reduce &amp;#039;&amp;#039;Input Count&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; when using a unary operator.&lt;br /&gt;
&lt;br /&gt;
=== Binary Operators ===&lt;br /&gt;
&lt;br /&gt;
* add                                                                                                                                           &lt;br /&gt;
* subtract&lt;br /&gt;
* multiply&lt;br /&gt;
* divide&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
* mod&lt;br /&gt;
* pow&lt;br /&gt;
* atan2&lt;br /&gt;
&lt;br /&gt;
=== Unary Operators ===&lt;br /&gt;
&lt;br /&gt;
* sqrt&lt;br /&gt;
* abs&lt;br /&gt;
* sin&lt;br /&gt;
* cos&lt;br /&gt;
* tan&lt;br /&gt;
* asin&lt;br /&gt;
* acos&lt;br /&gt;
* atan&lt;br /&gt;
* log&lt;br /&gt;
* exp&lt;br /&gt;
* floor&lt;br /&gt;
* ceil&lt;br /&gt;
* round&lt;br /&gt;
* sign&lt;/div&gt;</summary>
		<author><name>Blayze</name></author>
	</entry>
</feed>