public MoveProfileSettings()
 {
     InputEEZ      = new MoveProfile();
     PrecisorX     = new MoveProfile();
     PrecisorY     = new MoveProfile();
     PrecisorTheta = new MoveProfile();
     TestProbeZ    = new MoveProfile();
     OutputEEZ     = new MoveProfile();
 }
Exemplo n.º 2
0
 public MoveProfile(MoveProfile copyProfile)
 {
     Name         = copyProfile.Name;
     AxisName     = copyProfile.AxisName;
     Distance     = copyProfile.Distance;
     Acceleration = copyProfile.Acceleration;
     Deceleration = copyProfile.Deceleration;
     Jerk         = copyProfile.Jerk;
     Speed        = copyProfile.Speed;
 }
Exemplo n.º 3
0
        private void toolStripLabel3_Click(object sender, EventArgs e)
        {
            var file = new MoveProfile();

            file.Name     = "xxxx";
            file.AxisName = "aaaa";
            profile.Add("aaa", file);
            profile.Add("bbb", new MoveProfile());
            profile.Add("ccc", new MoveProfile());
            var bRet = XmlSerializerHelper.WriteXML(profile, @"D:\Lead\TaskConfigs\Config.xml", typeof(Dictionary <string, MoveProfile>));
        }
Exemplo n.º 4
0
        public static IMapper CreateMapper()
        {
            var abilityProfile     = new AbilityProfile();
            var moveProfile        = new MoveProfile();
            var pokemonInfoProfile = new PokemonInfoProfile();

            var profiles = new List <Profile>
            {
                new AbilityProfile(),
                new MoveProfile(),
                new PokemonInfoProfile()
            };

            var config = new MapperConfiguration(config => config.AddProfiles(profiles));

            return(config.CreateMapper());
        }
    public static void Initialize()
    {
        //TODO: Change the creation of profiles to GetEnumerableOfType instead of hard coding
        ScaleProfile scaleProfile = ScriptableObject.CreateInstance <ScaleProfile>();

        AssetDatabase.CreateAsset(scaleProfile, "Assets/VRGazeInteraction/CoreFramework/AnimationFramework/Profiles/ScaleProfile.asset");

        MoveProfile moveProfile = ScriptableObject.CreateInstance <MoveProfile>();

        AssetDatabase.CreateAsset(moveProfile, "Assets/VRGazeInteraction/CoreFramework/AnimationFramework/Profiles/MoveProfile.asset");

        LightProfile lightProfile = ScriptableObject.CreateInstance <LightProfile>();

        AssetDatabase.CreateAsset(lightProfile, "Assets/VRGazeInteraction/CoreFramework/AnimationFramework/Profiles/LightProfile.asset");


        AssetDatabase.SaveAssets();
        Debug.Log("AnimationFramework initialized");
    }
Exemplo n.º 6
0
 public int WaitMoveDone(MoveProfile profile, bool bCheckLimit, bool bCheckPos)
 {
     return(0);
 }
Exemplo n.º 7
0
 public void ReadStatus(MoveProfile profile)
 {
 }
Exemplo n.º 8
0
 public void Stop(MoveProfile profile)
 {
 }
Exemplo n.º 9
0
 public int MoveAbs(MoveProfile profile)
 {
     return(0);
 }
Exemplo n.º 10
0
 public int Home(MoveProfile profile)
 {
     return(0);
 }