Skip to content

Return std::optional in RobotDriver::get_error() #36

Return std::optional in RobotDriver::get_error()

Return std::optional in RobotDriver::get_error() #36

Triggered via pull request September 19, 2023 13:25
Status Failure
Total duration 1m 30s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build_pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
build_and_test: include/robot_fingers/n_joint_blmc_robot_driver.hxx#L10
invalid covariant return type for ‘std::optional<std::__cxx11::basic_string<char> > robot_fingers::NJointBlmcRobotDriver<Observation, N_JOINTS, N_MOTOR_BOARDS>::get_error() [with Observation = robot_interfaces::NJointObservation<1>; long unsigned int N_JOINTS = 1; long unsigned int N_MOTOR_BOARDS = 1]’
build_and_test: include/robot_fingers/n_joint_blmc_robot_driver.hxx#L10
invalid covariant return type for ‘std::optional<std::__cxx11::basic_string<char> > robot_fingers::NJointBlmcRobotDriver<Observation, N_JOINTS, N_MOTOR_BOARDS>::get_error() [with Observation = robot_interfaces::NJointObservation<2>; long unsigned int N_JOINTS = 2; long unsigned int N_MOTOR_BOARDS = 1]’
build_and_test
Process completed with exit code 2.