13 #ifdef UAVCAN_NODE_FILE 25 #ifdef UAVCAN_NODE_FILE 37 uint8_t hardpoint_id = 0;
50 #ifdef UAVCAN_IOCS_HARDPOINT_SET 53 (void)ioctl(
_uavcan_fd, UAVCAN_IOCS_HARDPOINT_SET, reinterpret_cast<unsigned long>(&cmd));
72 #ifdef UAVCAN_IOCS_HARDPOINT_SET 75 (void)ioctl(
_uavcan_fd, UAVCAN_IOCS_HARDPOINT_SET, reinterpret_cast<unsigned long>(&cmd));
int printf(const char *fmt,...)
int open(const char *pathname, int flags)
POSIX Open a file with integer mode flags.
bool grabbed() const override
AP_Int16 uavcan_hardpoint_id
void update_gripper() override
uint32_t _last_grab_or_release
#define EPM_RETURN_TO_NEUTRAL_MS
static void set_output_pwm(SRV_Channel::Aux_servo_function_t function, uint16_t value)
struct UAVCANCommand make_uavcan_command(uint16_t command) const
bool released() const override
AP_Gripper_EPM(struct AP_Gripper::Backend_Config &_config)
struct AP_Gripper::Backend_Config & config
bool should_use_uavcan() const
void init_gripper() override