help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the Elisp robot [photo]


From: Emanuel Berg
Subject: Re: the Elisp robot [photo]
Date: Wed, 21 Oct 2020 08:41:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Jean Louis wrote:

> How does it communicate with droid?

:) ... I'm not following, what is "it"?

> By which communication line?

The communication line from my computer to the robot
is WiFi!

So: install the Debian-ish ev3dev OS, get the bot
online, ssh to the bot, install Emacs, bring over the
initial set of Elisp files, run Emacs with them on
the bot, they call the robot's primitives.

It can look like this:

(defun color-stop-on-color (&optional color)
  (let ((stop-color (or color 1))) ; 1 = black
    (when (and (string= stop-color (color-get-color))
               (moving-forward-p) )
      (ev3-stop) )))

https://dataswamp.org/~incal/terror-3/ev3-color-stop-on-color.el

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]