Skip to main content

Service Call

Call a service and view its response.

Supports live ROS 1 and ROS 2 connections, as well as custom Foxglove WebSocket connections that provide services.

Service call panel

Settings

General

fielddescription
Service nameName of service to make a request to
LayoutPositioning of request and response inputs ("Vertical" or "Horizontal")
Editing modeWhether you want to edit the request message and see the response message; On by default

Button

Configure the button for calling the service.

fielddescription
TitleButton text
TooltipButton tooltip text
ColorButton color

User interactions

The "Call service" button will be disabled until connected to a supported data source.

Format the service request using valid JSON in the "Request" input, and click the "Call service" button. The result will appear in the "Response" input.