Environment implementation that executes
actions on robots controlled by ROS via ROS Bridge.RosBridge.RosBridge connection for this Environment at the given ROS Bridge URI.ActionPublisher that publishes to ROS a fixed ROS message every time
publishAction(Action) is called.Action, turn it into
a ROS message and publish it to a ROS topic.ActionPublisher and provides
a Publisher data member, constructors, and setters and getters for streamlining
the publishing of messages to ROS BRidge.Action names to the corresponding
ActionPublisher to use.ActionPublisher that publishes to ROS a std_msgs/String containing the string representation
of the Action to be published.ActionPublisher that flips the message being sent periodically by a PeriodicPublisher.State representation of the environmentPublisher for this action using the specified topic, message type, and RosBridge connection.Publisher for publishing action messages to ROS.SADomain into which states will be parsedRepeatingActionPublisher.publishAction(Action) will return.AbstractRosEnvironment.executeAction(Action)
method and what will
be returned by the AbstractRosEnvironment.lastReward() method until another AbstractRosEnvironment.executeAction(Action) method
is invoked or this environment is reset with AbstractRosEnvironment.resetEnvironment().PeriodicPublisher that has its message altered by this object.Publisher used to publish action messages to ROSRosBridge object to which this environment is connected.CentralizedPeriodicActionPub.publishAction(Action) methodAbstractRosEnvironment.executeAction(Action) method
if the newly entered environment state is a terminal state.PeriodicPublisher will be flipped when this objects CentralizedPeriodicActionPub.publishAction(Action) method is called.RepeatingActionPublisher.publishAction(Action)State is unpacked from a ROS message.State.PeriodicPublisher whose message will be altered by this ActionPublisher.Publisher used to publish action messages.Publisher ActionPublisher.DirectActionPublisher.pub data instances.Action turns into a ROS message, and publishes it to ROS through this
object's ROS Bridge Publisher object.ActionPublisher that allows a single call to RepeatingActionPublisher.publishAction(Action)
to publish a ROS message multiple times at a given rate.RewardFunction used to generate reward signalsRosBridge connectionAbstractRosEnvironment that maintains the environment state by receiving
a single ROS message corresponding to the state of the environment.ActionPublisher to handle executions of actions with the name actionNameActionPublisher to handle executions of the given ActionType
assuming that Actions generated by the ActionType have the same name as the type name.ActionPublisher to handle the execution of a list of actions identified by given action names.ActionPublisher to handle the execution of a list of ActionType objects.RepeatingActionPublisher.publishAction(Action) will return zero; use this method
to set an alternative value for it to return.PeriodicPublisher that has its message altered by this object.RosEnvironment.onStateReceive(State) will print the
state information to the terminal.Publisher used to publish action messages to ROSRewardFunction to use to provide reward signals from the AbstractRosEnvironment.lastReward() method.TerminalFunction to use to provide terminal state checks from the RosEnvironment.isInTerminalState().CentralizedPeriodicActionPub.publishAction(Action) methodRepeatingActionPublisher.publishAction(Action) blocks until all messages
have been published.TerminalFunction used to specify terminal states of the environmentCentralizedPeriodicActionPub.publishAction(Action) method.State object.Copyright © 2016. All rights reserved.