1) We have a bunch of programs for a single robot that has a rathercomplex set of motors and sensors. It would be really useful to beable to put the pragmas in a header file and then just reference theheader file as the first thing in all our robot programs. It's quitecumbersome to have to change 20 files when we move or add a sensor, or discover that there was an incorrect setting on something.

2) An ability to disable the auto-compile when opening a file. This shouldbe disabled by default.

3) Projects! Multiple .c files that all compile into one executable. I'dlike to be able to teach my kids how to do things and organize softwarethe way the rest of the industry does.

Tue Dec 11, 2012 9:28 pm

tfriez

Site Admin

Joined: Wed Jan 24, 2007 10:42 amPosts: 618

Re: RobotC feature requests

1. We have a system set up to do this - it's called our "Standard Models" system. You can specify a base "motors and sensor setup", store it in a separate file, and then create a link to it (with instructions) by creating a standard model. This isn't a well documented feature, but it should be pretty easy to mimic what is in the /Standard Models/ folder inside of your ROBOTC installation directory.

2. This is something we can easily add as a feature for in future versions. Thanks.

3. The core of ROBOTC's user base never writes programs over 100 lines long and always lives inside of a single file. The "project" system adds a layer of complexity and is a barrier for beginner users as it's another step they have to learn to just get a basic program on their robot. This is a core paradigm we've adopted - so while we appreciate the feedback, I don't see this feature being implemented any time soon.

As for projects, I can pretty much guarantee you that any successful FTC team is creating autonomous programs that are orders of magnitude largerthan 100 lines. We have about 600 lines, and counting, spread overa number of files for this year's competition.

Thu Dec 13, 2012 7:47 pm

MHTS

Guru

Joined: Sun Nov 15, 2009 5:46 amPosts: 1499

Re: RobotC feature requests

skatefriday wrote:

As for projects, I can pretty much guarantee you that any successful FTC team is creating autonomous programs that are orders of magnitude largerthan 100 lines. We have about 600 lines, and counting, spread overa number of files for this year's competition.

As of today, our code has 3939 lines of code (autonomous + teleop), not counting comments. If including comments, it would be 7698 lines. The project code spreads over 30 active files. There are another nine files in our library that are not used this year. But we don't consider ourselves successful though

Fri Dec 14, 2012 2:29 am

skatefriday

Novice

Joined: Tue Dec 11, 2012 9:19 pmPosts: 55

Re: RobotC feature requests

MHTS wrote:

skatefriday wrote:

As for projects, I can pretty much guarantee you that any successful FTC team is creating autonomous programs that are orders of magnitude largerthan 100 lines. We have about 600 lines, and counting, spread overa number of files for this year's competition.

As of today, our code has 3939 lines of code (autonomous + teleop), not counting comments. If including comments, it would be 7698 lines. The project code spreads over 30 active files. There are another nine files in our library that are not used this year. But we don't consider ourselves successful though

We have a small team and even smaller programminggroup. But you make my point. Projects would be really quite useful. I constantly find myself hitting F7to compile from a file that is not the "root" file for theprogram which just produces meaningless error output.

And it's not considered good form to put all of your source in .h various files. Nor is it considered good form to#include .c files. I'd like to be teaching my kids goodsoftware concepts and I can try to explain to explain tothem that this isn't the way it's done in the real world,but if they have no frame of reference it can be hard forthem to see that.

Sat Dec 15, 2012 2:07 am

skatefriday

Novice

Joined: Tue Dec 11, 2012 9:19 pmPosts: 55

Re: RobotC feature requests

A command line option for compiling programs would be quite niceso that students could use the editor of their choice and/or scriptcertain tasks.

Sun Dec 16, 2012 4:24 pm

MikeJMcFarlane

Rookie

Joined: Thu Sep 13, 2012 9:43 amPosts: 47

Re: RobotC feature requests

skatefriday wrote:

A command line option for compiling programs would be quite niceso that students could use the editor of their choice and/or scriptcertain tasks.

I'd like that too. I see the subject of IDE's comes up a lot in the forums. I think it is great that there is a IDE provided by Robomatter to get you going, or for simpler projects, but it would be great to be able to use the tools in an IDE of choice for more complex projects. That way we get the benefit of the awesome firmware (and Xander's comprehensive driver suite) but can work the way we want.

Are there technical, license or other reasons why this is not possible?

Tue Dec 18, 2012 5:07 am

skatefriday

Novice

Joined: Tue Dec 11, 2012 9:19 pmPosts: 55

Re: RobotC feature requests

There was an entire new discussion from this year, a month ago, in this thread, wherein I asked about the #include of pragmas feature and someone from RobotC suggested it may be in 4.0, but that thread of comments has been deleted.

What happened?

Fri Jan 03, 2014 8:24 pm

MHTS

Guru

Joined: Sun Nov 15, 2009 5:46 amPosts: 1499

Re: RobotC feature requests

It seems there was a "technical issue" last couple of weeks about MySQL update gone wrong. So some posts might have been lost. Could it be related to that?viewtopic.php?f=1&t=7574

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum