Go to Post I like drifting, but I have to go WRC. Putting a car where it doesn't belong feels right, like combining together drill motors and power window motors and putting them on a big patch of carpet. - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 02-01-2017, 04:49
GavinL GavinL is offline
intensely stares at program
FRC #5726 (Rhumbotz)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: San Antonio, Texas
Posts: 25
GavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to behold
Multiples errors around the project

Don't know how to explain this but in my drivetrain subsystem, the line

"class drivetrain: public Subsystem {" has the error "changes meaning of 'drivetrain' from 'class drivetrain' [-fpermissive]"

2nd error is in Robot.h, under public:.
static std::shared_ptr<drivetrain> drivetrain; has an error stating
"declaration of 'std::shared_ptr<dtivetrain> Robot::drivetrain [-fpermissive]"

3rd error is in Robot.cpp, under Robot::RobotInit()
drivetrain.reset(new drivetrain()); has an error on reset stating
the candidates are "void reset();, void reset(#10000 *), void reset(#10000 *, #10001), and void reset(#10000 *, #10001, #10002)"

send help ;-;
Reply With Quote
  #2   Spotlight this post!  
Unread 02-01-2017, 14:10
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 305
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Multiples errors around the project

Could you please post your full project code?
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #3   Spotlight this post!  
Unread 04-01-2017, 01:57
GavinL GavinL is offline
intensely stares at program
FRC #5726 (Rhumbotz)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: San Antonio, Texas
Posts: 25
GavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to behold
Re: Multiples errors around the project

Quote:
Originally Posted by euhlmann View Post
Could you please post your full project code?
It's auto-generated RobotBuilder code.
Attached Files
File Type: zip MockRobo.zip (193.8 KB, 3 views)
Reply With Quote
  #4   Spotlight this post!  
Unread 04-01-2017, 02:25
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,557
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Multiples errors around the project

Change your drivetrain subsystem name to Drivetrain. It can't differentiate between the class and instance.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-01-2017, 02:50
AustinShalit's Avatar
AustinShalit AustinShalit is offline
Registered User
no team (WPILib Suite Developer)
 
Join Date: Dec 2013
Rookie Year: 2008
Location: Los Angeles/Worcester
Posts: 90
AustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of light
Re: Multiples errors around the project

Opened an issue to validate for this.

https://github.com/wpilibsuite/RobotBuilder/issues/26
__________________
Reply With Quote
  #6   Spotlight this post!  
Unread 04-01-2017, 09:48
GavinL GavinL is offline
intensely stares at program
FRC #5726 (Rhumbotz)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: San Antonio, Texas
Posts: 25
GavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to behold
Re: Multiples errors around the project

Quote:
Originally Posted by Joe Ross View Post
Change your drivetrain subsystem name to Drivetrain. It can't differentiate between the class and instance.
ahhhh, I see. Thanks!
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 03:00.

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