Go to Post FIRST really does enjoy watching us squirm with their teasers, don't they? - Anupam Goli [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 23-01-2016, 19:04
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,075
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Simple Motor Calculator for Linux/OS X

Quote:
Originally Posted by SoftwareBug2.0 View Post
You may want to document your build dependencies. On Ubuntu 15.10 I installed go-bindata and golang-go.

To build I had to change "motors.csv" in the makefile to ".". At least the version of go-bitdata that I have only expects to see directories in that position.

The clean target of the makefile can sometimes fail. Consider adding the "-f" flag to "rm".

When the program is run with no arguments it prints an out of range exception rather than an error message that says what it expected. Similarly, there is no "--help".

When an unknown motor name is encountered the output is lots of NaN rather than an error that the program doesn't know about the motor. For example, try typing "cim" rather than "CIM".


Yup, it's on my todo list (pull requests are also accepted)

So --help and some warnings for not supplying enough args, and throw an error on incorrect motor names.
__________________




.
 


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 04:11.

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