Go to Post Instead of dreading the potential alliance think of ways to impress them so they want you to be part of it! - Koko Ed [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
  #3   Spotlight this post!  
Unread 27-11-2014, 04:24
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 486
SoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant future
Re: Swerve questions (Languages, CAN)

It should be possible to use the new motor controllers to hold a position based on any sensors you want. However, you might have to run the control loop on the robot controller rather than on the motor controller. FYI, closed loop control is using sensor feeback to automatically control your output automatically. It's not essential that this happen in the motor controller itself. Even if you decide not to use the fancy features of the motor controllers there is at least one advantage I can think of for CAN: you won't run out of places to put PWM wires.

I don't know of anything that you want to do that shouldn't be possible in all three supported languages. Regarding speed, C++ should be the fastest, but any of them should be sufficiently fast for what you have described. A few things to consider when choosing a language:
1) For the first year with new hardware I would choose one of the three supported languages.
2) There is value in choosing something that at least one person (student or mentor) on your team already knows
3) Real computer science isn't done in a "graphical language".
4) While C++ is the most complex and powerful of the available languages its advantages won't become obvious until you're trying to do "advanced" things.

I don't think this project is going to force you to switch away from LabView but I would consider it if you have students how are interested to learn how to program.
 


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:20.

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