SHARE
TWEET

ROBOTC Natural Language

a guest Sep 17th, 2019 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. **`(c) 2019 Mong Alvarez Jr.`**
  2.  
  3. ***
  4.  
  5. # ROBOTC Natural Language
  6. From the definition of *robotc.net*:
  7.  
  8. > ROBOTC is a cross-robotics-platform programming
  9. language for popular educational robotics systems.
  10. >
  11. > ROBOTC is the premiere robotics programming language
  12. for educational robotics and competitions. ROBOTC is
  13. a C-Based Programming Language with an Easy-to-Use
  14. Development Environment.
  15.  
  16. As we can see here, the term *natural language* was not
  17. mentioned. But they included the
  18. natural language lately and they even
  19. call it `ROBOTC Natural Language`.
  20.  
  21. ## Simplifying ROBOTC
  22. So, what is natural language?
  23.  
  24. From *webopedia.com*:
  25. > Natural language means a human language. For example,
  26. English, French, and Chinese are natural languages.
  27. Computer languages, such as FORTRAN and C, are not.
  28. >
  29. > Probably the single most challenging problem in computer
  30. science is to develop computers that can understand
  31. natural languages. So far, the complete solution to this
  32. problem has proved elusive, although a great deal of
  33. progress has been made. Fourth-generation languages are
  34. the programming languages closest to natural languages.
  35.  
  36. ROBOTC is one of those programming languages
  37. that wants to deal with natural language.
  38. But why?
  39.  
  40. For beginners, the main target is to guide them
  41. through the process. There was the graphical mode and the
  42. text-based ROBOTC but there
  43. was no bridge between them. So the answer was the
  44. natural language feature.
  45.  
  46. From the definition of *robotc.net*:
  47. > The Natural Language feature was designed to
  48. help ‘bridge the gap’ between
  49. a graphical language and the text-based ROBOTC
  50. dealing complex commands with ease".
  51.  
  52. Then, they did not stop there.  The even released the
  53. `Graphical Natural Language` (*easy-to-use graphical blocks
  54. that can be drag-and-dropped*)
  55. to further simplify ROBOTC plus the Natural Language feature.
  56.  
  57. Consider this scenario:
  58.  
  59. *Anything (claw, arm, wheel, etc.) that is
  60. controlled by the VEX-IQ motor has
  61. the command `setMotor` (`setMultipleMotors`
  62. is just a variant) to control it. And there are only
  63. the clockwise and counterclockwise rotations.*
  64.  
  65. *Say, a beginner wants to program the robot
  66. to move forward. Without the human-like command
  67. `forward`, he/she might be confused because
  68. when he/she invoked `setMotor` with a positive
  69. power level, the robot might not move forward
  70. at all! There is no such thing as move
  71. forward or backward in `setMotor`.*
  72.  
  73. *Say, a beginner wants to program the robot
  74. to turn left. Without the human-like command
  75. `turnLeft`, he/she will be dealing with the
  76. complexity of opposite rotation of the
  77. wheels.*
  78.  
  79. *Say, a beginner wants the robot to follow
  80. a black line using the Color sensor.
  81. Without the human-like command `lineTrackLeft` or
  82. `lineTrackRight`, he/she will be dealing with
  83. much complexity of using loops together with
  84. `setMotor` command.*
  85.  
  86. And so many more.
  87.  
  88. As we see here, these commands hide much complexity
  89. for beginners.
  90. Hence, the need to include this in ROBOTC.
  91.  
  92. ## Computer Science and ROBOTC
  93. But there is more than that in computer science.
  94. The ultimate target of ROBOTC, theoretically,
  95. is to make this language much like a natural language
  96. that even when voice recognition is enabled, can follow
  97. the commands of humans instantly in a manner
  98. that the robot can understand the meaning no matter
  99. how it is said. But, it is more
  100. of a dream than a reality right now
  101. but attempts are paving the way.
  102.  
  103. ***
  104.  
  105. ## Useful Links
  106. <http://www.robotc.net>
  107.  
  108. <http://www.robotc.net/NaturalLanguage/>
  109.  
  110. <http://www.robotc.net/blog/2013/12/19/graphical-natural-language/>
  111.  
  112. <https://www.webopedia.com/TERM/N/natural_language.html>
  113.  
  114. <http://www.robotc.net/blog/tag/natural-language/>
  115.  
  116. ***
  117.  
  118. **`(c) 2019 Mong Alvarez Jr.`**
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top