Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crispisulcans
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
crispisulcans
3y ago
Without knowing any specifics I would say the most universally useful tool to have in your nonlinear controls belt is Lyapunov control design and its extensions (if you're familiar with Lyapunov equations in linear systems that's
2.
▲
by
crispisulcans
3y ago
Honestly, I wish folks would stop recommending PID as the go-to tool for control design. Like some others have said, it is never the right answer in any non-trivial system. The problem with newcomers blindly incorporating it into their desi
3.
▲
by
crispisulcans
4y ago
Cool design! I would love for some folks who are into this stuff to try their hands at this missile defence programming game https://openprocessing.org/sketch/745415 (click the </> button at the top)
4.
▲
by
crispisulcans
4y ago
Hi again, for those interested the source code is now available at https://codeberg.org/wavy/rocket-drone
5.
▲
by
crispisulcans
4y ago
Thanks for the user test :) I updated the game loop to be separate from the rendering loop. Any chance you can tell me if it is still slow?
6.
▲
by
crispisulcans
4y ago
Not a bad idea, though you would have to use bang-bang control since the thrusters are either full on or full off. I'm not sure if you can integrate anything as is, but when I release the source code you can try to build up from that.
7.
▲
by
crispisulcans
4y ago
Hmm I'm not able to reproduce that. Which phone and iOS if I may ask?
8.
▲
by
crispisulcans
4y ago
a little downward boost at the beginning, trading away some health for time, love it!
9.
▲
by
crispisulcans
4y ago
I tried it just now (took me a while to figure out how to run this). From what I'm seeing this game has what is equivalent to attitude control on autopilot, meaning you stop spinning right away when you release the input. It is definit
10.
▲
by
crispisulcans
4y ago
There is already a collision threshold, but very low. I might have to increase it to be noticeable. Otherwise great ideas all around :)
11.
▲
by
crispisulcans
4y ago
nice one!
12.
▲
by
crispisulcans
4y ago
Hi all, thanks for all the great feedback so far! Here is a bit more context: I (also go by wavy) made this game while taking a break from my work project. It was inspired by the old-school lunar lander games as well as drone racing. I wan
13.
▲
by
crispisulcans
4y ago
I avoided arrow keys partially because the drone will generally not move in the direction you press, but I'll consider adding alternate key mappings :)
14.
▲
by
crispisulcans
4y ago
oh I see, yes it could be performance-related. I will need to decouple the game update loop from the rendering loop. Will do soon.
15.
▲
by
crispisulcans
4y ago
Yes this is what I'm thinking. The replay links already include the full input. I would then just have to verify it and show the link for each entry. For example this is my flight just now for today's daily with a time of 12.97s:
16.
▲
by
crispisulcans
4y ago
Hmm I don't have an android phone to test. I hope it's an isolated case..
17.
▲
by
crispisulcans
4y ago
Thanks! I didn't know about Landing Confirmed. It looks pretty cool too. The thrust is constant. With both sides firing it has a 2:1 thrust to weight ratio.
18.
▲
by
crispisulcans
4y ago
Inertia and gravity are the same on all the levels. I don't know why it would feel different... Yes, levels 8 and 9 are meant to be more challenging. you might encounter obstacles like that in the random levels. Each level of the tutor
19.
▲
by
crispisulcans
4y ago
Thanks for the feedback! The level generation probably still needs tuning to avoid those kinds of levels. Daily leaderboard is a great idea!
20.
▲
by
crispisulcans
4y ago
Thanks! I intended for folks to start with the tutorial. They are easier than any of the free play levels but still challenging until you get used to the dynamics.
21.
▲
by
crispisulcans
4y ago
I hadn't planned on that use case, but check back in a few days where I might share the source code. Perhaps you or someone can build around it.
22.
▲
by
crispisulcans
4y ago
which keys would feel more natural for you?
23.
▲
by
crispisulcans
4y ago
Thanks! Yes I can consider sharing the source code. Check back in a few days :)
24.
▲
Show HN: Rocket Drone, a lunar lander type game for the web
(rocket-drone.lol)
102 points
by
crispisulcans
4y ago
|
89 comments
25.
▲
by
crispisulcans
4y ago
Love this piece of software! I tried a few other free CAD programs before and this is one my favorite.
26.
▲
by
crispisulcans
4y ago
A very short example: The PNPOLY algorithm https://wrf.ecse.rpi.edu/Research/Short_Notes/pnpoly.html