Skip to content

Commit 4d31a35

Browse files
committed
allow robot on_enable/disable to be overriden
1 parent 58134ab commit 4d31a35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/MEL/Mechatronics/Robot.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ class Robot : public Device {
7474
/// true if any exceeded, false otherwise
7575
bool any_limit_exceeded();
7676

77-
private:
77+
protected:
7878

7979
/// Virtual function to enable all robot joints.
80-
bool on_enable() final;
80+
bool on_enable();
8181

8282
/// Virtual function to disable all robot joints.
83-
bool on_disable() final;
83+
bool on_disable();
8484

8585
protected:
8686

0 commit comments

Comments
 (0)