Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pps with modulations dev multi event #32

Merged
merged 25 commits into from
Oct 20, 2016

Conversation

matejhof
Copy link
Collaborator

This contains mainly:

  1. new definition of receptive fields of taxels (addressing possible bug in 1D binning and enhancement to other than 20 cm range #24), replacing spherical sector and cylindrical patch with a shifted spherical sector - that is not starting at the apex at the taxel, but with a radius currently set to 7 cm: https://github.com/robotology/peripersonal-space/blob/pps-with-modulations-devMultiEvent/lib/src/taxelPWE.cpp#L8 Receptive fields do not rise to infinity anymore.
  2. multiple events/stimuli can be handled at the same time for PPS activations. Maximum response is taken at every taxel. The representation is more efficient now - only events inside the RFs on inidividual taxels are stored in the corresponding representations. Learning was tested and works too, albeit that only for one stimulus.

fixes #27

Copy link
Member

@alecive alecive left a comment

Choose a reason for hiding this comment

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

I cannot obviously tell anything about the functionalities because I cannot test it, but the code inspection was fine for me. Feel free to merge!

bool removeSample(IncomingEvent4TaxelPWE ie);

/**
* Check if the input sample is inside the Receptive field (i.e. the cone)
* Check if the input sample is inside the Receptive field (composed of a cone and a cylinder)
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this now moved to the new represenation we discussed about (the shifted spherical sector)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

well spotted. just committed. thanks.

updating comments in header file - new RF
@matejhof matejhof merged commit 06dde93 into pps-with-modulations Oct 20, 2016
@pattacini pattacini deleted the pps-with-modulations-devMultiEvent branch October 20, 2016 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants