Skip to content

Rangefinder lidar as plugin - #7

Closed
eholum-nasa wants to merge 7 commits into
refactor-camera-as-pluginfrom
rangefinder-lidar-as-plugin
Closed

eholum-nasa wants to merge 7 commits into
refactor-camera-as-pluginfrom
rangefinder-lidar-as-plugin

Conversation

@eholum-nasa

Copy link
Copy Markdown
Member

Working on top of ros-controls#211. Leaving here for now until the upstream is merged...

Does the exact same thing simply for legacy support of existing rangefinder sensors. These shouldn't be too long lived so minimal effort on docs and what not until we decide what to do for 3d lidar support.

@eholum-nasa eholum-nasa self-assigned this Jun 7, 2026
@eholum-nasa
eholum-nasa force-pushed the rangefinder-lidar-as-plugin branch 2 times, most recently from 7f73100 to b4ed2e5 Compare June 7, 2026 20:35
msavchen-nasa and others added 7 commits June 9, 2026 13:49
* Coppied external wrench plugin so I have something to start off with

* emptied out camera plugin and added some publishers

* smushed the mujco_cameras code into camera_plugin

* removed camera and lidars from system interface

* added the plugin into the plugins list

* removed  repeating parameters

* combined init functions

* Adjusting camera

* Remove cameras

* Ignore headless init for now

* Use a condition variable

* Descope test

* Update core deps

* Add camera test

* moved mujoco data copying to the main thread

* removed repeating headers

* added parameters for topic definitions

* added class descriptor

* parameterized camera publishing rate

* reorganized GLFW initialization

* added is_initialized flag to avoid racing conditions

* added configuration file to the demo launch files, necessary for testing

* removed debugging log

* forgot the pre-commit

* added fix for statically linking tinyxml2

* Update mujoco_ros2_control_plugins/include/mujoco_ros2_control_plugins/camera_plugin.hpp

Co-authored-by: Erik Holum <erik.holum@nasa.gov>

* Update mujoco_ros2_control_plugins/include/mujoco_ros2_control_plugins/camera_plugin.hpp

Co-authored-by: Erik Holum <erik.holum@nasa.gov>

* Update mujoco_ros2_control_plugins/include/mujoco_ros2_control_plugins/camera_plugin.hpp

Co-authored-by: Erik Holum <erik.holum@nasa.gov>

* removed repeated instructions

* moved camera docs

* no more publish rate

* Update docs, add a warning

* Comments and minor tweak to rendering

* Re-add conditional check in update

* minor cleanup

* Leave legacy launch mechanisms in place for some demos

* typo

* Cleanup helper

* Only warn if the plugin wasn't loaded

* Plugin description was wrong

* Update mujoco_ros2_control_plugins/include/mujoco_ros2_control_plugins/camera_plugin.hpp

Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>

* Support legacy camera registration for now

---------

Co-authored-by: Erik Holum <erik.holum@nasa.gov>
Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>
@eholum-nasa
eholum-nasa force-pushed the rangefinder-lidar-as-plugin branch from b4ed2e5 to a0fe4f2 Compare June 9, 2026 18:51
@eholum-nasa eholum-nasa closed this Jun 9, 2026
@eholum-nasa
eholum-nasa deleted the rangefinder-lidar-as-plugin branch July 17, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants