Public Member Functions | |
SeaBee3Simulator (OptionManager &mgr, const std::string &descrName="SeaBee3Simulator", const std::string &tagName="SeaBee3Simulator") | |
virtual void | evolve () |
Evolve: Gets called by run in a while(1) loop. Anything that you want to happen continuously should go in here. | |
virtual void | updateMessage (const RobotSimEvents::EventMessagePtr &eMsg, const Ice::Current &) |
to publishes a message. | |
virtual void | registerTopics () |
and registerPublisher calls that you would like to happen automatically after init. | |
Image< PixRGB< byte > > | getFrame (int camera) |
dWorldID | getWorld () |
dJointGroupID | getContactgroup () |
void | handleWinEvents (XEvent &event) |
void | updateSensors (const dReal *pos, const dReal *R) |
void | getSensors (float &xPos, float &yPos, float &depth, float &roll, float &pitch, float &yaw) |
void | simLoop () |
void | setThrusters (double forwardLeftThruster, double forwardRightThruster, double verticalLeftThruster, double verticalRightThruster, double forwardStrafeThruster, double backStrafeThruster) |
Definition at line 25 of file SeaBee3Simulator.H.
void SeaBee3Simulator::evolve | ( | ) | [virtual] |
Evolve: Gets called by run in a while(1) loop. Anything that you want to happen continuously should go in here.
Reimplemented from RobotBrainComponent.
Definition at line 486 of file SeaBee3Simulator.C.
void SeaBee3Simulator::registerTopics | ( | ) | [virtual] |
and registerPublisher calls that you would like to happen automatically after init.
Register Topics: This function is called at the end of init, and is virtual so that is can be overloaded by chid classes. In your overloaded version you should put all of the registerSubsciption
Reimplemented from RobotBrainComponent.
Definition at line 153 of file SeaBee3Simulator.C.
References RobotBrainComponent::registerPublisher(), and RobotBrainComponent::registerSubscription().
void SeaBee3Simulator::updateMessage | ( | const RobotSimEvents::EventMessagePtr & | eMsg, | |
const Ice::Current & | ||||
) | [virtual] |
to publishes a message.
Update Message: Gets called by the Ice runtime when a publisher of a message that your object subscribes
Reimplemented from RobotBrainComponent.
Definition at line 489 of file SeaBee3Simulator.C.
References PID< T >::setPIDPgain().