<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rsewiki.electro.dtu.dk/index.php?action=history&amp;feed=atom&amp;title=CLIPS_interface</id>
	<title>CLIPS interface - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rsewiki.electro.dtu.dk/index.php?action=history&amp;feed=atom&amp;title=CLIPS_interface"/>
	<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=CLIPS_interface&amp;action=history"/>
	<updated>2026-04-16T18:11:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=CLIPS_interface&amp;diff=218&amp;oldid=prev</id>
		<title>Lvm: New page: CLIPS [http://www.ghg.net/clips/CLIPS.html] is an AI programming language, used in the course 31380, Intelligent Systems [http://www.iau.dtu.dk/teaching/31380/].  At Automation we have mad...</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=CLIPS_interface&amp;diff=218&amp;oldid=prev"/>
		<updated>2008-09-29T12:15:10Z</updated>

		<summary type="html">&lt;p&gt;New page: CLIPS [http://www.ghg.net/clips/CLIPS.html] is an AI programming language, used in the course 31380, Intelligent Systems [http://www.iau.dtu.dk/teaching/31380/].  At Automation we have mad...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;CLIPS [http://www.ghg.net/clips/CLIPS.html] is an AI programming language, used in the&lt;br /&gt;
course 31380, Intelligent Systems [http://www.iau.dtu.dk/teaching/31380/].&lt;br /&gt;
&lt;br /&gt;
At Automation we have made a special version of CLIPS with an interface to our Small&lt;br /&gt;
Mobile Robots. This version is available both in GNU/Linux and MS Windows.&lt;br /&gt;
&lt;br /&gt;
The interface provides the following 3 CLIPS functions.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;SMRConnect&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 SMRConnect()&lt;br /&gt;
 SMRConnect(hostname)&lt;br /&gt;
 SMRConnect(hostname, port)&lt;br /&gt;
In the first form, CLIPS must be running on the SMR itself.&lt;br /&gt;
In the second form, CLIPS can be running on any computer on the network.&lt;br /&gt;
In the third form, a non-standard port number can be specified - this is not normally needed.&lt;br /&gt;
   hostname:   The SMR to connect to. A string or symbol.&lt;br /&gt;
   port:   The TCP port to connect to. An integer.&lt;br /&gt;
&lt;br /&gt;
A connection is established to the SMR server program.&lt;br /&gt;
The return value is a Boolean, indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
NB! Before the SMRConnect call is performed the clipsserver must be started on the used SMR i.e.&lt;br /&gt;
logon the SMR using ssh, start the server /usr/local/smr/bin/clipsserver and choose menupoint 17.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;SMRTalk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 SMRTalk(command)&lt;br /&gt;
   command:   The command to send to the SMR server. A string.&lt;br /&gt;
&lt;br /&gt;
A command is sent to the SMR server program and the response is returned.&lt;br /&gt;
The return value is a string.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;SMRDisconnect&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 SMRDisconnect()&lt;br /&gt;
&lt;br /&gt;
Any existing connection to an SMR is terminated. The return value is the Boolean TRUE.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ /usr/local/smr/bin/smrclips &lt;br /&gt;
          CLIPS (V6.21 06/15/03)&lt;br /&gt;
 CLIPS&amp;gt; (SMRConnect smr4)&lt;br /&gt;
 TRUE&lt;br /&gt;
 CLIPS&amp;gt; (SMRTalk &amp;quot;fwd 1 @v0.2&amp;quot;)&lt;br /&gt;
 &amp;quot;ID1&amp;quot;&lt;br /&gt;
 CLIPS&amp;gt; (SMRTalk &amp;quot;eval $odox&amp;quot;)&lt;br /&gt;
 &amp;quot;0.997012 &amp;quot;&lt;br /&gt;
 CLIPS&amp;gt; (SMRTalk &amp;quot;getevent 5&amp;quot;)&lt;br /&gt;
 &amp;quot;ID1 stopcond 0.000000&amp;quot;&lt;br /&gt;
 CLIPS&amp;gt; (SMRDisconnect)&lt;br /&gt;
 TRUE&lt;br /&gt;
 CLIPS&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lvm</name></author>
	</entry>
</feed>