-
Notifications
You must be signed in to change notification settings - Fork 727
Closed
Description
In moveit_configs_utils launches.py generate_move_group_launch the code assumes the users DISPLAY is :0 mine happens to be :1 which causes the following error and then crash of move_group
[move_group-1] freeglut (<): failed to open display ':0'
Here is a snippet of the code that overwrites the users DISPLAY environment variable.
add_debuggable_node(
ld,
package="moveit_ros_move_group",
executable="move_group",
commands_file=str(moveit_config.package_path / "launch" / "gdb_settings.gdb"),
output="screen",
parameters=move_group_params,
extra_debug_args=["--debug"],
# Set the display variable, in case OpenGL code is used internally
additional_env={"DISPLAY": ":0"},
)Removing the additional_env line and setting my DISPLAY environment variable correctly resolved the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels