Better HN
topnewbestaskshowjobs
Log inSign up

daww

163 karma · joined Jun 18, 2016 (10y ago) · 38 submissions

Contact info on my website: https://mrandri19.github.io/
Submissions

comment 3mo ago · link · parent

haha definitely, PPO is not the most sample efficient method for sure

comment 3mo ago · link · parent

Hi HN, Andrea (the author) here.

This is the last post of my series on quadcopter simulation and (Reinforcement Learning based) control.

This post is less educational that the other ones and more like a recipe, hope it'll be useful/interesting for others too!

3.

A recipe for drone racing with reinforcement learning(mrandri19.github.io ↗)

28 points · by daww · 3mo ago · 4 comments

comment 6mo ago · link · parent

Hi, thanks! Love your product, it's been incredible for debugging simulations as well as looking at individual policy rollouts (instead of e.g. static videos) to design better rewards/environments

comment 6mo ago · link · parent

Hi HN, Andrea (the author) here.

I'm continuing my series of blog posts on quadcopter simulation and (Reinforcement Learning based) control.

This one is the second in the series, following my previous planar/2d quadcopter post. Next one will be on how to use PPO to train a racing policy

6.

Simulating a 3D Quadcopter from Scratch(mrandri19.github.io ↗)

5 points · by daww · 6mo ago · 3 comments

comment 7mo ago · link · parent

Yeah, I did. I didn't implement disturbances like wind, so a very simple PD position controller was enough for stabilization or simple trajectory tracking. I won't focus too much on (position) control as my controller will be RL-based (with a policy network outputting thrust and body rates) and coupled with a PD rate controller (very simple as it's 1st-order).

comment 7mo ago · link · parent

You are technically correct - the best kind of correct. But yeah, think of it as a "slice" of a quadcopter along one of its principal axes. Writing the 3D blog post right now.

comment 7mo ago · link · parent

Good question, haven't really thought about modeling complex effects besides prop aerodynamic drag. If I were to start, I'd probably look at the model described in the "Aerodynamic forces and torques" section of "Champion-level drone racing using deep reinforcement learning" (Kaufmann et al. 2023).

In general, I think I'd try to go for a black-box/grey-box model based on real data rather than e.g. CFD-based, as I don't think you can run CFD at sufficient accuracy for real-time control anyway. For that, I would look at https://rpg.ifi.uzh.ch/docs/TRO26_Bauersfeld.pdf or https://rpg.ifi.uzh.ch/docs/RSS21_Bauersfeld.pdf

comment 7mo ago · link · parent

Author here.

I've spent the last six months replicating the paper "Champion-level drone racing using deep reinforcement learning" and now I'm writing down the blog posts I wish I had along the way.

Any feedback is welcome, especially as I'm a bit unsure if I struck the right balance between being concise and not requiring too many prerequisites.

Also if you're working on RL and robotics (especially aerial), let's connect!

11.

Simulating a 2D Quadcopter from Scratch(mrandri19.github.io ↗)

31 points · by daww · 7mo ago · 11 comments

12.

Probabilistic Programming Language in 70 lines of Python(mrandri19.github.io ↗)

4 points · by daww · 4y ago · discuss

13.

Bayesian linear regression with conjugate priors(mrandri19.github.io ↗)

1 points · by daww · 6y ago · discuss

14.

Tint: Google's new WebGPU shading language(docs.google.com ↗)

6 points · by daww · 6y ago · discuss

comment 7y ago · link · parent

Thanks!

16.

Ask HN: How to release research paper code?

2 points · by daww · 7y ago · 4 comments

17.

Modern Text Rendering with Linux: Antialiasing(mrandri19.github.io ↗)

2 points · by daww · 7y ago · discuss

comment 7y ago · link · parent

Interesting question, from my understanding Pathfinder is only concerned with rendering so it doesn't completely replace FreeType: you still need some software to extract the curves path data from the font file. This can be done in rust with skribo and font-kit

You can check out this issue for more info: https://github.com/servo/pathfinder/issues/143

19.

Modern Text Rendering with Linux(mrandri19.github.io ↗)

111 points · by daww · 7y ago · 18 comments

comment 7y ago · link · parent

Absolutely, Subpixel AA, Kerning, Ligatures, Gamma Blending, and Emojis will be treated

comment 7y ago · link · parent

Thanks :) I've used what was available on the latest ubuntu lts. FreeType functions return 0 (FT_Err_Ok) on success or a specific value for each function, but yes I agree that error handling could be better, maybe at the expense of terseness.

comment 7y ago · link · parent

I agree that it's an interesting topic. On reddit one of the authors of dear imgui has some interesting thought on it: https://www.reddit.com/r/programming/comments/cfxltf/modern_...

23.

Modern text rendering with Linux: Part 1(mrandri19.github.io ↗)

141 points · by daww · 7y ago · 24 comments

24.

DMD 2.087.0 Released(dlang.org ↗)

2 points · by daww · 7y ago · discuss

comment 7y ago · link · parent

Looks like something I did some time ago[0], nice to see that this space is being explored. Wikum[1] from MIT's CSAIL is also an interesting alternative.

[0] https://mrandri19.github.io/comments-as-a-graph/?thread=hn3

[1] http://wikum.csail.mit.edu/

26.

Ask HN: Which are the most underrated but useful mathematics fields?

4 points · by daww · 7y ago · discuss

27.

Alessio Figalli wins 2018 Fields medal prize(quantamagazine.org ↗)

4 points · by daww · 8y ago · discuss

28.

Show HN: Check which NPM packages will break if one gets removed(howmuchofnpmcanyoubreak.ml ↗)

1 points · by daww · 8y ago · discuss

29.

Ask HN: Should I join a startup or do open source work to get an internship?

2 points · by daww · 8y ago · discuss

12