Go to Post Paul: "IDK, my BFF Karthik?" - jgannon [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 12-05-2016, 12:06
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 156
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Opinions on Command & Control robot framework

Hey everyone,
I was wondering if anyone here has tried the new Command and Control robot framework and can share his experience.
Are there any teams that used it during this season?

Our team hasn't tried it yet and we're looking for opinions about it.

Thank you

The tutorial by ni can be found here :
https://decibel.ni.com/content/docs/DOC-46544
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
Reply With Quote
  #2   Spotlight this post!  
Unread 18-05-2016, 11:02
JeffB JeffB is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Austin
Posts: 48
JeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to behold
Re: Opinions on Command & Control robot framework

My team used it this year after going through the tutorial you linked over a couple of nights.

For my personal opinion, I like that it's not as serialized as the past architecture was. As an example, "drive forward for 3 seconds/feet" You can program the two different systems by having a loop check for time expired or distance traveled. This creates two options:
1) Hold up the rest of your teleop code while we wait for this condition to finish
2) Add mechanisms in place to track the initial point, current point, and check in each iteration if the condition has been met.

The first means you can't do anything else until this finishes. I prefer have a robot respond immediately rather than waiting to finish a task in case something comes up.

The second requires a bit more work than I'd expect teams to want to figure out. It's a bit of shift registers/feedback nodes to maintain values and turns the traditional architecture into a mess to read.

With command and control, you can escape that mess as option 2 is built into the system in a much cleaner way. To me, it's a lot like the MVC method you'll find in programming. Each system has its own controller and you send messages between then to get tasks done. For students getting into computer science or wanting to understand how OOP works, this sets them up for better success academically while also making a more versatile robot.

I had a pair of strong programmers so they were able to pick up the architecture over ~6 hours of working through the tutorial and coding. This time can change based on the team you have. But, the skill is something they'll use frequently once they get into OOP. While this may not be object oriented, per say, it behaves in a similar manner. The hardest part of working with OOP is figuring out how to think about something in the OOP context. Why not give your team an edge in that thought process?
__________________
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:06.

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