Announcement
Collapse
Technology Forum Has Moved!
The FIRST Tech Challenge Technology forum has moved to a new location! Please take a look at our forum blog for links and instructions on how to access the new forum.
Note that volunteers (except for FTA/WTA/CSA will still access their role specific forum through this site. The blog also outlines how to access the volunteer forums.
Note that volunteers (except for FTA/WTA/CSA will still access their role specific forum through this site. The blog also outlines how to access the volunteer forums.
See more
See less
Video Code Walkthrough of the FIRST® Tech Challenge (FTC) Robot Controller
Collapse
X
-
Video Code Walkthrough of the FIRST® Tech Challenge (FTC) Robot Controller
Last edited by Jonathan Berling; 05-14-2015, 10:16 PM.Tags: None
-
Originally posted by Ollie View PostWhat are the expectations for code development for the phone hosting the game-pads? For example, will it be possible to have automated op-mode changes in that phone?
Comment
-
Originally posted by Jonathan Berling View PostThe way it is currently set up, op modes reside on the robot controller (the device on the robot). When the driver station (the device with the gamepads attached) connects to the robot controller, the robot controller will send over a list of op modes that it has been programmed with. The user then selects the op mode they want to run from the driver station. Once the user has selected the op mode, the robot controller will begin to execute that op mode.FTC6460 mentor (software+computer vision+electronics), FPGA enthusiast. In favor of allowing custom electronics on FTC bots.
Co-founder of ##ftc live chat for FTC programming--currently you may need to join and wait some time for help--volunteer basis only.
Comment
-
Originally posted by hexafraction View PostHow does that play out with the period judges need to take between autonomous and tele-op? Will we be able to stop and run no OpMode until the second half of the match starts?
I believe that when the autonomous period ends, teams will stop their robots and the referees will score the autonomous points. Once the refs have completed the scoring for automous, there will be a second start for the teleop phase of the match.
Tom
Comment
-
Originally posted by Jonathan Berling View PostThe way it is currently set up, op modes reside on the robot controller (the device on the robot). When the driver station (the device with the gamepads attached) connects to the robot controller, the robot controller will send over a list of op modes that it has been programmed with. The user then selects the op mode they want to run from the driver station. Once the user has selected the op mode, the robot controller will begin to execute that op mode.
Should I interpret this that the only way to change the op mode is manually by user selection? Does this mean that there is no team developed code in the driver station and all code comes from FTC?
Comment
-
Hi Jonathan,
In the video, I see a DcMotor class and a Servo class. Is there a single Servo class or will there be a separate class for continuous servos that operate differently from the 180 degree servos? For example, at the end of an OpMode, a standard servo may be stopped by simply no longer updating its setting, while a continuous servo that was set to a value will keep running if the value is not reset to a particular value corresponding to a stopped state (and unfortunately that stopped state value may differ from servo to servo). Just curious how this will be handled in the new paradigm.
Comment
-
Originally posted by Ollie View PostJonathan,
Should I interpret this that the only way to change the op mode is manually by user selection? Does this mean that there is no team developed code in the driver station and all code comes from FTC?
Comment
-
Originally posted by Robert Van Hoose View PostAt the beta test all of the sources for the driver station were included in the SDK. We played with some simple modifications to position/resize the telemetry window so that is was visible on our driver station (we had a phone vs. a tablet). I hope they will leave it open to modification as I think it likely people will want to customize the UI to take advantage of the telemetry functions and so on.FTC6460 mentor (software+computer vision+electronics), FPGA enthusiast. In favor of allowing custom electronics on FTC bots.
Co-founder of ##ftc live chat for FTC programming--currently you may need to join and wait some time for help--volunteer basis only.
Comment
-
Originally posted by FTC6981 View PostWhat software was being used for this video?
Comment
Comment