lutzthies / robolab-docs-issue-tracker Goto Github PK
View Code? Open in Web Editor NEW:fire::question::exclamation: Public issue tracker for the RoboLab Docs.
Home Page: https://github.com/7HAL32/robolab-docs
:fire::question::exclamation: Public issue tracker for the RoboLab Docs.
Home Page: https://github.com/7HAL32/robolab-docs
The GitHub link for installing ev3dev language bindings seems to be broken. The documented repository https://github.com/7HAL32/ev3dev-lang-python (Docs > Development Environment > Python) returns a 404.
In an dormitory where internet is provided by AG DSN, the Robolab website requires a password anyway. It should be accessible anyway.
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.
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
Don't wait 2 seconds between received messages but instead wait 2 seconds after the last received message and then close the transmission.
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
In section http://robolab.inf.tu-dresden.de/dev/git/#_usage.
message.payload.decode('utf-8')
Docs will be updated soon.
Add the commands which will be executed by us before the exam so they can test them themselves.
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.
It is necessary to somehow prevent the communication function, class or script from exiting/returning in order to receive any message.
print('Content was "{}"'.format(message.payload.decode('utf-8'))
-> )
Unter https://robolab.inf.tu-dresden.de/dev/template/Update gab es einen Abschnitt wie man das Submodul für das deploy Script updated. Die Sektion ist nicht mehr da, war meiner Meinung nach aber sinnvoll. Kann man die wieder einfügen?
For windows the url of the repository needs to be provided in quotes:
git clone --recursive "git clone https://[email protected]/robolab-spring-18/group-GROUP.git"
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.
http://robolab.inf.tu-dresden.de/inf/exam/
It's 1 day before the exam.
Enhance the exam part with a time limit, 15 minutes for the large planet, 7 minutes for the small one.
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 ...
Version bump from 3.6 (https://docs.python.org/3.6/) to 3.7 (https://docs.python.org/3.7/).
While https://robolab.inf.tu-dresden.de/dev/faq/#_remote_interpreter includes opening a project as a required step to reach the menu bar, https://robolab.inf.tu-dresden.de/dev/faq/#_deployment does not. Without an open project, use the following breadcrumbs:
Preferences > Build, Execution, Deployment > Deployment
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.