Go to Post Those four stages will most likely be supplanted with the more aptly named phased approach: "Don't Panic", "Consider Panicing" and "Why havent we been panicing?" - Dan Richardson [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 04-02-2017, 01:39
MRT45's Avatar
MRT45 MRT45 is offline
Registered User
FRC #0253 (Mills Robotics Team)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: CA
Posts: 18
MRT45 is an unknown quantity at this point
Java - Class extensions and exception errors (for commands)

Hey everyone,

Team 253 would much appropriate help for this issue.

The whole team is waiting for programming (well... me) to get this fixed ASAP.

First off, here is the code for reference
https://github.com/MillsRoboticsTeam...e2017/commands


So my team wanted to take the data of multiple sensors and use it in multiple different classes (commands).

These other classes allow us to do various tasks with our robot by using the data from the SensorData class.

In order to get the sensors - Example -

public class SensorData extends Command {
public class GearAutoCorrect extends SensorData {

However, we are running into a snag.

We get "WARNING! Robots don't quit"

And an illegal exception error linking to drivetrain.java and tankdrive.java

However, when we tried debugging the error and putting the SensorData and one of our classes (GearsAutoCorrect that takes that data into our last year's code, it throws an error at the GearsAutoCorrect class (right at the super()

Particularly, I believe its an inheritance problem with the superclass or..

... me completely misunderstanding this concept of FRC java.



Please,
Any advice helps!

We need this issue fixed ASAP to test out our robot this weekend!
Reply With Quote
 


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 22:47.

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