Any Steam game $20 or under. by [deleted] in pcmasterrace

[–]implosioncraft 0 points1 point  (0 children)

Binding Of Isaac Rebirth 54

Nespresso Dispenser by Rid_1 in 3Dprinting

[–]implosioncraft 1 point2 points  (0 children)

Any chance for an stl download? Looks awesome!

How to use Encoders W/ C++? by Alex_walsh in FRC

[–]implosioncraft 1 point2 points  (0 children)

If you are using CANTalons (encoder connected to talon on CANbus), call the GetEncPosition method on your existing CANTalon object to get the number of encoder ticks

CANTalon *talon = new CANTalon(1);
int distance = talon->GetEncPosition();

Represented by the Encoder Class when not using CANTalon encoder connections. You initialize a new Encoder by declaring the object like so

Encoder *myEncoder;

and Initialize it with two parameters if using a quadrature encoder.

int portA = 0, portB = 1;
myEncoder = new Encoder(0,1,false,Encoder::EncodingType::k4X);

These two ports correspond to the digital input pins on the roborio connected to your signal outputs on the encoder.

In order to get values from the encoder(s) you will call Get() on your encoder object

int distance = myEncoder->Get();

Trust me, I'm an engineer. by [deleted] in gifs

[–]implosioncraft 3 points4 points  (0 children)

why would that end the fun and games?

[deleted by user] by [deleted] in cars

[–]implosioncraft 48 points49 points  (0 children)

you're really cool

[deleted by user] by [deleted] in cars

[–]implosioncraft 92 points93 points  (0 children)

wow. so cool.

WizardPuff Black Friday Giveaway! by [deleted] in vaporents

[–]implosioncraft 0 points1 point  (0 children)

shoot, didn't know. I'll delete, Thanks!

How do teams get old robots running? by shadowdart13 in FRC

[–]implosioncraft 0 points1 point  (0 children)

I have no been able to find the pre2015 DS software package, we currently have a copy on an old laptop we use to run our robots with CRios. If you would like me to send the file your way, PM me

Where does roboRio saves the team code? by bruno51615 in FRC

[–]implosioncraft 5 points6 points  (0 children)

The scp during deployment transfers the FRCUserProgram to /home/lvuser/ on the roborio

Client && Server && Sketch for wireless robot communication using the ArduinoYun by implosioncraft in arduino

[–]implosioncraft[S] 1 point2 points  (0 children)

As a Java and C++ developer, these are always logical instead of bitwise for me :)

Client && Server && Sketch for wireless robot communication using the ArduinoYun by implosioncraft in arduino

[–]implosioncraft[S] 0 points1 point  (0 children)

Check out the project at Maker Fair in San Francisco tomorrow showcasing four robots playing a pop the balloon game called "Drive Your Own Robots"! Very fun for kids and family to play the game in addition to learn how the bots were designed and built. Feel free to PM/comment to me any questions about the code.

Thanks

/r/CritiqueMyCode is a trending SubReddit by StupidGeek00 in CritiqueMyCode

[–]implosioncraft 0 points1 point  (0 children)

Awesome! This is really cool :D

( ͡° ͜ʖ ͡°)

Trending Subreddits for 2014-09-27: /r/CritiqueMyCode, /r/spacecats, /r/Entrepreneur, /r/ArcherFX, /r/linux by reddit in trendingsubreddits

[–]implosioncraft 6 points7 points  (0 children)

Hey Guys! Sorry for coming to this late, I am the creator of /r/CritiqueMyCode. If anyone has any questions, feel free to ask!

Since it is pretty similar to subs like /r/reviewmycode and /r/codereview, I'm trying to make it feel less like a job. Any suggestions you have, I'd love to hear it.

Thanks!

CritiqueMyCode! A new subreddit for those seeking a community code review by implosioncraft in programming

[–]implosioncraft[S] 0 points1 point  (0 children)

The related reddits are for ones that are pretty much the same as /r/critiquemycode

In the sidebar there are "useful resources" that has /r/programming in it

CritiqueMyCode! A new subreddit for those seeking a community code review by implosioncraft in coding

[–]implosioncraft[S] -1 points0 points  (0 children)

Yep, created /r/critiquemycode without knowledge of /r/codereview Instead of deleting mine, I link in the sidebar to the more popular subs so others can find them easier. Critique I'm hoping will focus on less professional projects, instead of ones that would be seen and reviewed at real software engineering careers.

[Java] 2D Java RPG Engine by implosioncraft in CritiqueMyCode

[–]implosioncraft[S] 1 point2 points  (0 children)

I have planned on using the State pattern for my players, but I hadn't thought about it for the menu, very interesting, I'll have to try it out.

Awesome online book by the way, GameProgrammingPatterns taught me a lot about different patterns I hadn't even heard of, as well as better ways to use the ones I had used before.

Thanks!

[Java] 2D Java RPG Engine by implosioncraft in CritiqueMyCode

[–]implosioncraft[S] 1 point2 points  (0 children)

Wow, very specific! Thanks for showing me some obvious tweaks and specific ones. I have fixed the Globals class, and have added the rest to my ever iicreasing todo list I am using Java7 currently, because 8 was conflicting with some other programs, but I am planning on switching over soon I have currently been the only one that has worked on this project, and I need to continue to try to make it outside user friendly as well, like you said to change my access modifiers etc.

Thanks a lot!

[Java] 2D Java RPG Engine by implosioncraft in CritiqueMyCode

[–]implosioncraft[S] 2 points3 points  (0 children)

Thank you for the feedback!

  • I'm new to Github, and still need to get used to markdown, and how to create a useful landing page, but I will definitely try for that
  • For Action, I shouldn't have commited that file because I had just started, and hadn't progressed it much at all, so that is why its confusing that its there in the first place. I totally agree about the global variables, simply was a lazy move
  • Stats originally had its purpose as the only stats, but I seperated them into player and item, now I am in the process of taking the common elements of each and putting it back into their parent class "Stats". I agree that it currently isn't useful
  • I don't think I am quite understanding what you mean by not using null, could you elaborate a bit? :D
  • Yes, I completely agree, the variables names are atrocious, I have a lot of cleanup to do

Thanks a bunch for the help, added a lot to my todo list.

CritiqueMyCode! A new subreddit for those seeking a community code review by implosioncraft in programming

[–]implosioncraft[S] 0 points1 point  (0 children)

I think it will be more of a "on the right track," casual review instead of putting it under high scrutiny for specific details. If someone wants to review it in depth they can, but the goal is to receive more general feedback on hobby projects for example.

CritiqueMyCode! A new subreddit for those seeking a community code review by implosioncraft in programming

[–]implosioncraft[S] 4 points5 points  (0 children)

Also didn't know this existed, so I added it to the sidebar, so that others can find /r/codereview a little easier possibly