Go to Post One of our electrical engineers would bring his kids in every so often, so they could actually see their dad during build season. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-31-2016, 07:01 PM
RSNovi RSNovi is offline
Registered User
FRC #6081
 
Join Date: Jan 2016
Location: Grass Lake
Posts: 12
RSNovi is an unknown quantity at this point
How does the command scheduler work

Hello All,

We are a first year team from Manchester and the students have selected to program in Java. I have embedded C and Simulink programming experience and I am mentoring the students doing the programming.

Amongst me increasing my OOP experience and learning Java, the one area which I haven't been able to figure out from the excellent documentation and knowledge on this forum is the scheduling.

Would someone be able to explain how the commands are scheduled? We are using the RobotBuilder and it is mysterious how the commands are executed. I see the call to Scheduler.getInstance().run(), but I don't know what happens in the background.

We are trying to also use the digital gyro on the SPI port and as a sensor not supported by RobotBuilder I need to figure out how to initialize it and use it. I grabbed some code off this forum and we are trying to debug it.

Overall how the commands are scheduled and how the smart dashboard is updated is a little bit of a mystery that is hampering us.

Thanks!

Thanks.

Chris
Reply With Quote
  #2   Spotlight this post!  
Unread 01-31-2016, 09:55 PM
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 985
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: How does the command scheduler work

This page may have some of the info you're looking for: http://wpilib.screenstepslive.com/s/...ed-programming
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:27 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi