You are browsing as a guest. Sign up (or log in) to start making projects!

FieldSim

  • 12 Devlogs
  • 17 Total hours

An FRC game in unity

Open comments for this post

3h 9m 50s logged

Somewhat working kitbot!

In the past 3 hrs of development, I wrote a not physics based intaking and hopper system. I also wrote a very simple shooting method.

Intake

The previous intake system I made(not devlogged), relied on a bunch of physics. The end result was pretty realistic, but buggy. When fuel was intaked, it would try to occupy the outtake zone of the robot, if there was already fuel there, the robot would “pop” and explode. This new system completly disables fuel physics and teleports fuel to preset positions. It isn’t as realistic, but its less buggy, and leads to less framerate drops!

Shooting

I added a basic shooter. It takes fuel from the 0th slot in the hopper, shoots it, and then cycles the fuel in the hopper. The shooting is pretty unrealistic compared to the real kitbot. It shoots too high and too far. With a bit of tuning though, this should be fixed.

i still need to add collision to the field elements, i keep forgetting 😭

0
0
15
Open comments for this post

36m 26s logged

Quick materials update

All of the materials from onshape look kinda dull(look at the field for reference). I updated the materials, might need to adjust bumper material since it is too strong.

0
0
25
Open comments for this post

2h 42m 2s logged

Drivable kitbot, Animated intake shafts, and Fuel!

This devlog is gonna be a long one. I finished the tank drivetrain along with animated wheels. I also began to add spinning-ness to the intake. I also made the fuel.

The drivetrain

I finished writing the movement script and set up all of the wheels. I also spent some time tuning physics values to attempt to recreate a somewhat realistic tank drive.

Animated spinny thingys

I created an easy to implement script, which allows you to bind a key to shaft, and make it spin however fast you want it to!

Fuel

Added fuel :wowsers:

some things still need collision, so dont mind me driving through the hub

0
0
15
Open comments for this post

2h 8m 37s logged

Quick announcement

Swerve is beginning to be a problem. I am not that experience with unity so swerve ends up flying around most of the time. For this project, I think I might drop swerve entirely, and just make tank drive and throw the kitbot in. Sorry to have to announce this =(

1
0
46
Open comments for this post

1h 13m 44s logged

Dev log 2 of Fieldsim redo

What did i do?

I wrote a basic swerve controller, it allows you to drive the robot around and it even has field oriented driving! I also imported the test field that you might have seen at competitions for robot testing.

Side notes:

The old mesh for the robot was kinda(extremely) unoptimized. So i replaced it with cubes. Check the screenshot for wireframe view.

0
0
44
Open comments for this post

20m logged

i forgor to set up hackatime….

I forgot to set up hackatime, its been like an hr of getting this drivetrain parented properly. Now I can move on to writing a basic movement script. Then i can go through other FRC team’s swerve code and steal logic for wheel rotation. I also need to get a “gyro” working.
welp, see ya next time!

2
0
16
Open comments for this post

1h 28m logged

Restarting field sim =(

I feel kinda conflicted, with using mosimbuilder for this project. Im kinda stealing their work, so im going to write this from scratch now!

1
0
8
Open comments for this post

1h 8m logged

3128 added!

Only took like 3 redos =D
Has working intake, shooter, auto align. Not sure how climb worked, so I did not implement .t(didnt really see narwhals using it that much either)

0
0
9
Open comments for this post

1h 0m logged

Dev Log #2

Today I tried doing a web build, which did not turn out great. You could not see anything, so I fixed that by adjusting MSAA settings.
I am starting my first CAD robot. 3128(im doing the sd districts alliance)
intake lookin a bit goofy. Still needs a lot of work before it the robot is finished.
After this I plan to add 2102
Comment FRC team suggestions to see your robot added(cad would be rlly tuff)

0
0
7
Open comments for this post

1h 0m logged

Dev Log #1

Today i spent my time optimizing MoSimBuilder. Went from 9 fps -> 30 fps(my laptop kinda bad)

I also added my team’s robot. Comment your team number if you want your robot added…

0
0
8

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…