Giter Club home page Giter Club logo

robolab-docs-issue-tracker's People

Contributors

lutzthies avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

robolab-docs-issue-tracker's Issues

mosquito "Error: Connection refused" as command

mosquitto_pub -h robolab.inf.tu-dresden.de -u "040" -P "pass" -t "explorer/040" -m "ready" -q 1

Error: Connection refused

c = mqtt.Client(client_id="cabb20fd-8213-46fc-b864-68503ab2c24h", clean_session=False, protocol=mqtt.MQTTv31)
c.username_pw_set("040", password="pass")
c.on_message = self.on_message
c.connect('robolab.inf.tu-dresden.de', port=8883)
c.publish(channel, "ready")

Is running.

invalid json

Mistake in https://robolab.inf.tu-dresden.de/inf/task/communication/#_nachrichten .The following json code is invalid

{"from":"server","type":"planet","payload":{"planetName": "<PLANET_NAME>","startX":"<X>","startY":"<Y>",}}

to replicate:

from json import loads
loads('{"from":"server","type":"planet","payload":{"planetName":"<PLANET_NAME>","startX": "<X>","startY": "<Y>",}}')

--> json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 106 (char 105)

fix: remove last comma

Doc: MediumMotor -> error in example

command: motor.duty_cycle_sp = 200

Error message: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.6/dist-packages/ev3dev/core.py", line 455, in duty_cycle_sp self._duty_cycle_sp = self.set_attr_int(self._duty_cycle_sp, 'duty_cycle_sp', value) File "/usr/local/lib/python3.6/dist-packages/ev3dev/core.py", line 217, in set_attr_int return self._set_attribute(attribute, name, str(int(value))) File "/usr/local/lib/python3.6/dist-packages/ev3dev/core.py", line 206, in _set_attribute attribute.write(value.encode()) OSError: [Errno 22] Invalid argument

new range (after python-ev3dev update): -100 to 100

PDF version of Git slides

  • students can save the slides locally and don't need to constantly keep their browser open
  • Felix needs the slides due to me being not available on the 2nd introduction and him being so kind to cover me

Exam: git reset commands

Add the commands which will be executed by us before the exam so they can test them themselves.

passwd: Authentication token manipulation error

On every brick the default user robot has the password maker. For obvious reasons, it is strongly advised to change the default password. However, the command passwd does not seem to work as expected.

Changing password for robot.
(current) UNIX password: 
passwd: Authentication token manipulation error
passwd: password unchanged
robot@ev3dev:~$ 

Using sudo passwd seems to work at first, but you will still need to use the old password on the next login. What works is to type sudo passwd $USER, where $USER is just an environment variable that reflects the currently logged in user — in this case always robot.

git and template

Auf der Doku-Seite für das Template ist noch nicht vermerkt, dass der branch, nach dem clonen des templates, noch von 'spring-17' in 'master' umbenannt werden muss.

Add timing constraints

Enhance the exam part with a time limit, 15 minutes for the large planet, 7 minutes for the small one.

Doc: LargeMotor -> error in example

command -> motor.speed_regulation_enabled = 'on' # enable speed regulation

Error: Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'LargeMotor' object has no attribute 'speed_regulation_enabled'

Update on python-ev3dev ...

target <X>,<Y>

Wie soll man mit dem target Befehl umgehen wenn man das angegebene Ziel nicht kennt?
Speichern und anfahren sobald der Weg bekannt ist?
Was soll passieren wenn man ein neues target bekommt bevor man das alte erreicht hat?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.