pxmlw6n2f/Gazebo_Distributed_TCP/gazebo/msgs/joystick.proto

25 lines
541 B
Protocol Buffer
Raw Permalink Normal View History

2019-03-28 10:57:49 +08:00
syntax = "proto2";
package gazebo.msgs;
/// \ingroup gazebo_msgs
/// \interface Joystick
/// \brief Message for a joystick
import "vector3d.proto";
message Joystick
{
// Translation measurements along the x,y,z
// axes. These values should be normalized to
// the range -1...1
optional Vector3d translation = 1;
// Rotation measurements about the x,y,z
// axes. These values should be normalized to
// the range -1...1
optional Vector3d rotation = 2;
// Button measurements
repeated int32 buttons = 3;
}