📙
MyBotSDK
  • Introduction
  • Start Moving
    • setPower()
    • goToPoint()
    • setGoToPointPIDCoeff()
  • Debugging
  • Utilizing Time in your code
  • Utilizing Sensor Input
  • Other Useful Classes
  • Using Gradle Scripts
  • Track Width and Aux Width
  • Contact
  • Community
  • Robot.RangeClip
  • No Wifi card?
Powered by GitBook
On this page
  • Good Practices
  • Telemetry
  • System.out.println(String item)

Was this helpful?

Debugging

PrevioussetGoToPointPIDCoeff()NextUtilizing Time in your code

Last updated 4 years ago

Was this helpful?

Good Practices

To prevent a clog up in the TCP connection between both programs some good practices would include:

  • Run the program in DEBUG mode not RUN mode.

Telemetry

You can use the telemetry feature for debugging purposes. This will pop up on the

//Inside Your OpMode
telemetry.addData(string caption, string message)

System.out.println(String item)

You can also use this to output information using System.out.println

Here is an additional resource to understand this function more:

System.out.println in Java - GeeksforGeeksGeeksforGeeks
Logo
The image above demonstrates what to use to run the program for a better socket connection.
This is where the telemetry will update
This is where System.out.println() information goes.