Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/mujoco_system_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ MujocoSystemInterface::on_init(const hardware_interface::HardwareComponentInterf
return hardware_interface::CallbackReturn::FAILURE;
}

// Disable the rangefinder flag at startup so that we don't get the yellow lines.
// We can still turn this on manually if desired.
sim_->opt.flags[mjVIS_RANGEFINDER] = false;

// When the interface is activated, we start the physics engine.
physics_thread_ = std::thread([this]() {
// Load the simulation and do an initial forward pass
Expand Down
Loading