Practice the ROS2 Service Server: Multiply Two Floats coding problem in Services. Browser-based execution with automated grading — no local ROS install required. 0% of engineers pass this challenge.
Create a multiplication service — a common pattern for offloading computation to a dedicated ROS2 node.
multiplier_service/multiply_floatsexample_interfaces/AddTwoInts (reuse this standard type — treat a and b as floats, return a * b as the sum field)Request: a (int64), b (int64) — treat these as your two operands
Response: sum (int64) — return the product a * b
a + b instead of a * b — this is a multiplication servicerclpy.spin(node) after creating the servicesum (from AddTwoInts), not productIt is a hands-on Services challenge on SimuCode where you implement and run ROS2 code in the browser with runtime-verified tests.
Open this page, sign in, and solve the problem in the built-in IDE. Your solution is graded against real ROS2 execution checks.
This Easy problem focuses on Services skills used in robotics interviews and production systems.