-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Motor experimental changes #30
base: master
Are you sure you want to change the base?
Conversation
So far this does not compile. |
Hmmm…that doesn’t have my MotorTest.cpp in it — there’s something I’ve gotten wrong in my file management.
Let me investigate.
… On Aug 17, 2020, at 3:25 PM, Kevin Harrington ***@***.***> wrote:
Assigned #30 <#30> to @gcl8a <https://github.com/gcl8a>.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AF5JK5DXGBWNDHYBDIHEJATSBF72FANCNFSM4QBZW7XQ>.
|
You would need to make it a .ino, put it in a folder labeled examples/<ino
name>/<ino name>.ino
…On Mon, Aug 17, 2020 at 3:36 PM Greg Lewin ***@***.***> wrote:
Hmmm…that doesn’t have my MotorTest.cpp in it — there’s something I’ve
gotten wrong in my file management.
Let me investigate.
> On Aug 17, 2020, at 3:25 PM, Kevin Harrington ***@***.***>
wrote:
>
>
> Assigned #30 <
#30> to @gcl8a <
https://github.com/gcl8a>.
>
> —
> You are receiving this because you were assigned.
> Reply to this email directly, view it on GitHub <
#30 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AF5JK5DXGBWNDHYBDIHEJATSBF72FANCNFSM4QBZW7XQ
>.
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJSKRWXSU5KVIFJ3UJVMP3SBGBFXANCNFSM4QBZW7XQ>
.
|
also, make sure you are compiling against the Students toolchain from one
of my bundled toolchains.
On Mon, Aug 17, 2020 at 3:40 PM Kevin Harrington <[email protected]>
wrote:
… You would need to make it a .ino, put it in a folder labeled examples/<ino
name>/<ino name>.ino
On Mon, Aug 17, 2020 at 3:36 PM Greg Lewin ***@***.***>
wrote:
> Hmmm…that doesn’t have my MotorTest.cpp in it — there’s something I’ve
> gotten wrong in my file management.
>
> Let me investigate.
>
> > On Aug 17, 2020, at 3:25 PM, Kevin Harrington ***@***.***>
> wrote:
> >
> >
> > Assigned #30 <
> #30> to @gcl8a <
> https://github.com/gcl8a>.
> >
> > —
> > You are receiving this because you were assigned.
> > Reply to this email directly, view it on GitHub <
> #30 (comment)>,
> or unsubscribe <
> https://github.com/notifications/unsubscribe-auth/AF5JK5DXGBWNDHYBDIHEJATSBF72FANCNFSM4QBZW7XQ
> >.
> >
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#30 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAJSKRWXSU5KVIFJ3UJVMP3SBGBFXANCNFSM4QBZW7XQ>
> .
>
|
I’m building on platformio using the RBE1001Lib and published libraries.
The problem was that I put MotorTest in its own repo: https://github.com/gcl8a/MotorTest — platformio doesn’t really play nice with Arduino examples.
I can put it in a branch of RBE1001Lib, if you wish.
Greg
… On Aug 17, 2020, at 3:41 PM, Kevin Harrington ***@***.***> wrote:
also, make sure you are compiling against the Students toolchain from one
of my bundled toolchains.
On Mon, Aug 17, 2020 at 3:40 PM Kevin Harrington ***@***.***>
wrote:
> You would need to make it a .ino, put it in a folder labeled examples/<ino
> name>/<ino name>.ino
>
>
>
> On Mon, Aug 17, 2020 at 3:36 PM Greg Lewin ***@***.***>
> wrote:
>
>> Hmmm…that doesn’t have my MotorTest.cpp in it — there’s something I’ve
>> gotten wrong in my file management.
>>
>> Let me investigate.
>>
>> > On Aug 17, 2020, at 3:25 PM, Kevin Harrington ***@***.***>
>> wrote:
>> >
>> >
>> > Assigned #30 <
>> #30> to @gcl8a <
>> https://github.com/gcl8a>.
>> >
>> > —
>> > You are receiving this because you were assigned.
>> > Reply to this email directly, view it on GitHub <
>> #30 (comment)>,
>> or unsubscribe <
>> https://github.com/notifications/unsubscribe-auth/AF5JK5DXGBWNDHYBDIHEJATSBF72FANCNFSM4QBZW7XQ
>> >.
>> >
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <#30 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AAJSKRWXSU5KVIFJ3UJVMP3SBGBFXANCNFSM4QBZW7XQ>
>> .
>>
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AF5JK5CGBLSDGJBIHPLHVZLSBGBWNANCNFSM4QBZW7XQ>.
|
Hmmm.... so maybe we should always be dev/testing on the platform the kids will be using? Remember, i fixed the issues with Sloeber on Mac ;) |
Well, I’m exploring platformio to see if it is a good solution so that we don’t have to have them messing with bootcamp and so forth. I do a lot of dev on my mac, and it works pretty well.. Brad prefers it and I’ve worked through a lot of the quirks. It’s a legit solution for making the development platform independent.
… On Aug 17, 2020, at 3:50 PM, Kevin Harrington ***@***.***> wrote:
platformio doesn’t really play nice with Arduino examples.
Hmmm.... so maybe we should always be dev/testing on the platform the kids will be using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AF5JK5ERAMSKGOV2R7J3HJTSBGCXZANCNFSM4QBZW7XQ>.
|
In the name of fair evaluation, have you gotten your Mac Sloeber working? I feel strongly that "not playing nice with examples" is a disqualifying statement for use of that platform... Since the 2 other options Arduino IDE and Sloeber do play nice. We have a huge hole in functionality if we can not have ready-to-run examples easy for students to use. Besides, we are a week away from class, we whould be testing solutions we have on hand, and refining them not looking to upend what little stability we have by going back to the drawing board for IDE's |
Well, I don’t disagree that we’re kind of tied to sloeber/Arduino for the term, but longer term, it’s something to consider.
It’s not that you can’t have ready-to-run examples, of course, it’s just the the work flow is different. Platformio also has a different way of including libraries, with both advantages (auto update) and disadvantages (multiple temp copies). You’re used to sloeber, so its quirks are somewhat invisible to you, but I rarely use it for all the hassle. Of course, anyone using pio would say the same thing about VS Code, so it’s a bit of a religious debate...
I do have sloeber on my windows machine, but I rarely use it. It’s much easier to use Arduino for the simple projects we have in 1001. A bit less useful in 2002, but I just open/edit library files in another editor and use github desktop.
(Actually, now that I look at sloeber, I can’t find instructions for opening an example sketch — I must be missing something obvious?)
The hassle with java on my mac turned me off for that. I think some students in E2 tried the mac installer but it failed — you’d have to ask Brad for details. Regardless, I don’t have any problem with telling the mac kids their options. I’m happy to support pio for them just to try it out. A few students in E2 used it and I think it went as well as anything else.
Greg
… On Aug 17, 2020, at 4:02 PM, Kevin Harrington ***@***.***> wrote:
In the name of fair evaluation, have you gotten your Mac Sloeber working?
I feel strongly that "not playing nice with examples" is a disqualifying statement for use of that platform... Since the 2 other options Arduino IDE and Sloeber do play nice. We have a huge hole in functionality if we can not have ready-to-run examples easy for students to use.
Besides, we are a week away from class, we whould be testing solutions we have on hand, and refining them not looking to upend what little stability we have by going back to the drawing board for IDE's
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AF5JK5A7CMV4EXEJ5CEYWXTSBGEE3ANCNFSM4QBZW7XQ>.
|
lol thats an understatement. In fairness, i did not have the Mac instructions worked out until 2 weeks into the course. Maybe its time for a zoom call on your mac to slow walk the setup, find any continuing paper-cuts. Then I can go to work fixing them for you :) |
as for the start a sketch: https://github.com/WPIRoboticsEngineering/RobotInterfaceBoard/blob/master/StartFreshSketchNOGIT.md |
OK, first: Should I Reply or ReplyAll to these auto messages? I fear you’re getting, like, three emails from me when you don’t even really want any… ;-)
In all honesty, I have so much to do that I don’t want to mess with sloeber on my mac. First of all, it’s my personal machine and rarely goes to campus, so it’s not like I’m using it with students. That’s the reason I got a Dell from WPI. Second, I’m kind of enjoying pio, and I’d rather wrestle with it than MME with sloeber. So…let’s see how many macs show up in 1001 and either you can help the one or two who want to use sloeber or I’ll help the ones who want to use pio. I just need to find the right workflow for generating examples.
On that note, I still don’t see how I “easily” open an Arduino example in sloeber. I see lots of help for starting a new sketch/project (which seems more involved than pio), but it’s not 100% clear to me. Is there an .md page I’m missing?
Greg
… On Aug 17, 2020, at 6:01 PM, Kevin Harrington ***@***.***> wrote:
so it’s a bit of a religious debate...
lol thats an understatement.
In fairness, i did not have the Mac instructions worked out until 2 weeks into the course. Maybe its time for a zoom call on your mac to slow walk the setup, find any continuing paper-cuts. Then I can go to work fixing them for you :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AF5JK5BIAAAJCTJZZAKU7ZLSBGSFPANCNFSM4QBZW7XQ>.
|
crossed emails...
… On Aug 17, 2020, at 6:09 PM, Greg Lewin ***@***.***> wrote:
On that note, I still don’t see how I “easily” open an Arduino example in sloeber
|
Ah. That’s really not that different from pio. There’s a straightforward “import Arduino sketch” that makes a new project, similar to what you have in your tutorial.
… On Aug 17, 2020, at 6:10 PM, Greg Lewin ***@***.***> wrote:
crossed emails...
> On Aug 17, 2020, at 6:09 PM, Greg Lewin ***@***.*** ***@***.***>> wrote:
>
> On that note, I still don’t see how I “easily” open an Arduino example in sloeber
|
This link is what you want. It has a gif of the clicks to open example.
https://github.com/WPIRoboticsEngineering/RobotInterfaceBoard/blob/master/StartFreshSketchNOGIT.md
I think the issue is more terminology, in sloeber "open" an existing sketck
or example is just a special case in "new sketch". They all start the same
way, right click new Arduino sketch... For examples, the last step asks you
if you want this new sketch to be made as a clone of an example, or link to
the file in the library for editing examples.
…On Mon, Aug 17, 2020, 6:09 PM Greg Lewin ***@***.***> wrote:
OK, first: Should I Reply or ReplyAll to these auto messages? I fear
you’re getting, like, three emails from me when you don’t even really want
any… ;-)
In all honesty, I have so much to do that I don’t want to mess with
sloeber on my mac. First of all, it’s my personal machine and rarely goes
to campus, so it’s not like I’m using it with students. That’s the reason I
got a Dell from WPI. Second, I’m kind of enjoying pio, and I’d rather
wrestle with it than MME with sloeber. So…let’s see how many macs show up
in 1001 and either you can help the one or two who want to use sloeber or
I’ll help the ones who want to use pio. I just need to find the right
workflow for generating examples.
On that note, I still don’t see how I “easily” open an Arduino example in
sloeber. I see lots of help for starting a new sketch/project (which seems
more involved than pio), but it’s not 100% clear to me. Is there an .md
page I’m missing?
Greg
> On Aug 17, 2020, at 6:01 PM, Kevin Harrington ***@***.***>
wrote:
>
>
> so it’s a bit of a religious debate...
>
> lol thats an understatement.
>
> In fairness, i did not have the Mac instructions worked out until 2
weeks into the course. Maybe its time for a zoom call on your mac to slow
walk the setup, find any continuing paper-cuts. Then I can go to work
fixing them for you :)
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub <
#30 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AF5JK5BIAAAJCTJZZAKU7ZLSBGSFPANCNFSM4QBZW7XQ
>.
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJSKRRBQHPMGFNKRKKAA53SBGTDLANCNFSM4QBZW7XQ>
.
|
You probably saw my other response — I found it in your next email, which crossed with mine.
Fundamentally, though, opening a sketch makes a new project, yes? That’s basically the same as pio. Getting things together in a workspace is the hard part.
… On Aug 17, 2020, at 6:19 PM, Kevin Harrington ***@***.***> wrote:
This link is what you want. It has a gif of the clicks to open example.
https://github.com/WPIRoboticsEngineering/RobotInterfaceBoard/blob/master/StartFreshSketchNOGIT.md
I think the issue is more terminology, in sloeber "open" an existing sketck
or example is just a special case in "new sketch". They all start the same
way, right click new Arduino sketch... For examples, the last step asks you
if you want this new sketch to be made as a clone of an example, or link to
the file in the library for editing examples.
On Mon, Aug 17, 2020, 6:09 PM Greg Lewin ***@***.***> wrote:
> OK, first: Should I Reply or ReplyAll to these auto messages? I fear
> you’re getting, like, three emails from me when you don’t even really want
> any… ;-)
>
> In all honesty, I have so much to do that I don’t want to mess with
> sloeber on my mac. First of all, it’s my personal machine and rarely goes
> to campus, so it’s not like I’m using it with students. That’s the reason I
> got a Dell from WPI. Second, I’m kind of enjoying pio, and I’d rather
> wrestle with it than MME with sloeber. So…let’s see how many macs show up
> in 1001 and either you can help the one or two who want to use sloeber or
> I’ll help the ones who want to use pio. I just need to find the right
> workflow for generating examples.
>
> On that note, I still don’t see how I “easily” open an Arduino example in
> sloeber. I see lots of help for starting a new sketch/project (which seems
> more involved than pio), but it’s not 100% clear to me. Is there an .md
> page I’m missing?
>
> Greg
>
> > On Aug 17, 2020, at 6:01 PM, Kevin Harrington ***@***.***>
> wrote:
> >
> >
> > so it’s a bit of a religious debate...
> >
> > lol thats an understatement.
> >
> > In fairness, i did not have the Mac instructions worked out until 2
> weeks into the course. Maybe its time for a zoom call on your mac to slow
> walk the setup, find any continuing paper-cuts. Then I can go to work
> fixing them for you :)
> >
> > —
> > You are receiving this because you were mentioned.
> > Reply to this email directly, view it on GitHub <
> #30 (comment)>,
> or unsubscribe <
> https://github.com/notifications/unsubscribe-auth/AF5JK5BIAAAJCTJZZAKU7ZLSBGSFPANCNFSM4QBZW7XQ
> >.
> >
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#30 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAJSKRRBQHPMGFNKRKKAA53SBGTDLANCNFSM4QBZW7XQ>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AF5JK5HMIBRVWGI4TCO2CFLSBGUFXANCNFSM4QBZW7XQ>.
|
The difference here is that Sloeber works with the existing Arduino files. That means you can create a project in Slober, and open it with no changes in Arduino, and vice versa. Sloeber also uses the toolchains and libraries provided by the Arduino install, so anything that works in one, will work in the other. |
The latter is true in pio (toolchains and libraries). You can either have them auto update or choose a specific version, quite easily.
The former is more of an issue. You have to import an Arduino .ino file (though it looks like they might be making it open native).
… On Aug 17, 2020, at 6:26 PM, Kevin Harrington ***@***.***> wrote:
Ah. That’s really not that different from pio
The difference here is that Sloeber works with the existing Arduino files. That means you can create a project in Slober, and open it with no changes in Arduino, and vice versa. Sloeber also uses the toolchains and libraries provided by the Arduino install, so anything that works in one, will work in the other.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AF5JK5AZGNLYS7EZBMJ56YTSBGU7TANCNFSM4QBZW7XQ>.
|
Well sort of. So when we make projects that use a git location as the repo, Sloeber makes a mostly empty "project" with just enough infor for the IDE to find the sources. The project file in that case can be safely deleted at any time, and not kept in version control since it contains no code, just information about your install of the IDE and where the code is. If you make a project without referencing a location on the disk to find files, and without linking to an example (devs of libraries), then the project file contains the .ino, which should match the folder name, so it makes what is a totally valid Arduino sketch as the project |
FYI, this branch can't merge anymore. You might want to branch off of where we changed the method names. Something i could really use some help from someone with your superior math skills, would be how to parameterize the bezier function so that if you give it an acceleration time and a deceleration time, what bezier control points should be used. If we had that we would have industry grade control. (im looking forward to implementing the new ros2 stack for the ESP and making it a turtlebot) |
Just last night I taught myself how to merge individual files. I wanted to try the examples in master on the methods in motor_experiments. So…I came to the same conclusion.
That is a cool idea, but we’re in a bit of panic with courses here an A/B, so try not to get too carried away.
And when there’s less panic…I can do some maths...
… On Sep 3, 2020, at 9:37 PM, Kevin Harrington ***@***.***> wrote:
FYI, this branch can't merge anymore. You might want to branch off of where we changed the method names.
Something i could really use some help from someone with your superior math skills, would be how to parameterize the bezier function so that if you give it an acceleration time and a deceleration time, what bezier control points should be used. If we had there we would have industry grade control. (im looking forward to implementing the new ros2 stack for the ESP and making it a turtlebot)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AF5JK5DFZVFA5O5YBDARSATSEBAGPANCNFSM4QBZW7XQ>.
|
No description provided.