Repository navigation
Releases
Releases · darshmenon/armdoc
v0.6.3
Changelog
Unreleased
0.6.3
- README adds a quickstart and a comparison. No code changes.
0.6.2
- The PyPI page now shows the README. No code changes.
0.6.1
- Releases publish to PyPI. CI tests the Python tool on ROS 2 Lyrical.
0.6.0
- Builds in CI on ROS 2 Lyrical (C++ package: equivalence tests and a fake-graph check; the Python package is not CI-tested on Lyrical, and nothing has run against a live robot or sim there).
- Fix: the C++ package links targets directly, because Lyrical no longer has
ament_target_dependencies. --expect joint_states:50(repeatable): state the normal rate yourself and getRATE_DROP/RATE_SPIKEwithout a--learnrun; overrides a learned value. Unit-tested (parser + check, new tests); flag wiring checked via--helpand a bad value; not run against a live graph.- New
LOG_*warnings from/rosout(WARN and above frommove_group,controller_managerand the controllers), counted over 30 s, each with a hint:LOG_PLAN_GOAL_INVALID,LOG_START_STATE_BAD,LOG_START_DEVIATES,LOG_NO_CONTROLLER,LOG_ACTION_NOT_CONNECTED,LOG_ROBOT_STATE_STALE,LOG_TOLERANCE_VIOLATED,LOG_EXEC_ABORTED. Unit-tested on the message patterns and run live against a fakemove_grouplog line; not yet against a real MoveIt stack that emits each message. - Per-arm baselines:
--learn SECSrecords the normal/joint_statesrate,--baselinewarns withRATE_DROP/RATE_SPIKEbelow half or above double that. Plain statistics, no model. Run live against the fake arm (learn at 50 Hz, quiet at 50 Hz,RATE_DROPat 10 Hz).
0.5.0
- Fix, found by running the MCP server against a live UR3 Gazebo sim: attaching while the arm controller was already inactive left the arm joints unknown, so every gripper joint resting at its closed limit raised
NEAR_LIMIT, burying the realCTRL_INACTIVE. Joints named like a gripper or finger are now skipped forNEAR_LIMITuntil the arm joints are learned. Verified live: onlyCTRL_INACTIVEandNO_ACTIVE_ARM_CTRLremain, and the arm reads healthy again after reactivation. - New
NO_TRAJ_ACTION(error): an active joint trajectory controller whosefollow_joint_trajectoryaction server is not on the graph (MoveIt: "Action client not connected"). NewMOVEIT_CTRL_MISMATCH(error,--moveit): move_group'scontroller_nameslists a controller ros2_control does not have. Both unit-tested; the fake arm run stays healthy, but neither fault has been reproduced live.
0.4.0
armdoc_fasttakes-p json:=trueand prints the findings as a JSON list of{level, code, msg}, likearmdoc --json.test/test_cpp_live.py(4 tests, skipped without ROS and armdoc_cpp) checks the arm-joint learning and the JSON shape againsttest/fake_gripper_arm.py.- CI job
jazzy-cpp(ros:jazzy-ros-base): buildsarmdoc_cpp, runs the equivalence tests and a live check on the fake arm. Run locally in docker first: builds, 20 tests pass, healthy arm reported healthy by both the Python and C++ tools, freeze exits 1. - armdoc_cpp, found by running it against a live UR3 Gazebo sim: (1) it reported a lag of 1.8 billion seconds because the sim stamps messages with sim time while the node compares against the wall clock; it now ignores gaps over 1e4 s like the Python tool. (2) It judged the Robotiq
finger_joint, resting at its closed limit, as an arm joint (NEAR_LIMIT); it now asks<ns>/controller_manager/list_controllerswhich joints the arm controllers claim (sameis_arm_controllerrule and the same keep-the-last-set behaviour as the Python tool), or takes anarm_jointsparameter.is_arm_controlleris checked against Python in the equivalence test. - Fix: deactivating the arm controller no longer widens the checks to every joint. An inactive controller claims no interfaces, so armdoc forgot which joints are the arm's and judged gripper fingers resting at their closed limit as arm joints (
NEAR_LIMIT). Found by running armchaos against a Franka Panda; the last known arm joints are kept (update_arm_joints). - Verified on two non-UR arms with the real ros2_control controller manager (mock hardware): FANUC (6 joints) and Franka Panda (7 joints), through armchaos, all expected codes raised.
- New
armdoc_cppcolcon package (in this repo):ros2 run armdoc_cpp armdoc_fastis a C++ port of the live/joint_stateschecks (JOINT_STATES_NONE/STALE,JOINT_NAN,LIMIT_POS,NEAR_LIMIT,LIMIT_VEL,EFFORT_SAT,NOISY_JOINTS,STREAM_LAG), read-only, for leaving next to a fast controller. On a 50 Hz stream it used 0.9% of a core and 22 MB, against 5.5% and 65 MB for the Python tool (one 20 s run). Controller, MoveIt and action checks stay in the Python tool. test/test_cpp_equivalence.pyfeeds identical randomized/joint_statesstreams (healthy, noisy, limits, NaN, effort, lag, stale, joint subset, slow) toarmdoc/core.pyand the C++ core and requires the same findings, level, code and message.
0.3.0
- New
NOISY_JOINTScheck: position jitter estimated from the fourth difference of the joint positions over 1 s (--noise-rad, default 0.002 rad). Silent below 20 Hz. - New
STREAM_LAGcheck:/joint_statesheader stamp versus arrival time, median over 2 s (--lag-max, default 0.5 s). Silent when the stamps use another clock (setuse_sim_timefor sim stamps). - With
--moveit:MOVEIT_PLAN_FAILED(a/move_actiongoal aborted in the last 30 s) andNO_PLANNING_SCENE(move_groupis up but no scene is published or served). - Goals that finished before armdoc attached are no longer counted as new aborts (judged by the goal's stamp).
ros2 launch armdoc armdoc.launch.pywithconfig/armdoc.yaml; thresholds are ROS parameters of the node and win over the CLI flags.--ros-argsis accepted on the command line.- Dockerfile and
docker/demo: a healthy fake arm, a stalled trajectory, and a fake MoveIt without a planning scene. test/fake_arm.py --moveit [--no-scene] [--plan-fail]; CI also checks the two MoveIt codes.- Validated against armchaos
noiseandlagfaults (docs/e2e_*.txt). A clean exit when launch interrupts the node. - README quick start rewritten.
0.2.0
--record FILE.jsonllogs timestamped joint positions and findings while armdoc runs;armdoc report FILE.jsonl --html report.html --png report.pngrenders a joint timeline with shaded finding bands, a controller lane and a findings table (self-contained HTML with hover and legend toggles, or a matplotlib PNG). The report step needs no ROS.--ready [SECS]: pre-flight mode. Watches SECS (default 10), prints a suggested next step under each finding and aREADY/NOT READYverdict, exits 1 if not ready.--hintsprints the same hints in normal mode.--diagnostics: opt-in, also publishes findings to/diagnostics(diagnostic_msgs/DiagnosticArray, one status per finding, or one OK status). It is the only thing armdoc ever publishes and is off by default.- GitHub Actions CI: pytest on the diagnosis rules, plus a Humble job that runs
test/fake_arm.py --stalland assertsarmdoc --onceexits 1 withTRAJ_STALLED. - Verified on a UR3 in Gazebo (ros2_control):
--readyand--diagnosticshealthy and with the arm controller deactivated.
0.1.0
- First release: a read-only doctor for ros2_control / MoveIt 2 arms.
- Checks:
/joint_statesmissing or stale, NaN joints, joint position, velocity and effort limits (from/robot_description, arm joints only), inactive arm controllers, missingmove_group, trajectory tracking error, stalled trajectory goals, repeated goal aborts. - Modes: live reports,
--once SECS(exit 1 on ERROR, for CI),--json,--ns,--moveit. - Verified on a UR3 in Gazebo (healthy, controller deactivated, sim paused);
test/fake_arm.pyfakes a graph for CI.
v0.6.2
Changelog
Unreleased
0.6.2
- The PyPI page now shows the README. No code changes.
0.6.1
- Releases publish to PyPI. CI tests the Python tool on ROS 2 Lyrical.
0.6.0
- Builds in CI on ROS 2 Lyrical (C++ package: equivalence tests and a fake-graph check; the Python package is not CI-tested on Lyrical, and nothing has run against a live robot or sim there).
- Fix: the C++ package links targets directly, because Lyrical no longer has
ament_target_dependencies. --expect joint_states:50(repeatable): state the normal rate yourself and getRATE_DROP/RATE_SPIKEwithout a--learnrun; overrides a learned value. Unit-tested (parser + check, new tests); flag wiring checked via--helpand a bad value; not run against a live graph.- New
LOG_*warnings from/rosout(WARN and above frommove_group,controller_managerand the controllers), counted over 30 s, each with a hint:LOG_PLAN_GOAL_INVALID,LOG_START_STATE_BAD,LOG_START_DEVIATES,LOG_NO_CONTROLLER,LOG_ACTION_NOT_CONNECTED,LOG_ROBOT_STATE_STALE,LOG_TOLERANCE_VIOLATED,LOG_EXEC_ABORTED. Unit-tested on the message patterns and run live against a fakemove_grouplog line; not yet against a real MoveIt stack that emits each message. - Per-arm baselines:
--learn SECSrecords the normal/joint_statesrate,--baselinewarns withRATE_DROP/RATE_SPIKEbelow half or above double that. Plain statistics, no model. Run live against the fake arm (learn at 50 Hz, quiet at 50 Hz,RATE_DROPat 10 Hz).
0.5.0
- Fix, found by running the MCP server against a live UR3 Gazebo sim: attaching while the arm controller was already inactive left the arm joints unknown, so every gripper joint resting at its closed limit raised
NEAR_LIMIT, burying the realCTRL_INACTIVE. Joints named like a gripper or finger are now skipped forNEAR_LIMITuntil the arm joints are learned. Verified live: onlyCTRL_INACTIVEandNO_ACTIVE_ARM_CTRLremain, and the arm reads healthy again after reactivation. - New
NO_TRAJ_ACTION(error): an active joint trajectory controller whosefollow_joint_trajectoryaction server is not on the graph (MoveIt: "Action client not connected"). NewMOVEIT_CTRL_MISMATCH(error,--moveit): move_group'scontroller_nameslists a controller ros2_control does not have. Both unit-tested; the fake arm run stays healthy, but neither fault has been reproduced live.
0.4.0
armdoc_fasttakes-p json:=trueand prints the findings as a JSON list of{level, code, msg}, likearmdoc --json.test/test_cpp_live.py(4 tests, skipped without ROS and armdoc_cpp) checks the arm-joint learning and the JSON shape againsttest/fake_gripper_arm.py.- CI job
jazzy-cpp(ros:jazzy-ros-base): buildsarmdoc_cpp, runs the equivalence tests and a live check on the fake arm. Run locally in docker first: builds, 20 tests pass, healthy arm reported healthy by both the Python and C++ tools, freeze exits 1. - armdoc_cpp, found by running it against a live UR3 Gazebo sim: (1) it reported a lag of 1.8 billion seconds because the sim stamps messages with sim time while the node compares against the wall clock; it now ignores gaps over 1e4 s like the Python tool. (2) It judged the Robotiq
finger_joint, resting at its closed limit, as an arm joint (NEAR_LIMIT); it now asks<ns>/controller_manager/list_controllerswhich joints the arm controllers claim (sameis_arm_controllerrule and the same keep-the-last-set behaviour as the Python tool), or takes anarm_jointsparameter.is_arm_controlleris checked against Python in the equivalence test. - Fix: deactivating the arm controller no longer widens the checks to every joint. An inactive controller claims no interfaces, so armdoc forgot which joints are the arm's and judged gripper fingers resting at their closed limit as arm joints (
NEAR_LIMIT). Found by running armchaos against a Franka Panda; the last known arm joints are kept (update_arm_joints). - Verified on two non-UR arms with the real ros2_control controller manager (mock hardware): FANUC (6 joints) and Franka Panda (7 joints), through armchaos, all expected codes raised.
- New
armdoc_cppcolcon package (in this repo):ros2 run armdoc_cpp armdoc_fastis a C++ port of the live/joint_stateschecks (JOINT_STATES_NONE/STALE,JOINT_NAN,LIMIT_POS,NEAR_LIMIT,LIMIT_VEL,EFFORT_SAT,NOISY_JOINTS,STREAM_LAG), read-only, for leaving next to a fast controller. On a 50 Hz stream it used 0.9% of a core and 22 MB, against 5.5% and 65 MB for the Python tool (one 20 s run). Controller, MoveIt and action checks stay in the Python tool. test/test_cpp_equivalence.pyfeeds identical randomized/joint_statesstreams (healthy, noisy, limits, NaN, effort, lag, stale, joint subset, slow) toarmdoc/core.pyand the C++ core and requires the same findings, level, code and message.
0.3.0
- New
NOISY_JOINTScheck: position jitter estimated from the fourth difference of the joint positions over 1 s (--noise-rad, default 0.002 rad). Silent below 20 Hz. - New
STREAM_LAGcheck:/joint_statesheader stamp versus arrival time, median over 2 s (--lag-max, default 0.5 s). Silent when the stamps use another clock (setuse_sim_timefor sim stamps). - With
--moveit:MOVEIT_PLAN_FAILED(a/move_actiongoal aborted in the last 30 s) andNO_PLANNING_SCENE(move_groupis up but no scene is published or served). - Goals that finished before armdoc attached are no longer counted as new aborts (judged by the goal's stamp).
ros2 launch armdoc armdoc.launch.pywithconfig/armdoc.yaml; thresholds are ROS parameters of the node and win over the CLI flags.--ros-argsis accepted on the command line.- Dockerfile and
docker/demo: a healthy fake arm, a stalled trajectory, and a fake MoveIt without a planning scene. test/fake_arm.py --moveit [--no-scene] [--plan-fail]; CI also checks the two MoveIt codes.- Validated against armchaos
noiseandlagfaults (docs/e2e_*.txt). A clean exit when launch interrupts the node. - README quick start rewritten.
0.2.0
--record FILE.jsonllogs timestamped joint positions and findings while armdoc runs;armdoc report FILE.jsonl --html report.html --png report.pngrenders a joint timeline with shaded finding bands, a controller lane and a findings table (self-contained HTML with hover and legend toggles, or a matplotlib PNG). The report step needs no ROS.--ready [SECS]: pre-flight mode. Watches SECS (default 10), prints a suggested next step under each finding and aREADY/NOT READYverdict, exits 1 if not ready.--hintsprints the same hints in normal mode.--diagnostics: opt-in, also publishes findings to/diagnostics(diagnostic_msgs/DiagnosticArray, one status per finding, or one OK status). It is the only thing armdoc ever publishes and is off by default.- GitHub Actions CI: pytest on the diagnosis rules, plus a Humble job that runs
test/fake_arm.py --stalland assertsarmdoc --onceexits 1 withTRAJ_STALLED. - Verified on a UR3 in Gazebo (ros2_control):
--readyand--diagnosticshealthy and with the arm controller deactivated.
0.1.0
- First release: a read-only doctor for ros2_control / MoveIt 2 arms.
- Checks:
/joint_statesmissing or stale, NaN joints, joint position, velocity and effort limits (from/robot_description, arm joints only), inactive arm controllers, missingmove_group, trajectory tracking error, stalled trajectory goals, repeated goal aborts. - Modes: live reports,
--once SECS(exit 1 on ERROR, for CI),--json,--ns,--moveit. - Verified on a UR3 in Gazebo (healthy, controller deactivated, sim paused);
test/fake_arm.pyfakes a graph for CI.
v0.6.1
Changelog
Unreleased
0.6.1
- Releases publish to PyPI. CI tests the Python tool on ROS 2 Lyrical.
0.6.0
- Builds in CI on ROS 2 Lyrical (C++ package: equivalence tests and a fake-graph check; the Python package is not CI-tested on Lyrical, and nothing has run against a live robot or sim there).
- Fix: the C++ package links targets directly, because Lyrical no longer has
ament_target_dependencies. --expect joint_states:50(repeatable): state the normal rate yourself and getRATE_DROP/RATE_SPIKEwithout a--learnrun; overrides a learned value. Unit-tested (parser + check, new tests); flag wiring checked via--helpand a bad value; not run against a live graph.- New
LOG_*warnings from/rosout(WARN and above frommove_group,controller_managerand the controllers), counted over 30 s, each with a hint:LOG_PLAN_GOAL_INVALID,LOG_START_STATE_BAD,LOG_START_DEVIATES,LOG_NO_CONTROLLER,LOG_ACTION_NOT_CONNECTED,LOG_ROBOT_STATE_STALE,LOG_TOLERANCE_VIOLATED,LOG_EXEC_ABORTED. Unit-tested on the message patterns and run live against a fakemove_grouplog line; not yet against a real MoveIt stack that emits each message. - Per-arm baselines:
--learn SECSrecords the normal/joint_statesrate,--baselinewarns withRATE_DROP/RATE_SPIKEbelow half or above double that. Plain statistics, no model. Run live against the fake arm (learn at 50 Hz, quiet at 50 Hz,RATE_DROPat 10 Hz).
0.5.0
- Fix, found by running the MCP server against a live UR3 Gazebo sim: attaching while the arm controller was already inactive left the arm joints unknown, so every gripper joint resting at its closed limit raised
NEAR_LIMIT, burying the realCTRL_INACTIVE. Joints named like a gripper or finger are now skipped forNEAR_LIMITuntil the arm joints are learned. Verified live: onlyCTRL_INACTIVEandNO_ACTIVE_ARM_CTRLremain, and the arm reads healthy again after reactivation. - New
NO_TRAJ_ACTION(error): an active joint trajectory controller whosefollow_joint_trajectoryaction server is not on the graph (MoveIt: "Action client not connected"). NewMOVEIT_CTRL_MISMATCH(error,--moveit): move_group'scontroller_nameslists a controller ros2_control does not have. Both unit-tested; the fake arm run stays healthy, but neither fault has been reproduced live.
0.4.0
armdoc_fasttakes-p json:=trueand prints the findings as a JSON list of{level, code, msg}, likearmdoc --json.test/test_cpp_live.py(4 tests, skipped without ROS and armdoc_cpp) checks the arm-joint learning and the JSON shape againsttest/fake_gripper_arm.py.- CI job
jazzy-cpp(ros:jazzy-ros-base): buildsarmdoc_cpp, runs the equivalence tests and a live check on the fake arm. Run locally in docker first: builds, 20 tests pass, healthy arm reported healthy by both the Python and C++ tools, freeze exits 1. - armdoc_cpp, found by running it against a live UR3 Gazebo sim: (1) it reported a lag of 1.8 billion seconds because the sim stamps messages with sim time while the node compares against the wall clock; it now ignores gaps over 1e4 s like the Python tool. (2) It judged the Robotiq
finger_joint, resting at its closed limit, as an arm joint (NEAR_LIMIT); it now asks<ns>/controller_manager/list_controllerswhich joints the arm controllers claim (sameis_arm_controllerrule and the same keep-the-last-set behaviour as the Python tool), or takes anarm_jointsparameter.is_arm_controlleris checked against Python in the equivalence test. - Fix: deactivating the arm controller no longer widens the checks to every joint. An inactive controller claims no interfaces, so armdoc forgot which joints are the arm's and judged gripper fingers resting at their closed limit as arm joints (
NEAR_LIMIT). Found by running armchaos against a Franka Panda; the last known arm joints are kept (update_arm_joints). - Verified on two non-UR arms with the real ros2_control controller manager (mock hardware): FANUC (6 joints) and Franka Panda (7 joints), through armchaos, all expected codes raised.
- New
armdoc_cppcolcon package (in this repo):ros2 run armdoc_cpp armdoc_fastis a C++ port of the live/joint_stateschecks (JOINT_STATES_NONE/STALE,JOINT_NAN,LIMIT_POS,NEAR_LIMIT,LIMIT_VEL,EFFORT_SAT,NOISY_JOINTS,STREAM_LAG), read-only, for leaving next to a fast controller. On a 50 Hz stream it used 0.9% of a core and 22 MB, against 5.5% and 65 MB for the Python tool (one 20 s run). Controller, MoveIt and action checks stay in the Python tool. test/test_cpp_equivalence.pyfeeds identical randomized/joint_statesstreams (healthy, noisy, limits, NaN, effort, lag, stale, joint subset, slow) toarmdoc/core.pyand the C++ core and requires the same findings, level, code and message.
0.3.0
- New
NOISY_JOINTScheck: position jitter estimated from the fourth difference of the joint positions over 1 s (--noise-rad, default 0.002 rad). Silent below 20 Hz. - New
STREAM_LAGcheck:/joint_statesheader stamp versus arrival time, median over 2 s (--lag-max, default 0.5 s). Silent when the stamps use another clock (setuse_sim_timefor sim stamps). - With
--moveit:MOVEIT_PLAN_FAILED(a/move_actiongoal aborted in the last 30 s) andNO_PLANNING_SCENE(move_groupis up but no scene is published or served). - Goals that finished before armdoc attached are no longer counted as new aborts (judged by the goal's stamp).
ros2 launch armdoc armdoc.launch.pywithconfig/armdoc.yaml; thresholds are ROS parameters of the node and win over the CLI flags.--ros-argsis accepted on the command line.- Dockerfile and
docker/demo: a healthy fake arm, a stalled trajectory, and a fake MoveIt without a planning scene. test/fake_arm.py --moveit [--no-scene] [--plan-fail]; CI also checks the two MoveIt codes.- Validated against armchaos
noiseandlagfaults (docs/e2e_*.txt). A clean exit when launch interrupts the node. - README quick start rewritten.
0.2.0
--record FILE.jsonllogs timestamped joint positions and findings while armdoc runs;armdoc report FILE.jsonl --html report.html --png report.pngrenders a joint timeline with shaded finding bands, a controller lane and a findings table (self-contained HTML with hover and legend toggles, or a matplotlib PNG). The report step needs no ROS.--ready [SECS]: pre-flight mode. Watches SECS (default 10), prints a suggested next step under each finding and aREADY/NOT READYverdict, exits 1 if not ready.--hintsprints the same hints in normal mode.--diagnostics: opt-in, also publishes findings to/diagnostics(diagnostic_msgs/DiagnosticArray, one status per finding, or one OK status). It is the only thing armdoc ever publishes and is off by default.- GitHub Actions CI: pytest on the diagnosis rules, plus a Humble job that runs
test/fake_arm.py --stalland assertsarmdoc --onceexits 1 withTRAJ_STALLED. - Verified on a UR3 in Gazebo (ros2_control):
--readyand--diagnosticshealthy and with the arm controller deactivated.
0.1.0
- First release: a read-only doctor for ros2_control / MoveIt 2 arms.
- Checks:
/joint_statesmissing or stale, NaN joints, joint position, velocity and effort limits (from/robot_description, arm joints only), inactive arm controllers, missingmove_group, trajectory tracking error, stalled trajectory goals, repeated goal aborts. - Modes: live reports,
--once SECS(exit 1 on ERROR, for CI),--json,--ns,--moveit. - Verified on a UR3 in Gazebo (healthy, controller deactivated, sim paused);
test/fake_arm.pyfakes a graph for CI.
v0.6.0
Changelog
Unreleased
0.6.0
- Builds in CI on ROS 2 Lyrical (C++ package: equivalence tests and a fake-graph check; the Python package is not CI-tested on Lyrical, and nothing has run against a live robot or sim there).
- Fix: the C++ package links targets directly, because Lyrical no longer has
ament_target_dependencies. --expect joint_states:50(repeatable): state the normal rate yourself and getRATE_DROP/RATE_SPIKEwithout a--learnrun; overrides a learned value. Unit-tested (parser + check, new tests); flag wiring checked via--helpand a bad value; not run against a live graph.- New
LOG_*warnings from/rosout(WARN and above frommove_group,controller_managerand the controllers), counted over 30 s, each with a hint:LOG_PLAN_GOAL_INVALID,LOG_START_STATE_BAD,LOG_START_DEVIATES,LOG_NO_CONTROLLER,LOG_ACTION_NOT_CONNECTED,LOG_ROBOT_STATE_STALE,LOG_TOLERANCE_VIOLATED,LOG_EXEC_ABORTED. Unit-tested on the message patterns and run live against a fakemove_grouplog line; not yet against a real MoveIt stack that emits each message. - Per-arm baselines:
--learn SECSrecords the normal/joint_statesrate,--baselinewarns withRATE_DROP/RATE_SPIKEbelow half or above double that. Plain statistics, no model. Run live against the fake arm (learn at 50 Hz, quiet at 50 Hz,RATE_DROPat 10 Hz).
0.5.0
- Fix, found by running the MCP server against a live UR3 Gazebo sim: attaching while the arm controller was already inactive left the arm joints unknown, so every gripper joint resting at its closed limit raised
NEAR_LIMIT, burying the realCTRL_INACTIVE. Joints named like a gripper or finger are now skipped forNEAR_LIMITuntil the arm joints are learned. Verified live: onlyCTRL_INACTIVEandNO_ACTIVE_ARM_CTRLremain, and the arm reads healthy again after reactivation. - New
NO_TRAJ_ACTION(error): an active joint trajectory controller whosefollow_joint_trajectoryaction server is not on the graph (MoveIt: "Action client not connected"). NewMOVEIT_CTRL_MISMATCH(error,--moveit): move_group'scontroller_nameslists a controller ros2_control does not have. Both unit-tested; the fake arm run stays healthy, but neither fault has been reproduced live.
0.4.0
armdoc_fasttakes-p json:=trueand prints the findings as a JSON list of{level, code, msg}, likearmdoc --json.test/test_cpp_live.py(4 tests, skipped without ROS and armdoc_cpp) checks the arm-joint learning and the JSON shape againsttest/fake_gripper_arm.py.- CI job
jazzy-cpp(ros:jazzy-ros-base): buildsarmdoc_cpp, runs the equivalence tests and a live check on the fake arm. Run locally in docker first: builds, 20 tests pass, healthy arm reported healthy by both the Python and C++ tools, freeze exits 1. - armdoc_cpp, found by running it against a live UR3 Gazebo sim: (1) it reported a lag of 1.8 billion seconds because the sim stamps messages with sim time while the node compares against the wall clock; it now ignores gaps over 1e4 s like the Python tool. (2) It judged the Robotiq
finger_joint, resting at its closed limit, as an arm joint (NEAR_LIMIT); it now asks<ns>/controller_manager/list_controllerswhich joints the arm controllers claim (sameis_arm_controllerrule and the same keep-the-last-set behaviour as the Python tool), or takes anarm_jointsparameter.is_arm_controlleris checked against Python in the equivalence test. - Fix: deactivating the arm controller no longer widens the checks to every joint. An inactive controller claims no interfaces, so armdoc forgot which joints are the arm's and judged gripper fingers resting at their closed limit as arm joints (
NEAR_LIMIT). Found by running armchaos against a Franka Panda; the last known arm joints are kept (update_arm_joints). - Verified on two non-UR arms with the real ros2_control controller manager (mock hardware): FANUC (6 joints) and Franka Panda (7 joints), through armchaos, all expected codes raised.
- New
armdoc_cppcolcon package (in this repo):ros2 run armdoc_cpp armdoc_fastis a C++ port of the live/joint_stateschecks (JOINT_STATES_NONE/STALE,JOINT_NAN,LIMIT_POS,NEAR_LIMIT,LIMIT_VEL,EFFORT_SAT,NOISY_JOINTS,STREAM_LAG), read-only, for leaving next to a fast controller. On a 50 Hz stream it used 0.9% of a core and 22 MB, against 5.5% and 65 MB for the Python tool (one 20 s run). Controller, MoveIt and action checks stay in the Python tool. test/test_cpp_equivalence.pyfeeds identical randomized/joint_statesstreams (healthy, noisy, limits, NaN, effort, lag, stale, joint subset, slow) toarmdoc/core.pyand the C++ core and requires the same findings, level, code and message.
0.3.0
- New
NOISY_JOINTScheck: position jitter estimated from the fourth difference of the joint positions over 1 s (--noise-rad, default 0.002 rad). Silent below 20 Hz. - New
STREAM_LAGcheck:/joint_statesheader stamp versus arrival time, median over 2 s (--lag-max, default 0.5 s). Silent when the stamps use another clock (setuse_sim_timefor sim stamps). - With
--moveit:MOVEIT_PLAN_FAILED(a/move_actiongoal aborted in the last 30 s) andNO_PLANNING_SCENE(move_groupis up but no scene is published or served). - Goals that finished before armdoc attached are no longer counted as new aborts (judged by the goal's stamp).
ros2 launch armdoc armdoc.launch.pywithconfig/armdoc.yaml; thresholds are ROS parameters of the node and win over the CLI flags.--ros-argsis accepted on the command line.- Dockerfile and
docker/demo: a healthy fake arm, a stalled trajectory, and a fake MoveIt without a planning scene. test/fake_arm.py --moveit [--no-scene] [--plan-fail]; CI also checks the two MoveIt codes.- Validated against armchaos
noiseandlagfaults (docs/e2e_*.txt). A clean exit when launch interrupts the node. - README quick start rewritten.
0.2.0
--record FILE.jsonllogs timestamped joint positions and findings while armdoc runs;armdoc report FILE.jsonl --html report.html --png report.pngrenders a joint timeline with shaded finding bands, a controller lane and a findings table (self-contained HTML with hover and legend toggles, or a matplotlib PNG). The report step needs no ROS.--ready [SECS]: pre-flight mode. Watches SECS (default 10), prints a suggested next step under each finding and aREADY/NOT READYverdict, exits 1 if not ready.--hintsprints the same hints in normal mode.--diagnostics: opt-in, also publishes findings to/diagnostics(diagnostic_msgs/DiagnosticArray, one status per finding, or one OK status). It is the only thing armdoc ever publishes and is off by default.- GitHub Actions CI: pytest on the diagnosis rules, plus a Humble job that runs
test/fake_arm.py --stalland assertsarmdoc --onceexits 1 withTRAJ_STALLED. - Verified on a UR3 in Gazebo (ros2_control):
--readyand--diagnosticshealthy and with the arm controller deactivated.
0.1.0
- First release: a read-only doctor for ros2_control / MoveIt 2 arms.
- Checks:
/joint_statesmissing or stale, NaN joints, joint position, velocity and effort limits (from/robot_description, arm joints only), inactive arm controllers, missingmove_group, trajectory tracking error, stalled trajectory goals, repeated goal aborts. - Modes: live reports,
--once SECS(exit 1 on ERROR, for CI),--json,--ns,--moveit. - Verified on a UR3 in Gazebo (healthy, controller deactivated, sim paused);
test/fake_arm.pyfakes a graph for CI.
v0.5.0
Changelog
Unreleased
0.5.0
- Fix, found by running the MCP server against a live UR3 Gazebo sim: attaching while the arm controller was already inactive left the arm joints unknown, so every gripper joint resting at its closed limit raised
NEAR_LIMIT, burying the realCTRL_INACTIVE. Joints named like a gripper or finger are now skipped forNEAR_LIMITuntil the arm joints are learned. Verified live: onlyCTRL_INACTIVEandNO_ACTIVE_ARM_CTRLremain, and the arm reads healthy again after reactivation. - New
NO_TRAJ_ACTION(error): an active joint trajectory controller whosefollow_joint_trajectoryaction server is not on the graph (MoveIt: "Action client not connected"). NewMOVEIT_CTRL_MISMATCH(error,--moveit): move_group'scontroller_nameslists a controller ros2_control does not have. Both unit-tested; the fake arm run stays healthy, but neither fault has been reproduced live.
0.4.0
armdoc_fasttakes-p json:=trueand prints the findings as a JSON list of{level, code, msg}, likearmdoc --json.test/test_cpp_live.py(4 tests, skipped without ROS and armdoc_cpp) checks the arm-joint learning and the JSON shape againsttest/fake_gripper_arm.py.- CI job
jazzy-cpp(ros:jazzy-ros-base): buildsarmdoc_cpp, runs the equivalence tests and a live check on the fake arm. Run locally in docker first: builds, 20 tests pass, healthy arm reported healthy by both the Python and C++ tools, freeze exits 1. - armdoc_cpp, found by running it against a live UR3 Gazebo sim: (1) it reported a lag of 1.8 billion seconds because the sim stamps messages with sim time while the node compares against the wall clock; it now ignores gaps over 1e4 s like the Python tool. (2) It judged the Robotiq
finger_joint, resting at its closed limit, as an arm joint (NEAR_LIMIT); it now asks<ns>/controller_manager/list_controllerswhich joints the arm controllers claim (sameis_arm_controllerrule and the same keep-the-last-set behaviour as the Python tool), or takes anarm_jointsparameter.is_arm_controlleris checked against Python in the equivalence test. - Fix: deactivating the arm controller no longer widens the checks to every joint. An inactive controller claims no interfaces, so armdoc forgot which joints are the arm's and judged gripper fingers resting at their closed limit as arm joints (
NEAR_LIMIT). Found by running armchaos against a Franka Panda; the last known arm joints are kept (update_arm_joints). - Verified on two non-UR arms with the real ros2_control controller manager (mock hardware): FANUC (6 joints) and Franka Panda (7 joints), through armchaos, all expected codes raised.
- New
armdoc_cppcolcon package (in this repo):ros2 run armdoc_cpp armdoc_fastis a C++ port of the live/joint_stateschecks (JOINT_STATES_NONE/STALE,JOINT_NAN,LIMIT_POS,NEAR_LIMIT,LIMIT_VEL,EFFORT_SAT,NOISY_JOINTS,STREAM_LAG), read-only, for leaving next to a fast controller. On a 50 Hz stream it used 0.9% of a core and 22 MB, against 5.5% and 65 MB for the Python tool (one 20 s run). Controller, MoveIt and action checks stay in the Python tool. test/test_cpp_equivalence.pyfeeds identical randomized/joint_statesstreams (healthy, noisy, limits, NaN, effort, lag, stale, joint subset, slow) toarmdoc/core.pyand the C++ core and requires the same findings, level, code and message.
0.3.0
- New
NOISY_JOINTScheck: position jitter estimated from the fourth difference of the joint positions over 1 s (--noise-rad, default 0.002 rad). Silent below 20 Hz. - New
STREAM_LAGcheck:/joint_statesheader stamp versus arrival time, median over 2 s (--lag-max, default 0.5 s). Silent when the stamps use another clock (setuse_sim_timefor sim stamps). - With
--moveit:MOVEIT_PLAN_FAILED(a/move_actiongoal aborted in the last 30 s) andNO_PLANNING_SCENE(move_groupis up but no scene is published or served). - Goals that finished before armdoc attached are no longer counted as new aborts (judged by the goal's stamp).
ros2 launch armdoc armdoc.launch.pywithconfig/armdoc.yaml; thresholds are ROS parameters of the node and win over the CLI flags.--ros-argsis accepted on the command line.- Dockerfile and
docker/demo: a healthy fake arm, a stalled trajectory, and a fake MoveIt without a planning scene. test/fake_arm.py --moveit [--no-scene] [--plan-fail]; CI also checks the two MoveIt codes.- Validated against armchaos
noiseandlagfaults (docs/e2e_*.txt). A clean exit when launch interrupts the node. - README quick start rewritten.
0.2.0
--record FILE.jsonllogs timestamped joint positions and findings while armdoc runs;armdoc report FILE.jsonl --html report.html --png report.pngrenders a joint timeline with shaded finding bands, a controller lane and a findings table (self-contained HTML with hover and legend toggles, or a matplotlib PNG). The report step needs no ROS.--ready [SECS]: pre-flight mode. Watches SECS (default 10), prints a suggested next step under each finding and aREADY/NOT READYverdict, exits 1 if not ready.--hintsprints the same hints in normal mode.--diagnostics: opt-in, also publishes findings to/diagnostics(diagnostic_msgs/DiagnosticArray, one status per finding, or one OK status). It is the only thing armdoc ever publishes and is off by default.- GitHub Actions CI: pytest on the diagnosis rules, plus a Humble job that runs
test/fake_arm.py --stalland assertsarmdoc --onceexits 1 withTRAJ_STALLED. - Verified on a UR3 in Gazebo (ros2_control):
--readyand--diagnosticshealthy and with the arm controller deactivated.
0.1.0
- First release: a read-only doctor for ros2_control / MoveIt 2 arms.
- Checks:
/joint_statesmissing or stale, NaN joints, joint position, velocity and effort limits (from/robot_description, arm joints only), inactive arm controllers, missingmove_group, trajectory tracking error, stalled trajectory goals, repeated goal aborts. - Modes: live reports,
--once SECS(exit 1 on ERROR, for CI),--json,--ns,--moveit. - Verified on a UR3 in Gazebo (healthy, controller deactivated, sim paused);
test/fake_arm.pyfakes a graph for CI.
v0.4.0
Changelog
Unreleased
0.4.0
armdoc_fasttakes-p json:=trueand prints the findings as a JSON list of{level, code, msg}, likearmdoc --json.test/test_cpp_live.py(4 tests, skipped without ROS and armdoc_cpp) checks the arm-joint learning and the JSON shape againsttest/fake_gripper_arm.py.- CI job
jazzy-cpp(ros:jazzy-ros-base): buildsarmdoc_cpp, runs the equivalence tests and a live check on the fake arm. Run locally in docker first: builds, 20 tests pass, healthy arm reported healthy by both the Python and C++ tools, freeze exits 1. - armdoc_cpp, found by running it against a live UR3 Gazebo sim: (1) it reported a lag of 1.8 billion seconds because the sim stamps messages with sim time while the node compares against the wall clock; it now ignores gaps over 1e4 s like the Python tool. (2) It judged the Robotiq
finger_joint, resting at its closed limit, as an arm joint (NEAR_LIMIT); it now asks<ns>/controller_manager/list_controllerswhich joints the arm controllers claim (sameis_arm_controllerrule and the same keep-the-last-set behaviour as the Python tool), or takes anarm_jointsparameter.is_arm_controlleris checked against Python in the equivalence test. - Fix: deactivating the arm controller no longer widens the checks to every joint. An inactive controller claims no interfaces, so armdoc forgot which joints are the arm's and judged gripper fingers resting at their closed limit as arm joints (
NEAR_LIMIT). Found by running armchaos against a Franka Panda; the last known arm joints are kept (update_arm_joints). - Verified on two non-UR arms with the real ros2_control controller manager (mock hardware): FANUC (6 joints) and Franka Panda (7 joints), through armchaos, all expected codes raised.
- New
armdoc_cppcolcon package (in this repo):ros2 run armdoc_cpp armdoc_fastis a C++ port of the live/joint_stateschecks (JOINT_STATES_NONE/STALE,JOINT_NAN,LIMIT_POS,NEAR_LIMIT,LIMIT_VEL,EFFORT_SAT,NOISY_JOINTS,STREAM_LAG), read-only, for leaving next to a fast controller. On a 50 Hz stream it used 0.9% of a core and 22 MB, against 5.5% and 65 MB for the Python tool (one 20 s run). Controller, MoveIt and action checks stay in the Python tool. test/test_cpp_equivalence.pyfeeds identical randomized/joint_statesstreams (healthy, noisy, limits, NaN, effort, lag, stale, joint subset, slow) toarmdoc/core.pyand the C++ core and requires the same findings, level, code and message.
0.3.0
- New
NOISY_JOINTScheck: position jitter estimated from the fourth difference of the joint positions over 1 s (--noise-rad, default 0.002 rad). Silent below 20 Hz. - New
STREAM_LAGcheck:/joint_statesheader stamp versus arrival time, median over 2 s (--lag-max, default 0.5 s). Silent when the stamps use another clock (setuse_sim_timefor sim stamps). - With
--moveit:MOVEIT_PLAN_FAILED(a/move_actiongoal aborted in the last 30 s) andNO_PLANNING_SCENE(move_groupis up but no scene is published or served). - Goals that finished before armdoc attached are no longer counted as new aborts (judged by the goal's stamp).
ros2 launch armdoc armdoc.launch.pywithconfig/armdoc.yaml; thresholds are ROS parameters of the node and win over the CLI flags.--ros-argsis accepted on the command line.- Dockerfile and
docker/demo: a healthy fake arm, a stalled trajectory, and a fake MoveIt without a planning scene. test/fake_arm.py --moveit [--no-scene] [--plan-fail]; CI also checks the two MoveIt codes.- Validated against armchaos
noiseandlagfaults (docs/e2e_*.txt). A clean exit when launch interrupts the node. - README quick start rewritten.
0.2.0
--record FILE.jsonllogs timestamped joint positions and findings while armdoc runs;armdoc report FILE.jsonl --html report.html --png report.pngrenders a joint timeline with shaded finding bands, a controller lane and a findings table (self-contained HTML with hover and legend toggles, or a matplotlib PNG). The report step needs no ROS.--ready [SECS]: pre-flight mode. Watches SECS (default 10), prints a suggested next step under each finding and aREADY/NOT READYverdict, exits 1 if not ready.--hintsprints the same hints in normal mode.--diagnostics: opt-in, also publishes findings to/diagnostics(diagnostic_msgs/DiagnosticArray, one status per finding, or one OK status). It is the only thing armdoc ever publishes and is off by default.- GitHub Actions CI: pytest on the diagnosis rules, plus a Humble job that runs
test/fake_arm.py --stalland assertsarmdoc --onceexits 1 withTRAJ_STALLED. - Verified on a UR3 in Gazebo (ros2_control):
--readyand--diagnosticshealthy and with the arm controller deactivated.
0.1.0
- First release: a read-only doctor for ros2_control / MoveIt 2 arms.
- Checks:
/joint_statesmissing or stale, NaN joints, joint position, velocity and effort limits (from/robot_description, arm joints only), inactive arm controllers, missingmove_group, trajectory tracking error, stalled trajectory goals, repeated goal aborts. - Modes: live reports,
--once SECS(exit 1 on ERROR, for CI),--json,--ns,--moveit. - Verified on a UR3 in Gazebo (healthy, controller deactivated, sim paused);
test/fake_arm.pyfakes a graph for CI.
armdoc 0.3.0
Adds noise and stream-lag checks, MoveIt checks, a ros2 launch file with a params YAML, a Docker demo and a rewritten quick start. See CHANGELOG.md.
armdoc 0.2.0
Adds --ready pre-flight mode, opt-in /diagnostics output, --record and an HTML/PNG timeline report, and a CI workflow. See CHANGELOG.md.
armdoc 0.1.0
First release: a read-only doctor for ros2_control / MoveIt 2 arms. See CHANGELOG.md.