代码搜索:Behavior
找到约 3,820 项符合「Behavior」的源代码
代码结果 3,820
www.eeworm.com/read/324450/3502460
cc generategoal.cc
#include "miniwalkbackward.ih"
rf MiniWalkBackward::generateGoal(unsigned step, unsigned slot)
{
rf goal = new Goal();
rf dis = goal->addDisjunct();
rf co
www.eeworm.com/read/324450/3502483
cc strafetoball.cc
#include "strafetoball.ih"
StrafeToBall::StrafeToBall(string const &id, string const &playerClass)
: Behavior("StrafeToBall", id, playerClass)
{
d_tree = new AST::Node(sequenceType);
d_tree->ad
www.eeworm.com/read/324450/3502484
cc update.cc
#include "strafetoball.ih"
void StrafeToBall::update()
{
Behavior::update();
WorldModel& wm = WorldModel::getInstance();
// The ball position.
Vector3D ball = wm.getObjectPosition(Types::BA
www.eeworm.com/read/324450/3502488
cc getcapability.cc
#include "strafetoball.ih"
Behavior::ConfidenceInterval StrafeToBall::getCapability(rf s, rf g)
{
WorldModel& wm = WorldModel::getInstance();
// The ball position.
Vector3D ball =
www.eeworm.com/read/324450/3502501
cc getcapability.cc
#include "kickto.ih"
Behavior::ConfidenceInterval KickTo::getCapability(rf s, rf g)
{
WorldModel& wm = WorldModel::getInstance();
NormalDistribution3D BallInfo = wm.getObjectPosit
www.eeworm.com/read/324450/3502510
cc generategoal.cc
#include "sine.ih"
rf Sine::generateGoal(unsigned step, unsigned slot)
{
WorldModel& wm = WorldModel::getInstance();
// Update all factors
if (s_lastUpdate < wm.getTime())
{
www.eeworm.com/read/324450/3502513
cc update.cc
#include "walkstraightto.ih"
void WalkStraightTo::update()
{
Behavior::update();
if (d_committed)
return;
WorldModel& wm = WorldModel::getInstance();
Vector3D ballPos = wm.get(WorldMo
www.eeworm.com/read/324450/3502518
cc straferight.cc
#include "straferight.ih"
StrafeRight::StrafeRight(string const &id, string const &playerClass)
: Behavior("StrafeRight", id, playerClass)
{
d_tree = new AST::Node(sequenceType);
d_tree->addChi
www.eeworm.com/read/324450/3502538
cc canturnleft.cc
#include "canturnleft.ih"
CanTurnLeft::CanTurnLeft(string const &id, string const &playerClass)
: Behavior("CanTurnLeft", id, playerClass)
{
d_committed = true;
d_tree = new AST::Node(sequenceT
www.eeworm.com/read/324450/3502550
cc getfromside.cc
#include "getfromside.ih"
GetFromSide::GetFromSide(string const &id, string const &playerClass)
: Behavior("GetFromSide", id, playerClass)
{
d_tree = new AST::Node(sequenceType);
d_tree->addChi