update
This commit is contained in:
@@ -109,4 +109,11 @@ public interface RemoteVehicleService
|
||||
)
|
||||
throws RemoteException;
|
||||
// CHECKSTYLE:ON
|
||||
|
||||
void receiveCallback(
|
||||
ClientID clientId,
|
||||
TCSObjectReference<Vehicle> ref,
|
||||
Object data
|
||||
)
|
||||
throws RemoteException;
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates a vehicle's energy level.
|
||||
* 更新车辆的能级。
|
||||
* 更新车辆的能级.
|
||||
*
|
||||
* @param ref A reference to the vehicle to be modified.
|
||||
* @param energyLevel The vehicle's new energy level.
|
||||
@@ -40,7 +40,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates a vehicle's load handling devices.
|
||||
* 更新车辆的负载处理设备。
|
||||
* 更新车辆的负载处理设备.
|
||||
*
|
||||
* @param ref A reference to the vehicle to be modified.
|
||||
* @param devices The vehicle's new load handling devices.
|
||||
@@ -68,7 +68,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates a vehicle's order sequence.
|
||||
* 更新车辆的订单序列。
|
||||
* 更新车辆的订单序列.
|
||||
*
|
||||
* @param vehicleRef A reference to the vehicle to be modified.
|
||||
* @param sequenceRef A reference to the order sequence the vehicle processes.
|
||||
@@ -83,7 +83,7 @@ public interface InternalVehicleService
|
||||
/**
|
||||
* Updates the vehicle's current orientation angle (-360..360 degrees, or {@link Double#NaN}, if
|
||||
* the vehicle doesn't provide an angle).
|
||||
* 如果车辆不提供角度,则更新车辆的当前方向角(-360..360度,或{@link double},如果车辆不提供角度)。
|
||||
* 如果车辆不提供角度,则更新车辆的当前方向角(-360..360度,或{@link double},如果车辆不提供角度).
|
||||
*
|
||||
* @param ref A reference to the vehicle to be modified.
|
||||
* @param angle The vehicle's orientation angle.
|
||||
@@ -97,7 +97,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Places a vehicle on a point.
|
||||
* 将车辆放在一个点上。
|
||||
* 将车辆放在一个点上.
|
||||
*
|
||||
* @param vehicleRef A reference to the vehicle to be modified.
|
||||
* @param pointRef A reference to the point on which the vehicle is to be placed.
|
||||
@@ -125,7 +125,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates the vehicle's pose.
|
||||
* 更新车辆的姿势。
|
||||
* 更新车辆的姿势.
|
||||
*
|
||||
* @param ref A reference to the vehicle to be modified.
|
||||
* @param pose The vehicle's new pose.
|
||||
@@ -143,7 +143,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates a vehicle's processing state.
|
||||
* 更新车辆的处理状态。
|
||||
* 更新车辆的处理状态.
|
||||
*
|
||||
* @param ref A reference to the vehicle to be modified.
|
||||
* @param state The vehicle's new processing state.
|
||||
@@ -154,7 +154,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates a vehicle's recharge operation.
|
||||
* 更新车辆的充电操作。
|
||||
* 更新车辆的充电操作.
|
||||
*
|
||||
* @param ref A reference to the vehicle to be modified.
|
||||
* @param rechargeOperation The vehicle's new recharge action.
|
||||
@@ -165,7 +165,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates a vehicle's claimed resources.
|
||||
* 更新车辆声称的资源。
|
||||
* 更新车辆生成的资源。
|
||||
*
|
||||
* @param ref A reference to the vehicle to be modified.
|
||||
* @param resources The new resources.
|
||||
@@ -179,7 +179,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates a vehicle's allocated resources.
|
||||
* 更新车辆分配的资源。
|
||||
* 更新车辆已分配的资源.
|
||||
*
|
||||
* @param ref A reference to the vehicle to be modified.
|
||||
* @param resources The new resources.
|
||||
@@ -193,7 +193,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates a vehicle's state.
|
||||
* 更新车辆的状态。
|
||||
* Update Vehicle Status
|
||||
*
|
||||
* @param ref A reference to the vehicle to be modified.
|
||||
* @param state The vehicle's new state.
|
||||
@@ -204,7 +204,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates a vehicle's length.
|
||||
* 更新车辆的长度。
|
||||
* 更新车辆长度.
|
||||
*
|
||||
* @param ref A reference to the vehicle to be modified.
|
||||
* @param length The vehicle's new length.
|
||||
@@ -218,7 +218,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates the vehicle's bounding box.
|
||||
* 更新车辆的边界框。
|
||||
* 更新车辆的边界框.
|
||||
*
|
||||
* @param ref A reference to the vehicle.
|
||||
* @param boundingBox The vehicle's new bounding box (in mm).
|
||||
@@ -234,7 +234,7 @@ public interface InternalVehicleService
|
||||
|
||||
/**
|
||||
* Updates a vehicle's transport order.
|
||||
* 更新车辆的运输订单。
|
||||
* 更新车辆运输订单.
|
||||
*
|
||||
* @param vehicleRef A reference to the vehicle to be modified.
|
||||
* @param orderRef A reference to the transport order the vehicle processes.
|
||||
|
||||
@@ -1633,16 +1633,39 @@ public class Vehicle
|
||||
ERROR,
|
||||
/**
|
||||
* The vehicle is currently idle/available for processing movement orders.
|
||||
* 空闲,对应科聪控制器状态0x00
|
||||
*/
|
||||
IDLE,
|
||||
/**
|
||||
* The vehicle is processing a movement order.
|
||||
* 运行,对应科聪控制器状态0x01
|
||||
*/
|
||||
EXECUTING,
|
||||
/**
|
||||
* The vehicle is currently recharging its battery/refilling fuel.
|
||||
*/
|
||||
CHARGING
|
||||
CHARGING,
|
||||
/**
|
||||
* 暂停,对应科聪控制器状态0x02
|
||||
*/
|
||||
PAUSED,
|
||||
/**
|
||||
* 车辆初始化中,对应科聪控制器状态0x03
|
||||
*/
|
||||
INITIALIZING,
|
||||
/**
|
||||
* 人工确认,对应科聪控制器状态0x04
|
||||
*/
|
||||
CONFIRMATION,
|
||||
/**
|
||||
* 车辆未初始化,对应科聪控制器状态0x05
|
||||
*/
|
||||
UNINITIALIZED,
|
||||
/**
|
||||
* 低电量模式
|
||||
*/
|
||||
FEED
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1652,19 +1675,23 @@ public class Vehicle
|
||||
|
||||
/**
|
||||
* The vehicle's reported position is ignored.
|
||||
* 车辆报告的位置将被忽略。
|
||||
*/
|
||||
TO_BE_IGNORED,
|
||||
/**
|
||||
* The vehicle's reported position is noticed, meaning that resources will not be reserved for
|
||||
* it.
|
||||
* 车辆报告的位置会被注意到,这意味着不会为其保留资源。
|
||||
*/
|
||||
TO_BE_NOTICED,
|
||||
/**
|
||||
* The vehicle's reported position is respected, meaning that resources will be reserved for it.
|
||||
* 车辆报告的位置将被遵守,这意味着将为其保留资源。
|
||||
*/
|
||||
TO_BE_RESPECTED,
|
||||
/**
|
||||
* The vehicle is fully integrated and may be assigned to transport orders.
|
||||
* 车辆已完全集成,可以分配给运输订单。
|
||||
*/
|
||||
TO_BE_UTILIZED
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user