fix typo
This commit is contained in:
parent
ced99fdd94
commit
f720c4151a
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"browse": {
|
||||||
|
"databaseFilename": "",
|
||||||
|
"limitSymbolsToIncludedHeaders": true
|
||||||
|
},
|
||||||
|
"includePath": [
|
||||||
|
"/opt/ros/melodic/include/**",
|
||||||
|
"/home/erwin/catkin_ws/src/ros-xenomai-bridge/ros_nrt/reactive_navigation/include/**",
|
||||||
|
"/home/erwin/catkin_ws/src/ros-xenomai-bridge/ros_nrt/xddp_utilities/include/**",
|
||||||
|
"/usr/include/**"
|
||||||
|
],
|
||||||
|
"name": "ROS",
|
||||||
|
"intelliSenseMode": "gcc-x64",
|
||||||
|
"compilerPath": "/usr/bin/gcc",
|
||||||
|
"cStandard": "gnu11",
|
||||||
|
"cppStandard": "gnu++14"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 4
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"python.autoComplete.extraPaths": [
|
||||||
|
"/opt/ros/melodic/lib/python2.7/dist-packages"
|
||||||
|
]
|
||||||
|
}
|
|
@ -303,7 +303,7 @@ func (e *AttributeEncoder) Encode(attribute string, value interface{}) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return fmt.Errorf("type %T is not supportet", value)
|
return fmt.Errorf("type %T is not supported", value)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -401,7 +401,7 @@ var (
|
||||||
AttributePrinterLocation: TagText,
|
AttributePrinterLocation: TagText,
|
||||||
AttributePrinterResolution: TagResolution,
|
AttributePrinterResolution: TagResolution,
|
||||||
AttributePrinterState: TagEnum,
|
AttributePrinterState: TagEnum,
|
||||||
AttributePrinterStateReason: TagKeyword,
|
AttributePrinterStateReasons: TagKeyword,
|
||||||
AttributePrinterURI: TagUri,
|
AttributePrinterURI: TagUri,
|
||||||
AttributePurgeJobs: TagBoolean,
|
AttributePurgeJobs: TagBoolean,
|
||||||
AttributeRequestedAttributes: TagKeyword,
|
AttributeRequestedAttributes: TagKeyword,
|
||||||
|
|
|
@ -167,7 +167,7 @@ func (c *CUPSClient) CreatePrinter(name, deviceURI, ppd string, shared bool, err
|
||||||
req.OperationAttributes[AttributePrinterURI] = c.getPrinterUri(name)
|
req.OperationAttributes[AttributePrinterURI] = c.getPrinterUri(name)
|
||||||
req.OperationAttributes[AttributePPDName] = ppd
|
req.OperationAttributes[AttributePPDName] = ppd
|
||||||
req.OperationAttributes[AttributePrinterIsShared] = shared
|
req.OperationAttributes[AttributePrinterIsShared] = shared
|
||||||
req.PrinterAttributes[AttributePrinterStateReason] = "none"
|
req.PrinterAttributes[AttributePrinterStateReasons] = "none"
|
||||||
req.PrinterAttributes[AttributeDeviceURI] = deviceURI
|
req.PrinterAttributes[AttributeDeviceURI] = deviceURI
|
||||||
req.PrinterAttributes[AttributePrinterInfo] = information
|
req.PrinterAttributes[AttributePrinterInfo] = information
|
||||||
req.PrinterAttributes[AttributePrinterLocation] = location
|
req.PrinterAttributes[AttributePrinterLocation] = location
|
||||||
|
|
Loading…
Reference in New Issue