OpenRoberta / openroberta-lab

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

Inconsistency in signal strength behavior between older calliope versions and V3 #1674

Open AyaMoussa opened 4 months ago

AyaMoussa commented 4 months ago

Describe the bug The issue appears I want to receive the signal strength (rssi) of a received message via radio connection before reading the message. In the older calliope implementation that is not a problem and the value for the rssi is received, If I want to read the message after, the information is not lost and the messages appear in received order. In Calliope V3, this is not the case. If I try to read the signal strength of received message before reading the message, the result is always 0, meaning it can't read the signal strength before reading the message first.

To Reproduce Steps to reproduce the behavior:

  1. Go to Open Roberta Lab
  2. Create a program to send messages as shown in picture 1
  3. Create a program to display the signal strength value in a loop as shown in picture 2
  4. Implement this on both older calliope versions and calliope V3
  5. Notice the difference in behavior

*Remember: You always need two devices to implement this

Expected behavior

Screenshots Picture 1: Picture 1

Picture 2: Picture 2

Device information