Documentation
¶
Overview ¶
Package sensor_msgs contains message definitions.
Index ¶
- Constants
- type BatteryState
- type CameraInfo
- type ChannelFloat32
- type CompressedImage
- type FluidPressure
- type Illuminance
- type Image
- type Imu
- type JointState
- type Joy
- type JoyFeedback
- type JoyFeedbackArray
- type LaserEcho
- type LaserScan
- type MagneticField
- type MultiDOFJointState
- type MultiEchoLaserScan
- type NavSatFix
- type NavSatStatus
- type PointCloud
- type PointCloud2
- type PointField
- type Range
- type RegionOfInterest
- type RelativeHumidity
- type SetCameraInfo
- type SetCameraInfoReq
- type SetCameraInfoRes
- type Temperature
- type TimeReference
Constants ¶
View Source
const ( BatteryState_POWER_SUPPLY_STATUS_UNKNOWN uint8 = 0 BatteryState_POWER_SUPPLY_STATUS_CHARGING uint8 = 1 BatteryState_POWER_SUPPLY_STATUS_DISCHARGING uint8 = 2 BatteryState_POWER_SUPPLY_STATUS_NOT_CHARGING uint8 = 3 BatteryState_POWER_SUPPLY_STATUS_FULL uint8 = 4 BatteryState_POWER_SUPPLY_HEALTH_UNKNOWN uint8 = 0 BatteryState_POWER_SUPPLY_HEALTH_GOOD uint8 = 1 BatteryState_POWER_SUPPLY_HEALTH_OVERHEAT uint8 = 2 BatteryState_POWER_SUPPLY_HEALTH_DEAD uint8 = 3 BatteryState_POWER_SUPPLY_HEALTH_OVERVOLTAGE uint8 = 4 BatteryState_POWER_SUPPLY_HEALTH_UNSPEC_FAILURE uint8 = 5 BatteryState_POWER_SUPPLY_HEALTH_COLD uint8 = 6 BatteryState_POWER_SUPPLY_HEALTH_WATCHDOG_TIMER_EXPIRE uint8 = 7 BatteryState_POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE uint8 = 8 BatteryState_POWER_SUPPLY_TECHNOLOGY_UNKNOWN uint8 = 0 BatteryState_POWER_SUPPLY_TECHNOLOGY_NIMH uint8 = 1 BatteryState_POWER_SUPPLY_TECHNOLOGY_LION uint8 = 2 BatteryState_POWER_SUPPLY_TECHNOLOGY_LIPO uint8 = 3 BatteryState_POWER_SUPPLY_TECHNOLOGY_LIFE uint8 = 4 BatteryState_POWER_SUPPLY_TECHNOLOGY_NICD uint8 = 5 BatteryState_POWER_SUPPLY_TECHNOLOGY_LIMN uint8 = 6 )
View Source
const ( JoyFeedback_TYPE_LED uint8 = 0 JoyFeedback_TYPE_RUMBLE uint8 = 1 JoyFeedback_TYPE_BUZZER uint8 = 2 )
View Source
const ( )
View Source
const ( )
View Source
const ( PointField_INT8 uint8 = 1 PointField_UINT8 uint8 = 2 PointField_INT16 uint8 = 3 PointField_UINT16 uint8 = 4 PointField_INT32 uint8 = 5 PointField_UINT32 uint8 = 6 PointField_FLOAT32 uint8 = 7 PointField_FLOAT64 uint8 = 8 )
View Source
const ( Range_ULTRASOUND uint8 = 0 Range_INFRARED uint8 = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatteryState ¶
type BatteryState struct {
msg.Package `ros:"sensor_msgs"`
msg.Definitions `` /* 807-byte string literal not displayed */
Header std_msgs.Header
Voltage float32
Temperature float32
Current float32
Charge float32
Capacity float32
DesignCapacity float32
Percentage float32
PowerSupplyStatus uint8
PowerSupplyHealth uint8
PowerSupplyTechnology uint8
Present bool
CellVoltage []float32
CellTemperature []float32
Location string
SerialNumber string
}
type CameraInfo ¶
type ChannelFloat32 ¶
type CompressedImage ¶
type FluidPressure ¶
type Illuminance ¶
type Imu ¶
type Imu struct {
msg.Package `ros:"sensor_msgs"`
Header std_msgs.Header
Orientation geometry_msgs.Quaternion
OrientationCovariance [9]float64
AngularVelocity geometry_msgs.Vector3
AngularVelocityCovariance [9]float64
LinearAcceleration geometry_msgs.Vector3
LinearAccelerationCovariance [9]float64
}
type JointState ¶
type JoyFeedback ¶
type JoyFeedbackArray ¶
type JoyFeedbackArray struct {
msg.Package `ros:"sensor_msgs"`
Array []JoyFeedback
}
type MagneticField ¶
type MultiDOFJointState ¶
type MultiDOFJointState struct {
msg.Package `ros:"sensor_msgs"`
Header std_msgs.Header
JointNames []string
Transforms []geometry_msgs.Transform
Twist []geometry_msgs.Twist
Wrench []geometry_msgs.Wrench
}
type MultiEchoLaserScan ¶
type NavSatStatus ¶
type NavSatStatus struct {
}
type PointCloud ¶
type PointCloud struct {
msg.Package `ros:"sensor_msgs"`
Header std_msgs.Header
Points []geometry_msgs.Point32
Channels []ChannelFloat32
}
type PointCloud2 ¶
type PointField ¶
type RegionOfInterest ¶
type RelativeHumidity ¶
type SetCameraInfo ¶
type SetCameraInfo struct {
msg.Package `ros:"sensor_msgs"`
SetCameraInfoReq
SetCameraInfoRes
}
type SetCameraInfoReq ¶
type SetCameraInfoReq struct {
msg.Package `ros:"sensor_msgs"`
CameraInfo CameraInfo
}
type SetCameraInfoRes ¶
type Temperature ¶
Source Files
¶
- msgbatterystate.go
- msgcamerainfo.go
- msgchannelfloat32.go
- msgcompressedimage.go
- msgfluidpressure.go
- msgilluminance.go
- msgimage.go
- msgimu.go
- msgjointstate.go
- msgjoy.go
- msgjoyfeedback.go
- msgjoyfeedbackarray.go
- msglaserecho.go
- msglaserscan.go
- msgmagneticfield.go
- msgmultidofjointstate.go
- msgmultiecholaserscan.go
- msgnavsatfix.go
- msgnavsatstatus.go
- msgpointcloud.go
- msgpointcloud2.go
- msgpointfield.go
- msgrange.go
- msgregionofinterest.go
- msgrelativehumidity.go
- msgtemperature.go
- msgtimereference.go
- package.go
- srvsetcamerainfo.go
Click to show internal directories.
Click to hide internal directories.