The programming environment »Open Roberta Lab« by Fraunhofer IAIS enables children and adolescents to program robots. A variety of different programming blocks are provided to program motors and sensors of the robot. Open Roberta Lab uses an approach of graphical programming so that beginners can seamlessly start coding. As a cloud-based application, the platform can be used without prior installation of specific software but runs in any popular browser, independent of operating system and device.
Apache License 2.0
127
stars
122
forks
source link
Calli:bot - program has errors, can not compile #1639
Program that only contains the STOP block for the Calli:bot can not be compiled.
Missing: MicroBitI2C _i2c(MICROBIT_PIN_P20, MICROBIT_PIN_P19);
The German error message is missing an m in the word "Programm"
To Reproduce
Steps to reproduce the behavior:
Add Calli:bot to robot configuration
Add a »stop« block directly to the »start« block
Start the program to the Calli:bot
See error
Das Programm kann nicht auf dem Roboter oder in der Simulation ausgeführt werden. Das Program kann nicht übersetzt werden. Die Fehlermeldung ist:
[1/3] Building the NEPOprog. In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattClient.h:22, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:23, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from /tmp/openrobertaTmp/06N_ccB7Po/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/ServiceDiscovery.h: In member function 'virtual ble_error_t ServiceDiscovery::reset()': /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/ServiceDiscovery.h:148:77: warning: implicitly-declared 'UUID& UUID::operator=(const UUID&)' is deprecated [-Wdeprecated-copy] 148 | matchingServiceUUID = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN); | ^ In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattService.h:20, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattServer.h:21, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:22, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from /tmp/openrobertaTmp/06N_ccB7Po/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/UUID.h:164:5: note: because 'UUID' has user-provided 'UUID::UUID(const UUID&)' 164 | UUID(const UUID &source) { | ^~ In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattClient.h:22, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:23, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from /tmp/openrobertaTmp/06N_ccB7Po/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/ServiceDiscovery.h:150:77: warning: implicitly-declared 'UUID& UUID::operator=(const UUID&)' is deprecated [-Wdeprecated-copy] 150 | matchingCharacteristicUUID = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN); | ^ In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattService.h:20, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattServer.h:21, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:22, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from /tmp/openrobertaTmp/06N_ccB7Po/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/UUID.h:164:5: note: because 'UUID' has user-provided 'UUID::UUID(const UUID&)' 164 | UUID(const UUID &source) { | ^~ /tmp/openrobertaTmp/06N_ccB7Po/NEPOprog/source/NEPOprog.cpp: In function 'int main()': /tmp/openrobertaTmp/06N_cc__B7Po/NEPOprog/source/NEPOprog.cpp:16:18: error: '_buf' was not declared in this scope; did you mean 'sbuf'? 16 | _cbSetMotors(_buf, &_i2c, 0, 0); | ^~ | __sbuf /tmp/openrobertaTmp/06N_cc__B7Po/NEPOprog/source/NEPOprog.cpp:16:25: error: '_i2c' was not declared in this scope 16 | _cbSetMotors(_buf, &_i2c, 0, 0); | ^~ Error in building !!!
Describe the bug
Missing: MicroBitI2C _i2c(MICROBIT_PIN_P20, MICROBIT_PIN_P19);
To Reproduce Steps to reproduce the behavior:
Das Programm kann nicht auf dem Roboter oder in der Simulation ausgeführt werden. Das Program kann nicht übersetzt werden. Die Fehlermeldung ist: [1/3] Building the NEPOprog. In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattClient.h:22, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:23, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from /tmp/openrobertaTmp/06N_ccB7Po/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/ServiceDiscovery.h: In member function 'virtual ble_error_t ServiceDiscovery::reset()': /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/ServiceDiscovery.h:148:77: warning: implicitly-declared 'UUID& UUID::operator=(const UUID&)' is deprecated [-Wdeprecated-copy] 148 | matchingServiceUUID = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN); | ^ In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattService.h:20, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattServer.h:21, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:22, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from /tmp/openrobertaTmp/06N_ccB7Po/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/UUID.h:164:5: note: because 'UUID' has user-provided 'UUID::UUID(const UUID&)' 164 | UUID(const UUID &source) { | ^
~ In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattClient.h:22, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:23, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from /tmp/openrobertaTmp/06N_ccB7Po/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/ServiceDiscovery.h:150:77: warning: implicitly-declared 'UUID& UUID::operator=(const UUID&)' is deprecated [-Wdeprecated-copy] 150 | matchingCharacteristicUUID = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN); | ^ In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattService.h:20, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattServer.h:21, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:22, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from /tmp/openrobertaTmp/06N_ccB7Po/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/UUID.h:164:5: note: because 'UUID' has user-provided 'UUID::UUID(const UUID&)' 164 | UUID(const UUID &source) { | ^~ /tmp/openrobertaTmp/06N_ccB7Po/NEPOprog/source/NEPOprog.cpp: In function 'int main()': /tmp/openrobertaTmp/06N_cc__B7Po/NEPOprog/source/NEPOprog.cpp:16:18: error: '_buf' was not declared in this scope; did you mean 'sbuf'? 16 | _cbSetMotors(_buf, &_i2c, 0, 0); | ^~ | __sbuf /tmp/openrobertaTmp/06N_cc__B7Po/NEPOprog/source/NEPOprog.cpp:16:25: error: '_i2c' was not declared in this scope 16 | _cbSetMotors(_buf, &_i2c, 0, 0); | ^~ Error in building !!!Screenshots
Device information