typemap

package
v0.0.0-...-56b24e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 2 Imported by: 45

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAction

func GetAction(actionType string) (types.ActionTypeSupport, bool)

GetAction is the GetMessage equivalent for actions.

func GetActionMust

func GetActionMust(actionType string) types.ActionTypeSupport

GetActionMust is the GetMessageMust equivalent for actions.

func GetMessage

func GetMessage(msgType string) (types.MessageTypeSupport, bool)

GetMessage translates for ex

"std_msgs/ColorRGBA"

to

std_msgs.ColorRGBA -Go type

returns true if the type mapping is found

func GetMessageMust

func GetMessageMust(msgType string) types.MessageTypeSupport

GetMessageMust panics if there is no mapping

func GetService

func GetService(srvType string) (types.ServiceTypeSupport, bool)

GetService is the GetMessage equivalent for services.

func GetServiceMust

func GetServiceMust(srvType string) types.ServiceTypeSupport

GetServiceMust is the GetMessageMust equivalent for services.

func RegisterAction

func RegisterAction(alias string, actionType types.ActionTypeSupport)

RegisterAction is the RegisterMessage equivalent for actions.

func RegisterMessage

func RegisterMessage(alias string, msgType types.MessageTypeSupport)

RegisterMessage sets the type string to implementation dispatcher, so the correct type can be dynamically chosen. The Golang types of ROS2 Message use

func init() {}

to automatically populate this when imported.

func RegisterService

func RegisterService(alias string, srvType types.ServiceTypeSupport)

RegisterService is the RegisterMessage equivalent for services.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL