Skip to content

Added DistanceValue classes - #550

Merged
dwalton76 merged 4 commits into
ev3dev:ev3dev-stretchfrom
dwalton76:distancevalue
Nov 7, 2018
Merged

dwalton76 merged 4 commits into
ev3dev:ev3dev-stretchfrom
dwalton76:distancevalue

Conversation

@dwalton76

Copy link
Copy Markdown
Collaborator

For issue #541

@dwalton76

Copy link
Copy Markdown
Collaborator Author
  • it didn't feel right putting these in motor.py with the Speed classes so I created a unit.py
  • what copyright header should be using for a new file?
  • thoughts on a DistanceLightYear class just to be funny? I used to have something similar (along with AstronomicalUnit) in helper.py. We could then extend an invitation to NASA to use ev3dev :)

@dwalton76

dwalton76 commented Oct 31, 2018 •

Copy link
Copy Markdown
Collaborator Author

Hmmm micropython test failed due to

AssertionError: 1066.8 vs (expected) 1066.8

@WasabiFan

Copy link
Copy Markdown
Member

what copyright header should be using for a new file?

We haven't been properly maintaining the copyright headers. At least, I certainly haven't -- I'm not listed in most of them despite writing significant chunks. If this were a solo project I would just delete them but I'm pretty sure that isn't the proper open-source protocol 😆 So I don't really know what to do there.

@WasabiFan

Copy link
Copy Markdown
Member

We could then extend an invitation to NASA to use ev3dev :)

Now that you mention it... http://docs.ev3dev.org/en/ev3dev-stretch/platforms/questcape.html

QuestCape is a LEGO MINDSTORMS compatible daughterboard for BeagleBone produced by The Quest Institute to perform experiments on the International Space Station as part of their ISS program.

Comment thread ev3dev2/unit.py Outdated
# -----------------------------------------------------------------------------
# Copyright (c) 2015 Ralph Hempel <rhempel@hempeldesigngroup.com>
# Copyright (c) 2015 Anton Vanhoucke <antonvh@gmail.com>
# Copyright (c) 2015 Denis Demidov <dennis.demidov@gmail.com>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing I do know is that these people haven't all touched this code; the copyright list should start fresh.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ralph is listed in the LICENSE file so I will leave him to be consistent with LICENSE and chop the others. I do not know what we should legally be doing here...I am not listed in the copyright in any file other than debian/copyright I suppose that one rules over all the others?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess since this package is distributed as source code, who is listed in this file doesn't matter too much since the source code files will have the copyright statements as well, which keeps us in compliance with the license terms.

If you want to claim copyright on any file where you made substantial changes, you are certainly free to do so.

Comment thread ev3dev2/unit.py Resolved
Comment thread tests/api_tests.py Resolved
@dwalton76

Copy link
Copy Markdown
Collaborator Author

We could then extend an invitation to NASA to use ev3dev :)

Now that you mention it... http://docs.ev3dev.org/en/ev3dev-stretch/platforms/questcape.html

QuestCape is a LEGO MINDSTORMS compatible daughterboard for BeagleBone produced by The Quest Institute to perform experiments on the International Space Station as part of their ISS program.

I had never heard of this...did they basically duplicate the EVB board? If so that is pretty awesome, I loved my EVB until it died :(

I googled but couldn't really find any info on QuestCape.

@dwalton76
dwalton76 merged commit 245d8ae into ev3dev:ev3dev-stretch Nov 7, 2018
@dwalton76
dwalton76 deleted the distancevalue branch November 7, 2018 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants