lucasw's Avatar

lucasw

@lucasw0.bsky.social

https://github.com/lucasw Interested in rust programming & robotics

26 Followers  |  89 Following  |  78 Posts  |  Joined: 20.11.2024  |  1.7989

Latest posts by lucasw0.bsky.social on Bluesky

Preview
AMP with Carter Schultz - Rust in Production Podcast | corrode Rust Consulting Imagine youโ€™re faced with the challenge to build a system that can handle billions of recyclable items per year with the goal of being better than a human at identifying what can be recycled. Material...

Rust in Production robotics podcasts in addition to the Scythe Robotics with Andrew Tinka one above: Matic with Eric Seppanen and AMP with Carter Schultz:

corrode.dev/podcast/s02e...

corrode.dev/podcast/s02e...

17.10.2025 15:22 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Scythe Robotics with Andrew Tinka - Rust in Production Podcast | corrode Rust Consulting Building autonomous robots that operate safely in the real world is one ofโ€ฆ

corrode.dev/podcast/s05e...

16.10.2025 23:12 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

"I I think it gives people an idea that we're like a Montessori school for systems people. And it's like hey everyone come in and just do whatever you want. Do you wanna eat the Play Doh today? Ok eat the Play Doh... I feel like that's not really accurate"

16.10.2025 15:37 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

"We can talk about this in kind of our founder mode episode that we about the importance of trust and clarity. And if you've got trust and clarity, then I think you can have autonomy... I think autonomy is important because I think that's when people do the best work"

16.10.2025 15:36 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Release 5.4.0 ยท jrouwe/JoltPhysics There are a few minor breaking changes, see this document. New Functionality Added Cosserat rods to soft bodies. This is a stick constraint with an orientation that can be used to attach geometry....

Jolt Physics v5.4.0 is out! Check out the release notes here: github.com/jrouwe/JoltP...

27.09.2025 12:33 โ€” ๐Ÿ‘ 34    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Rust Bevy JoltPhysics vehicle simulation
YouTube video by Lucas Walter Rust Bevy JoltPhysics vehicle simulation

Rust wrapped Jolt Physics visualized in Bevy- each ray-cast simulated lidar point is an individually translated sphere
youtu.be/I2yfPAyACps?...

04.10.2025 15:05 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Sguaba: Type-safe spatial math in Rust
YouTube video by Jon Gjengset Sguaba: Type-safe spatial math in Rust

About a month ago, I gave a talk at the Rust Amsterdam meetup about Sguaba (the type-safe spatial math Rust crate), and the recording of that is now online for anyone who wants their head to hurt with frames of reference and coordinate transforms ๐Ÿ˜…
youtu.be/kESBAiTYMoQ

29.09.2025 14:26 โ€” ๐Ÿ‘ 25    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

The 'Rust for Robotics' video is now on youtube: youtu.be/1zLLuWbnuN8?...

04.10.2025 14:59 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

It's been a month since #rustconf 2025, but the buzz is still strong! ๐Ÿฆ€

Revisit the magic via these videos on the @rustfoundation.org YouTube channel, incl. sessions, keynotes, & this highlight reel: www.youtube.com/watch?v=Hw_I...

+Donโ€™t miss these event pics ๐Ÿ“ธ www.flickr.com/photos/rustf...

03.10.2025 15:34 โ€” ๐Ÿ‘ 14    ๐Ÿ” 6    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 2

A nice feature with rerun with the buffering of recent data in rerun is that I can build, run a simulation of so many steps faster than real time, replay some then make changes and recompile, but continue to watch the sim in rerun and scrub around in time while waiting (and maybe make more changes).

18.09.2025 16:20 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@rerun.io for visualization again, though the movement over the terrain is not obvious- directional lighting and shadows would help (rviz doesn't have shadows but does have camera aligned lighting). I could bake some shading into the mesh triangle colors, or other rerun features could help?

18.09.2025 16:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

The Jolt Physics 'VehicleConstraintsTest C++ wrapped in rust using cxx- it's working as well as I need it to though I'm not sure if wheel friction is right (are wheels spinning faster than vehicle speed over the ground?). The build process isn't ideal but is workable.
github.com/lucasw/jolt_...

18.09.2025 16:12 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Dancing with Roomba โ€“ Cracking the Robot Riddle and Building an Icon

A soon-to-be-released book about iRobot: 'Dancing with Roomba: Cracking the Robot Riddle and Building an Icon' dancingwithroomba.com - via @weeklyrobotics.bsky.social (www.weeklyrobotics.com)

16.09.2025 15:51 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

```
cxx_build::bridge...
.define("JPH_DEBUG_RENDERER", Some("1"))
.define("JPH_PROFILE_ENABLED", Some("1"))
```

Now can run the hello world through cxx, can resume with the vehicle example next

11.09.2025 00:09 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Need to match these:
```
Version mismatch, make sure you compile the client code with the same Jolt version and compiler definitions!
Mismatching define JPH_PROFILE_ENABLED.
Mismatching define JPH_DEBUG_RENDERER.
```

11.09.2025 00:03 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Include headers in cxx_build include() brought in by a dependency within target/ sub-directory? ยท Issue #1641 ยท dtolnay/cxx I have headers like target/release/build/joltc-sys-cbcdf0340a740e35/out/include/Jolt/Physics/PhysicsSystem.h I'd like to use with cxx_build::bridge(...).include(), but that hash is not going to be ...

Maybe will get an answer here github.com/dtolnay/cxx/... though it isn't really a cxx issue

10.09.2025 21:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Build Scripts - The Cargo Book

Does 'links' help? doc.rust-lang.org/cargo/refere...

10.09.2025 21:26 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

First question is can I use header files that are pulled in by a dependency (joltc-sys) in my `build.rs`? It looks like it automatically knows about target/release/build/joltc-...hash.../out/lib/libJolt.a, I can link that, but how to include 'joltc-sys-.../out/include/' in cxx_build?

10.09.2025 21:25 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Starting over with getting a Jolt physics vehicle simulation into rust- going to try to put a big chunk of it into C++, then use cxx to manage that through a high level interface to supply inputs, step the sim, and get new state after the step update.

10.09.2025 21:21 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 1
GitHub - amerkoleci/joltc: JoltPhysics C interface JoltPhysics C interface. Contribute to amerkoleci/joltc development by creating an account on GitHub.

The next thing needed is a HeightField to drive over, but that isn't in the jolt-rust JoltC currently- github.com/amerkoleci/j... which is a different jolt c wrapper does have it, but making a rust wrapper for that is daunting. Should I just do nearly everything in C++, wrap in rust at high level?

10.09.2025 15:59 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

Have a sim vehicle in jolt-rust working with stacked hinges for wheel rotation and steering on two of four wheels, no suspension, visualized in @rerun.io:

10.09.2025 15:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

But now I'm seeing the SixDOFConstraintSettings is missing the MotorSettings... maybe I should just make slider constraints and add separate steering and rolling hinges?

09.09.2025 21:17 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

What about GroupFilterTable? I see JPC_GroupFilter but no table- what does the table do?

09.09.2025 01:35 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

But VehicleSixDOFTest.cpp only needs SixDOFConstraintSettings which is already in JoltC, so that's the example to follow for now

09.09.2025 01:09 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Now looking at VehicleConstraintTest.cpp there are several things that don't exist in JoltC: VehicleConstraintSettings & WheelSettingsWV (which extends WheelSettings) - the first looks to be easy to add, there are many other *ConstraintSettings in JoltC to follow the example of.

09.09.2025 01:07 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Rustconf main room

02.09.2025 18:58 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
add PhysicsSystem SetGravity ยท lucasw/JoltC@5f08a55

Also need to update the joltc submodule with SetGravity: github.com/lucasw/JoltC...

30.08.2025 02:23 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
add physics system set_gravity ยท lucasw/jolt-rust@ed21aad

Have to cargo clean if I add a new function to the Jolt bindings? Or is there a specific file or directory in target I could have deleted for less rebuilding time?

Anyhow added SetGravity()

github.com/lucasw/jolt-...

30.08.2025 01:52 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
cargo test is very sensitive to the link order (on linux), it has to โ€ฆ ยท lucasw/jolt-rust@94efc77 โ€ฆbe in this new position

cargo test was strangely sensitive to `build.rs` link order, figured it out by trial and error: github.com/lucasw/jolt-...

29.08.2025 03:30 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

linux building is current of jolt-rust was broken, `undefined reference to `JPH::AlignedFree'` and many many others- but adding a `build.rs` to link the built libraries in the hello world examples fixed that- except cargo test has the same problem- how do I link it?

29.08.2025 02:58 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@lucasw0 is following 20 prominent accounts