com.mytechia.robobo.rob.comm.ResetRobMessage Maven / Gradle / Ivy
Show all versions of robobo-rob-interface Show documentation
/**
* *****************************************************************************
*
* Copyright (C) 2017 Mytech Ingenieria Aplicada
* Copyright (C) 2017 Victor Sonora Pombo
*
* This file is part of Luminare360 Firmware.
* ****************************************************************************
*/
package com.mytechia.robobo.rob.comm;
import com.mytechia.commons.framework.simplemessageprotocol.exception.MessageFormatException;
/**
*
* Created by victorsonorapombo.
*/
public class ResetRobMessage extends RoboCommand {
public ResetRobMessage() {
super();
this.setCommandType(MessageType.ResetRobMessage.commandType);
}
public ResetRobMessage(byte [] messageData) throws MessageFormatException {
super(messageData);
this.setCommandType(MessageType.ResetRobMessage.commandType);
}
@Override
protected byte[] codeMessageData() throws MessageFormatException {
return new byte[]{};
}
@Override
protected int decodeMessageData(byte[] bytes, int i) throws MessageFormatException {
return 0;
}
}