Skip to content

Conversation

@JershCook
Copy link

No description provided.

@Sir-Batman Sir-Batman self-assigned this Jan 19, 2019
@Sir-Batman Sir-Batman added the enhancement New feature or request label Jan 19, 2019
@Sir-Batman Sir-Batman self-requested a review January 19, 2019 01:04
Copy link
Member

@Sir-Batman Sir-Batman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major Comments:

  • Needs proper doc strings for the newly introduced functions.
  • Makefiles are not necessary in my build environment, we can either accept them as is or review your build setup to not need the makefiles.

gym_example.py Outdated
import code.agent_domain_2 as domain
import mods

#from renderer import*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#from renderer import*

mods.py Outdated
(sim.data["Specifics Name"], sim.data["Mod Name"], dateTimeString)
(sim.data["Specifics Name"], sim.data["Mod Name"], dateTimeString)

##############################
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the comment be a proper docstring (see here . Use the ReST style.

#population to use and must also be set
##############################

def assignHomogeneousPolicy(sim):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make proper docstring

#
#call function after each sim.step
##############################
def poiVelocity(sim):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make proper doc string

##############################


def abilityVariation(sim):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make proper doc string

#
#call function after sim is created and after each sim.reset
##############################
def sequentialPoi(sim):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make proper doc string

#call function after sim is created
##############################

def lowVisibility(sim):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make proper doc string

sim.data["Observation Function"]=doAgentSenseMod


def simpleReward(data):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make proper doc string

#
#call function after sim is created and before each sim.reset
##############################
def recipePoi(sim):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make proper doc string

gym_example.py Outdated
stepCount += 1
if ( episodeIndex%50==49 and worldIndex==0):
sim.render()
#render(sim.data)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#render(sim.data)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants