Skip to content

Commit

Permalink
[hrpiob] Missing ROBOT_IOB_VERSION check.
Browse files Browse the repository at this point in the history
  • Loading branch information
130s committed Jan 11, 2017
1 parent 26ec16b commit 92baa5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hironx_ros_bridge/robot/hrpiob/nextage-open.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ namespace NEXTAGE_OPEN
virtual int write_digital_output_with_mask(const char *doutput, const char *mask) = 0;
virtual int length_digital_output(void) = 0;
virtual int read_digital_output(char *doutput) = 0;

#if defined(ROBOT_IOB_VERSION) && ROBOT_IOB_VERSION >= 2
virtual int number_of_thermometers(void) = 0;
virtual int number_of_batteries(void) = 0;
virtual int read_battery(char *battery) = 0;
#endif
};

}
Expand Down

0 comments on commit 92baa5e

Please sign in to comment.