Documentation ¶
Overview ¶
Package conversion contains functions to import ROS definition into Golang.
Index ¶
- func ImportAction(path string, goPkgName string, rosPkgName string, w io.Writer) error
- func ImportMessage(path string, goPkgName string, rosPkgName string, w io.Writer) error
- func ImportPackage(name string, rosDir string, goDir string) error
- func ImportPackageRecursive(dir string) error
- func ImportService(path string, goPkgName string, rosPkgName string, w io.Writer) error
- type Definition
- type Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImportAction ¶
ImportAction generates Go file from an .action file and writes to the io.Writer.
func ImportMessage ¶
ImportMessage generates Go file from a .msg file and writes to the io.Writer.
func ImportPackage ¶
ImportPackage generates Go files for all ROS definitions under the directory.
func ImportPackageRecursive ¶
ImportPackageRecursive generates Go files for all ROS definitions under the directory if it's a ROS package.
Types ¶
type Definition ¶
Definition is a message definition.
Click to show internal directories.
Click to hide internal directories.