[Mod] Signs Bot [signs_bot]

[Mod] Signs Bot [signs_bot]

Postby joe7575 » Sun Apr 07, 2019 4:04 pm

A robot controlled by signs.

Image

The bot can only be controlled by signs that are placed in its path.
After starting, the bot runs in the default direction until it encounters a sign. There, the commands on the sign are processed.
Signs are available for many standard tasks.
There is also a sign that can be programmed by the player, which then is processed by the bot.
But there are not programming skills needed, Bot commands are similar to chat commands.

Videos Tutorials (in German language):
https://youtu.be/odqUJhSBxYY
https://youtu.be/B9-CFvx9X3I

Further blocks:
  • Sensors: These can send a signal to an actuator if they are connected to the actuator.
  • Actuators: These perform an action when they receive a signal from a sensor.

Sensors must be connected (paired) with actuators, by means of the Connection Tool. Click on both blocks one after the other. A successful pairing is indicated by a ping / pong noise.

When pairing, the current state of the actuator is important.
The state of the actuator is saved with the pairing and restored by the received signal. For example, the robot can be switched on or off via a node sensor.

An actuator can receive signals from many sensors. A sensor can only be connected to an actuator. However, if several actuators are to be controlled by one sensor, a signal extender block can be used. This connects to a sensor when it is placed next to the sensor. This extender can then be paired with another actuator.

Sensors are:
  • Bot Sensor: sends a signal when the robot passes by
  • Node Sensor: sends a signal when it detects a block (tree, cactus, flower, etc.)
  • Crop Sendor: Sends a signal when, for example, the wheat is fully grown

Actuators are:
  • Control Unit: Can place up to 4 signs and steer the bot e.g. in different directions.
  • Signs Bot Box: Can be turned off and on
  • Bot Chest: Sends a signal depending on the chest state. Possible states are "empty", "not empty", "almost full". The state to be sent is defined while pairing.

In addition, there are currently the following blocks:

  • The duplicator is used to copy Command Signs, i.e. the signs with their own commands.
  • Bot Flap: The "cat flap" is a door for the bot, which he opens automatically and closes behind him.
  • Sensor Extender for controlling additional actuators from one sensor signal

More information:
+ Spoiler


The code is on GitHub.

License
Copyright (C) 2019 Joachim Stolberg
Code: Licensed under the GNU LGPL version 2.1 or later. See LICENSE.txt


Dependencies
default, farming, basic_materials, tubelib2, node_io
optional: farming redo
joe7575
Member
 
Posts: 300
Joined: Mon Apr 24, 2017 8:38 pm
GitHub: joe7575
In-game: JoSto

Re: [Mod] Signs Bot [signs_bot]

Postby niwla23 » Mon Apr 08, 2019 6:37 am

Please add to content.minetest.net
niwla23
Member
 
Posts: 92
Joined: Sat Nov 17, 2018 5:40 pm
In-game: Niwla

Re: [Mod] Signs Bot [signs_bot]

Postby joe7575 » Mon Apr 08, 2019 7:29 pm

niwla23 wrote:Please add to content.minetest.net


Was added, but still needs to be approved.
joe7575
Member
 
Posts: 300
Joined: Mon Apr 24, 2017 8:38 pm
GitHub: joe7575
In-game: JoSto

Re: [Mod] Signs Bot [signs_bot]

Postby niwla23 » Tue Apr 09, 2019 6:58 am

ok, nice
niwla23
Member
 
Posts: 92
Joined: Sat Nov 17, 2018 5:40 pm
In-game: Niwla

Re: [Mod] Signs Bot [signs_bot]

Postby runs » Tue Apr 09, 2019 8:23 am

Cool for students/teachers.
runs
Member
 
Posts: 361
Joined: Sat Oct 27, 2018 8:32 am
GitHub: runsy

Re: [Mod] Signs Bot [signs_bot]

Postby Linuxdirk » Tue Apr 09, 2019 9:32 am

joe7575 wrote:Was added, but still needs to be approved.

Yep, approval seems to take some time currently.
Linuxdirk
Member
 
Posts: 1907
Joined: Wed Sep 17, 2014 11:21 am
In-game: Linuxdirk

Re: [Mod] Signs Bot [signs_bot]

Postby twoelk » Tue Apr 09, 2019 9:35 am

runs wrote:Cool for students/teachers.

indeed, and thus added to the list at https://wiki.minetest.net/Mods:Learning
twoelk
Member
 
Posts: 1304
Joined: Fri Apr 19, 2013 4:19 pm
GitHub: twoelk
In-game: twoelk

Re: [Mod] Signs Bot [signs_bot]

Postby joe7575 » Thu Apr 11, 2019 8:32 pm

Update:
v0.04 is available with the following changes:
  • the mod 'node_io' is used for inventory puts/takes
  • Bot Chest added which can act as a sensor ("empty", "not empty", "almost full")
  • further Bot commands added
joe7575
Member
 
Posts: 300
Joined: Mon Apr 24, 2017 8:38 pm
GitHub: joe7575
In-game: JoSto

Re: [Mod] Signs Bot [signs_bot]

Postby joe7575 » Sat Apr 13, 2019 3:02 pm

Now there are two video tutorials available, unfortunately only in German (it's more Swabian then German :))
https://youtu.be/odqUJhSBxYY
https://youtu.be/B9-CFvx9X3I
joe7575
Member
 
Posts: 300
Joined: Mon Apr 24, 2017 8:38 pm
GitHub: joe7575
In-game: JoSto

Re: [Mod] Signs Bot [signs_bot]

Postby joe7575 » Sun Apr 14, 2019 3:25 pm

Update:
v0.05 is available with the following changes:
  • timer node added
  • user signs added
  • bug fixes
  • German translation

This version is ready to use and available at GitHub and Content DB

Open topics:
  • adaptions to other technic mods (preferably to my own mods tubelib/TechPack)
  • optional power consumption
  • documentation/Wiki pages
  • we will see...

A third video is available here: https://youtu.be/_nsvjcQhb6U
joe7575
Member
 
Posts: 300
Joined: Mon Apr 24, 2017 8:38 pm
GitHub: joe7575
In-game: JoSto



Return to WIP Mods



Who is online

Users browsing this forum: Google Bot [Bot] and 0 guests