#include <player_command.h>
rcsc::PlayerPointtoCommandに対する継承グラフ
Public メソッド | |
PlayerPointtoCommand () | |
target angle relative to body angle construct off type pointto command | |
PlayerPointtoCommand (const double &dist, const double &rel_dir) | |
construct on type pointto command with point target | |
Type | type () const |
get command type | |
std::ostream & | toStr (std::ostream &to) const |
put command string to ostream | |
std::string | name () const |
get command paramter | |
bool | pointtoOn () const |
get pointto command switch | |
const double & | pointtoDist () const |
get pointto command parameter | |
const double & | pointtoDir () const |
get pointto command parameter |
Format: <- (pointto <dist> <dir>) <- (pointto off)
rcsc::PlayerPointtoCommand::PlayerPointtoCommand | ( | const double & | dist, | |
const double & | rel_dir | |||
) | [inline] |
construct on type pointto command with point target
dist | point target distance | |
rel_dir | point target angle relative to body angle |
Type rcsc::PlayerPointtoCommand::type | ( | ) | const [inline, virtual] |
std::ostream & rcsc::PlayerPointtoCommand::toStr | ( | std::ostream & | to | ) | const [virtual] |
put command string to ostream
to | reference to the output stream |
rcsc::PlayerSupportCommandを実装しています。
std::string rcsc::PlayerPointtoCommand::name | ( | ) | const [inline, virtual] |
bool rcsc::PlayerPointtoCommand::pointtoOn | ( | ) | const [inline] |
get pointto command switch
const double& rcsc::PlayerPointtoCommand::pointtoDist | ( | ) | const [inline] |
get pointto command parameter
const double& rcsc::PlayerPointtoCommand::pointtoDir | ( | ) | const [inline] |
get pointto command parameter