ROS
Agent
RosAgent
Inherits from: Robot
A class to represent a ROS-based robot agent.
This class inherits from Robot and implements ROS-specific functionality for communicating with and controlling a robot through ROS topics.
RosAgent
Initialize a ROS agent with the given client configuration.
Arguments
Returns
create_clients
Create ROS clients based on configuration.
Arguments
getImage
Get image from named image client.
getPosition
Get position from named pose client.
Returns
Position | list: Position object or raw position data
getOrientation
Get orientation from named pose client.
Returns
Orientation of agent as a quaternion
sendVelocity
Send velocity command to named velocity client.
Arguments
sendPose
Send pose command to named pose client.
Arguments
publishMsg
Publish a message to a named generic client.
getMsg
Get a message from a named generic client.
run
stop
Was this page helpful?