FieldSim
- 12 Devlogs
- 17 Total hours
An FRC game in unity
An FRC game in unity
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.
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!
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 😭
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.
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.
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!
Added fuel 
some things still need collision, so dont mind me driving through the hub
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.
The old mesh for the robot was kinda(extremely) unoptimized. So i replaced it with cubes. Check the screenshot for wireframe view.
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!
i made this lil guy, his name is greg
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)