home.social

#ros2humble — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #ros2humble, aggregated by home.social.

  1. @themagpi

    > Raspberry Pi projects?

    Solved a month long mystery!

    How to manage Raspberry Pi I2C device access inside ROS2/Ubuntu/Docker container **AND** outside the container in Raspberry PiOS Bookworm?

    Docker invocation must map both the bus AND the mutex lock folder /var/lock/


  2. @drfootleg Another tip that has been plaguing me for a month!

    If you have processes inside a Docker container and other processes outside the Docker container that need mutex protection such as I2C bus or SPI bus accesses, you need to map the bus (obviously) **and** the mutex folder!

    I had the sensor access working great but could not figure out why my inside and outside "mutex protected" accesses were colliding...

  3. Think I solved why my inside Docker (ROS 2) access to I2C INA219 current sensor was colliding with my outside Docker access to the device - forgot to map the /var/lock directory so the mutex is visible from both environments!

  4. At this reduced transfer rate, the can make a two byte transfer in 0.0003 seconds, which means it can retrieve the left and right wheel encoder values roughly 1700 times per second - plenty fast enough for my robot to publish and the resultant at 30 Hz.

  5. (Again) so excited that my wallfollower.py node drove my “WaLI (wallfollower looking for intelligence)” to follow 17 meters of six connected walls!

    So far it is subscribing to five topics /ir_intensity (range to wall and obstacle detection), /hazard_detection (bumpers), /ir_opcode (virtual wall), /kidnap_status (lifted by human), and /odom (pose), and a seven state machine managing seven motion actions/reactions.

    Now to “parameterize” and “generalize” it.

  6. Mapping w/o Localization

    Got slam_toolbox mapping with localization turned off, but managed to figure out how to serve up a better looking map from my house floor plan.

    The weakness of dead reckoning becomes very evident with the floorplan map.

    Next up - with and

  7. -Wali

    Dress Rehearsal
    Full Load
    Power System Test

    Full load (1min 4.96): No Throttling - NO PROBLEM.

    Wali with 14.4v powered USB hub inside cargo drawer:

    (WaLi: Wall follower Looking for Intelligence)

    The Pi5 has running in over PiOS 64-bit Bookworm Desktop

  8. - - !!!

    async mapping:
    - Pi4 15% CPU (2% of RPi4)
    - Pi5 5% CPU (1% of RPi5)

    Much prefer configuring and running ROS 2 native on on Pi4 than configuring Docker on Pi5.

    rViz2 in Ubuntu 22.04 in VM on Mac OS showing map and path.

    slam-toolbox async in Docker on PiOS 64-bit Bookworm on Pi5 (2 ssh sessions)

    on Ubuntu 22.04 on Pi4 (4 ssh sessions)

    All talking to each other - pretty impressed with