top of page

Onbotjava help

In our first years as team, we lacked mentors that could guide us and teach us how to program our robot. This led us to watch YouTube videos and to do lots of Google-ing in order to teach ourselves. The journey has not been easy, which is why we decided to share with others through the knowledge we've gained throughout the years.

What we'll teach you

  • how to set up your OpModes

  • connecting control hub + expansion hub

  • coding for mecanum wheels

  • coding for a smart servo

  • coding for autonomous

  • coding for an arm

Connecting control hub + expansion hub

  1. Using a battery extension cable connect power between the Control Hub and the Expansion Hub.

  2. Use a 3 pin communication cable in order to connect the RS485 port on the Control Hub to the Expansion Hub.

  3. On your driver station, go to configure robot.

  4. Select new in the top left hand corner.

  5. Select Expansion Hub Portal 1.

  6. You now have 2 Hubs to choose from. Configure and program them as necessary.

Screen Shot 2020-01-12 at 9.56.07 PM.png

Coding for mecanum wheels

  1. Open OnBotJava by entering http://192.168.43.1:8080/ into your search engine of choice

  2. Connect to your Robot Controller

  3. Click the "+" sign in order to add a file

  4. Click on "TeleOp" and name the file as you please

  5. Declare your motors as you chose to name them in your robot hardware

Coding for a smart servo

  1. Open OnBotJava by entering http://192.168.43.1:8080/ into your search engine of choice

  2. Connect to your Robot Controller

  3. Click on the TeleOp you have created

  4. Declare your servo as you chose to name it in your robot hardware

Coding for a smart servo

  1. Open OnBotJava by entering http://192.168.43.1:8080/ into your search engine of choice

  2. Connect to your Robot Controller

  3. Click on the TeleOp you have created

  4. Declare your servo as you chose to name it in your robot hardware

bottom of page