I need set value register 1 by Karel. I read document and i use RSET_REALREG but with host_port input of it's function, i don't know specific value. Can you help me know host_port value in roboguide simulation?
Can you help me using RSET_REALREG function in Karel?
-
Thien Phuc -
March 30, 2024 at 4:50 AM -
Thread is Resolved
-
-
Thien Phuc
March 30, 2024 at 4:52 AM Changed the title of the thread from “Can i help me using RSET_REALREG function in Karel?” to “Can you help me using RSET_REALREG function in Karel?”. -
Fubini
March 30, 2024 at 6:44 AM Approved the thread. -
RSET_*REG is used for setting register values in remote robot controllers. The host_port parameter is the IP address or host name of the remote controller. But is this really what you need? You don't mention setting on a remote robot in your problem, so if you only need to set a register value on the same robot you're running the KAREL program, look into the SET_REAL_REG built-in routine.
-
Thank you for your answer!