Performance Evaluation of Sensor Programming Patterns in SPL of MSRDS

  • Authors

    • Jong In Chung
    2018-06-08
    https://doi.org/10.14419/ijet.v7i2.33.17925
  • MSRDS, SPL, Simulation, Sensor Programming, Programming Pattern
  • Background/Objectives: SPL of MSRDS provides many functions for sensor programming. The sensor programming can be  implemented in two types of patterns: procedure and while–loop patterns. It is known that the while-loop pattern has better performance than the procedure pattern.

    Methods/Statistical analysis: To determine if the while-loop pattern has better performance than that of the procedure pattern, we made a simulation environment to evaluate the performance. The simulation environment consisted of a maze and a robot with one of three potential sensors. We measured the required travel time and robot actions (number of turns and number of collisions) needed to escape the maze and compared the performance for the two sensor programming patterns.

    Findings: We were able to obtain results that showed that the while-loop pattern does not have better performance than the procedure pattern. However, the while-loop pattern is good for making a program that can sense into user’s intent. It is known that programmers prefer the while-loop pattern to the procedure pattern.

    Improvements/Applications:It is true that for a long time we have adapted the while-loop pattern to simulate sensor programming, without consideration of other methods. Therefore, from now on, it will be convenient to select an easy pattern to use according to the simulation situation because it is now known there is no difference of performance between the two types of sensor programming patterns.

     

  • References

    1. [1] Microsoft Robotics Developer Studio 4. http://www.microsoft.com/robotics/. Date accessed: 04/01/2014.

      [2] Kim Y, Chung J. Robot Programming for Logical Thinking Improvement: HongRung Pub, 2012.

      [3] STEM Education. http://www.helloapps.com. Date accessed: 04/01/2014.

      [4] Hong S. Intelligent Robot Programming for SMART Creative Engineering: IT Holic Pub, 2012.

      [5] Park I, Kim D, Oh J, Jang Y, Lim K, Learning Effects of Pedagogical Robots with Programming in Elementary School Environments in Korea. Indian Journal of Science and Technology.2015 Oct, 8(26).

      [6] Jang Y, Lee W, Kim J, The Changes of Middle School Students’ Perception and Achievement based on the Teaching Method in Physical Computing Education. Indian Journal of Science and Technology.2016 June, 9(24).

      [7] Lee J, Chung J, Comparative Analysis of the Performance of Robot Sensors in the MSRDS Platform. Journal of the Korea Industrial Information Systems Research.2014 Oct, 19(5), pp. 57-68.

      [8] Kim H. Sensor Engineering: HongRung Pub, 2010.

      [9] Kim J. Sensor Fundamental and Applications for Worker: Bokdoo Pub, 2012.

      [10] Chung J, Comparison of Sensor Programming Schemes in MSRDS. Proceedings of 2nd ICIECT, Vietnam, 2016, pp.165-172.

  • Downloads

  • How to Cite

    In Chung, J. (2018). Performance Evaluation of Sensor Programming Patterns in SPL of MSRDS. International Journal of Engineering & Technology, 7(2.33), 1132-1137. https://doi.org/10.14419/ijet.v7i2.33.17925