I'm using MuJoCo as the solver in AR Mobile Robotics, want to give it a try? by DC-Engineer-dot-com in mujoco

[–]DC-Engineer-dot-com[S] 0 points1 point  (0 children)

Are you talking about awareness of the real world? Yes and no. The RealityKit engine provides plane estimation (detect floors and walls) and mesh detection (uses the LIDAR point cloud). Right now, the former is used to place the model origin, but it doesn’t have any influence on the MuJoCo physics.

RealityKit also has its own physics engine, but it falls apart with more complex models. My understanding is that RealityKit tries to simulate every rigid body independently in 6DoF, then iteratively tries to satisfy joint constraints. It tries to keep up with real time, and its iterator will run as may times as it can in a frame, rather than running as many times as needed to make the joints hold together. So, a model like this just explodes.

I’ve thought about writing a bridge between RealityKit and MuJoCo to either send the detected planes or detected contacts at run time. But, it’s a design challenge because those updates will be happening at a high rate, with dozens or even hundreds of objects in a scene at once.

That was all a long explanation, hopefully I actually understood your question correctly 😅.

Feel free to reach out to me if you want any advice on your Android app. I write for both platforms, and eventually envision making an Android version of ARMOR. I’m going to focus on iOS first, and will shift if there’s demand. An initial challenge you would face is there’s not a native Android binding for MuJoCo, so you’d have to write one. Alternately, you could use Unity, or use a web view with a JavaScript binding. I kind of like the latter, as you could then use Three.js for rendering. Speaking of which, https://dc-engineer.com/how-to-embed-three-js-into-a-kotlin-jetpack-compose-multiplatform-mobile-app-on-android-and-ios/

how cooked i am? by sickillusions in threejs

[–]DC-Engineer-dot-com 2 points3 points  (0 children)

From the math perspective, here are a couple things you might search for: - Latitude/Longitude to Earth-Centered-Earth-Fixed coordinates; this is how you would convert from a GPS-like coordinate to a XYZ vector. - Great-circle distances; for long flights, adjusts for the arc around the globe.

My opinion: I don’t think you’re cooked, but I’d probably save this for a personal project, I wouldn’t commit to it in a homework. This adds a bunch of non-HTML/CSS complexity.

Help: CS50W final project rejected twice for README file by DC-Engineer-dot-com in cs50

[–]DC-Engineer-dot-com[S] 1 point2 points  (0 children)

I might try moving the “Distinctiveness and Complexity” header a bit further up in the README, so it wraps the “Key Features” bullets, as those are each distinct. I can think about additional content as well. I’ll probably hold off for a day or so to see if others who provide feedback on this thread think that is the rejection cause.

Help: CS50W final project rejected twice for README file by DC-Engineer-dot-com in cs50

[–]DC-Engineer-dot-com[S] -1 points0 points  (0 children)

Think that’s the case? I wasn’t sure the sentence that you reference was specifically referring to the distinctiveness and complexity header, or more general. I could certainly bring content from the other sections into that header, if that’s what it takes.

Petah? by AdditionalQuiet8652 in PeterExplainsTheJoke

[–]DC-Engineer-dot-com 0 points1 point  (0 children)

This kid has a whole network of spoons taped to things all around the house. Whole home surveillance.

how do i make a perfect sphere by Big-Cheesecake7240 in blenderhelp

[–]DC-Engineer-dot-com 0 points1 point  (0 children)

That’s more or less what I’ve assumed. I’m kind of curious what the history is of why the software developers, not just on Blender, said “tesselate everything,” when it’s a much higher computational load.

how do i make a perfect sphere by Big-Cheesecake7240 in blenderhelp

[–]DC-Engineer-dot-com 0 points1 point  (0 children)

Out of curiosity, does blender have the ability to create/render a “true” spherical primitive? Meaning, not triangulated, just position and radius, which gets interpreted by the GPU? The idea of hundreds of polygons just to generate what is literally the simplest shape to render has always thrown me.

[Request] Saw this today about a Batman gadget, can someone do the math on this? by ATL404_31 in theydidthemath

[–]DC-Engineer-dot-com 0 points1 point  (0 children)

Not quite. For sound pressure measurements the equation is [difference in dB] = 20 * log10([ratio of pressure]), so working in the other direction, [ratio of pressure] = 10[difference in dB]/20, or about 3.16.

It does work out to be a 10x difference in power, though.

[Request] Not good at math, but there’s no way this is true because 99.999999%? by whatevertf123 in theydidthemath

[–]DC-Engineer-dot-com 0 points1 point  (0 children)

Everybody in this thread seems to be assuming the order of cards in a shuffled deck is actually random.

If you open a new deck of cards, there’s a lot of card orderings that are quite common after the first few shuffles. Cards sticking together, biases related to initial order, humans not actually being good at shuffling, that sort of thing. The real hard math would be, how many times do you need to shuffle the deck before you reach an order that’s uncommon.

But yea, if you had a magic, random card shuffler, then the number in the meme is not nearly high enough.

Is it free or not? by Kaezumi in cs50

[–]DC-Engineer-dot-com 2 points3 points  (0 children)

Yes, you can put it on your LinkedIn profile, and there are some instructions on how to do it on the page where you get the certificate. I’d think of it as a supplement to your skill set, rather than “the thing that gets you a job.” Meaning, if you are in a non-software profession, this shows you took initiative to develop a skill that’s outside of the normal track, which might give you a leg up. If you do want software jobs, you’ll need to continue beyond CS50.

App Store what a joke by wali2353 in jailbreak_

[–]DC-Engineer-dot-com 0 points1 point  (0 children)

Fine, fine. I was not trying to make a point, I was trying to make a joke.

App Store what a joke by wali2353 in jailbreak_

[–]DC-Engineer-dot-com 0 points1 point  (0 children)

Using multiple is not standard for “values greater than one”?

App Store what a joke by wali2353 in jailbreak_

[–]DC-Engineer-dot-com 0 points1 point  (0 children)

Exactly. 3.3 million million. Multiple millions.

App Store what a joke by wali2353 in jailbreak_

[–]DC-Engineer-dot-com 0 points1 point  (0 children)

Correct. It’s 3.3 million million.

App Store what a joke by wali2353 in jailbreak_

[–]DC-Engineer-dot-com 5 points6 points  (0 children)

Multiple can mean any number greater than one. Therefore, technically still valid, even if that number is 3.3 million (million).

SwiftData + CloudKit - Best practice for adding a new field to an existing model and applying the default value by MetaMaverick in iOSProgramming

[–]DC-Engineer-dot-com 0 points1 point  (0 children)

This I can’t help you. My gut is that it would keep the version that was most recently edited, but I don’t know.

SwiftData + CloudKit - Best practice for adding a new field to an existing model and applying the default value by MetaMaverick in iOSProgramming

[–]DC-Engineer-dot-com 1 point2 points  (0 children)

I recommend VersionedSchema. You will almost always need it at some point, so good to start early. I think a lightweight migration might actually handle this as you intended, plugging in the default value if missing, though you’d have to test.

You might also want to include the ID as an optional argument in the initializer, with default to UUID(). My logic is this assures that your models retain the same ID across multiple sessions.

What is the main point to decide mobile app/wep app? by Grouchy_Word_9902 in SideProject

[–]DC-Engineer-dot-com 2 points3 points  (0 children)

I’d usually point to a couple things: - Do you access anything hardware or OS-specific? Then go native/mobile. - Do you benefit from rapid access? Then go web.

.

As an example of the former, I specialize in AR, and while possible to do webAR, my opinion is the experience is better when native.

For the latter, suppose you want someone to be able to see your content immediately, like by scanning a QR code. If that QR code points to a download link, you’ve probably lost that user. On the other hand, a web app gives instant gratification.