Can you help me using RSET_REALREG function in Karel?

  • 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?

  • Thien Phuc

    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

    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.

Advertising from our partners