[x3d-public] unrecognized value. HAnim bug in KoreanCharacterMotionAnnex* aliases for LOA-02/3 and LOA-4 feet

John Carlson yottzumm at gmail.com
Sat Jan 23 20:34:12 PST 2021


And you thought you were done!  Here are all the HAnim unrecognized 
values (aliases?) from my data files, attached.

Sorry for the dump.  I'm going to try Christoph's VPN RSN.

John

On 1/23/21 5:31 PM, Don Brutzman wrote:
> [cc: Joe, x3d-public, hanim]
>
> John, like you, am not finding "l_metatarsophalangeal" in current X3D 
> Schema or X3DUOM.  Instead am finding
>
>     l_metatarsophalangeal_1
>     l_metatarsophalangeal_2
>     l_metatarsophalangeal_3
>     l_metatarsophalangeal_4
>     l_metatarsophalangeal_5
>
> Close reading of these HAnimJoint names will note the prefixes l_ and 
> r_ are alphabetic, while suffixes _1 _2 _3 _4 _5 are numeric.
>
> However, like you, am nevertheless finding "l_metatarsophalangeal" in 
> current HAnim Specification in both animation examples but also Part 1 
> Concepts.
>
> [1]    HAnim version 2
> https://www.web3d.org/documents/specifications/19774/V2.0/index.html
>
> [2]    Part 1:  Humanoid animation (HAnim) architecture, 4 Concepts, 
> 4.9.4 The feet
> https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/concepts.html#TheFeet
>
> This paragraph has a layout problem, now entered as Mantis
>
> [3]    Mantis 1338: HAnim part 1 clause 4.9.4 has malformed HTML
> https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/concepts.html#TheFeet
>
> (Am guessing we missed this during prior document review because it 
> was offscreen on the far-right margin.)
>
> Dick, first correction: please advise how we can resolve this layout 
> issue which relates to whitespace, not prose.
>
> Dick, please also monitor the following resolution and let's decide if 
> additional prose is appropriate too.
>
> ---
>
> The clause itself reads as follows:
>
>> 4.9.4 The feet
>>
>> The names of the Joint objects for the LOA‑2 and 3 feet are specified 
>> in Table 4.4.
>>
>> Table 4.4 — LOA‑2 and 3 foot Joint object names
>>
>> Left foot
>>     l_talocrural     l_tarsometatarsal l_metatarsophalangeal     
>> l_tarsal_interphalangeal
>>
>> Right foot
>>     r_talocrural     r_tarsometatarsal r_metatarsophalangeal     
>> r_tarsal_interphalangeal
>
> Corresponding joints with _1 _2 _3 _4 _5 appended are found in
>
> [4]    Figure 4.9 — LOA‑4 foot joints
> https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/concepts.html#f-FootJoints
>
> Joe, second correction:  I think that we missed defining 'alias' 
> values for this difference between LOA-2/LOA-3 and LOA-4.
>
> Proposed fix: define alias correspondences in X3D XML Schema, X3DUOM 
> and corresponding Quality Assurance (QA) diagnostics such as X3D 
> Schematron and X3D Tooltips.
>
>     l_talocrural                l_talocrural_1
>     l_tarsometatarsal           l_tarsometatarsal_1
>     l_metatarsophalangeal       l_metatarsophalangeal_1
>     l_tarsal_interphalangeal    l_tarsal_interphalangeal_1
>
>     r_talocrural                r_talocrural_1
>     r_tarsometatarsal           r_tarsometatarsal_1
>     r_metatarsophalangeal       r_metatarsophalangeal_1
>     r_tarsal_interphalangeal    r_tarsal_interphalangeal_1
>
> Please let me know what you think about these alias additions. Entered as
>
> [5]    Mantis 1339: missing alias correspondences for foot joints 
> LOA-2/LOA-3 and LOA-4
>        https://www.web3d.org/member-only/mantis/view.php?id=1339
>
> John, if accepted, that change will clear the diagnostic errors you 
> encountered. Thanks for pursuing this tricky problem, am happy to 
> confirm that your diagnosis was exactly on target.
>
> Pretty tricky problem, but appears to have a straightforward 
> solution.  Please advise what you think.
>
>
> On 1/21/2021 3:34 PM, John Carlson wrote:
>>
>> Appears valid in spec.
>>
>> $ find . -type f -print0 |xargs -0 grep -w l_metatarsophalangeal|grep 
>> -e -IS|grep l_metatarsophalangeal
>> ./ISO-IEC19774/ISO-IEC19774-2/ISO-IEC19774-2v2.0/ISO-IEC19774-2v2.0-IS/MotionDataAnimation/ExampleMocapAnimationInterpolators.html: 
>> <HAnimJoint DEF="hanim_l_metatarsophalangeal" center="3.854 3.64 
>> 0.7402" name="l_metatarsophalangeal" >
>> ./ISO-IEC19774/ISO-IEC19774-2/ISO-IEC19774-2v2.0/ISO-IEC19774-2v2.0-IS/MotionDataAnimation/Concepts.html: 
>> <td class="center">l_metatarsophalangeal</td>
>> ./ISO-IEC19774/ISO-IEC19774-2/ISO-IEC19774-2v2.0/ISO-IEC19774-2v2.0-IS/MotionDataAnimation/Concepts.html: 
>> <td class="center">l_metatarsophalangeal</td>
>> ./ISO-IEC19774/ISO-IEC19774-2/ISO-IEC19774-2v2.0/ISO-IEC19774-2v2.0-IS/MotionDataAnimation/Concepts.html: 
>> <li>The <code>l_metatarsophalangeal</code> <span 
>> class="Object">Joint</span> has the motion of [R17]
>> ./ISO-IEC19774/ISO-IEC19774-2/ISO-IEC19774-2v2.0/ISO-IEC19774-2v2.0-IS/MotionDataAnimation/ExampleKeyframeAnimation.html: 
>> <HAnimJoint DEF="hanim_l_metatarsophalangeal" center="3.854 3.64 
>> 0.7402" name="l_metatarsophalangeal" >
>> ./ISO-IEC19774/ISO-IEC19774-2/ISO-IEC19774-2v2.0/ISO-IEC19774-2v2.0-IS/MotionDataAnimation/ExampleMocapAnimationMotionObject.html: 
>> <HAnimJoint DEF="hanim_l_metatarsophalangeal" center="3.854 3.64 
>> 0.7402" name="l_metatarsophalangeal" >
>> ./ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.0/ISO-IEC19774-1v2.0-IS/Architecture/Design.html: 
>> <HAnimJoint DEF="hanim_l_metatarsophalangeal" 
>> center="3.854000 3.640000 0.740200" 
>> name="l_metatarsophalangeal" >
>> ./ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.0/ISO-IEC19774-1v2.0-IS/Architecture/concepts.html: 
>> <td>l_metatarsophalangeal</td>
>>
>> But not in XML schema or X3DUOM.   Hmm.
>>
>> coderextreme at coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org/specifications$ 
>> find . -type f -print0 |xargs -0 grep -w l_metatarsophalangeal
>> coderextreme at coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org/specifications$ 
>>
>>
>> So there must be some disconnect between the spec and the schema?
>>
>>
>> HAnim examples to test against:
>>
>> coderextreme at coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation$ 
>> find . -type f -print0 |xargs -0 grep -wl l_metatarsophalangeal
>>
>> ./Characters/JinLOA3.x3d
>> ./Characters/JinLOA1.x3d
>> ./Characters/JinLOA2.x3d
>> ./Specifications/KoreanCharacterMotionAnnexD01Jin.x3d
>> ./Specifications/KoreanCharacterMotionAnnexC01Jin.x3d
>>
>> The unrecognized value errors are in your build.log.txt.
>>
>> Thanks for looking at this!
>>
>> John
>>
>>
>> On 1/21/21 5:15 PM, John Carlson wrote:
>>> I believe I am using X3DJSAIL.   Do I need to do a build/checkout 
>>>  or download jars?
>>>
>>> It would be good to cross test with stylesheet.
>>>
>>> I’ll try to remember to look into it tonight.  Resting now.
>>>
>>> John
>>> On Thu, Jan 21, 2021 at 10:57 AM Don Brutzman <brutzman at nps.edu 
>>> <mailto:brutzman at nps.edu>> wrote:
>>>
>>>     Thanks for checking John.  Wondering, are you checking HAnim 
>>> specification, X3DUOM or X3D Schema for correct values?
>>>
>>>     We can also define alias enumerations if there are allowable 
>>> synonyms.
>>>
>>>     On 1/20/2021 9:07 PM, John Carlson wrote:
>>>     >
>>>     >
>>>     > Running with nashorn.
>>>     >
>>>     > jjs -J-Xss1g -J-Xmx4g
>>>     > 
>>> -J-Djava.class.path=.:/home/coderextreme/pythonSAI/X3DJSAIL.4.0.full.jar:/home/coderextreme/X3DJSONLD/saxon9he.jar:/home/coderextreme/X3DJSONLD/target/X3DJSONLD-1.0-SNAPSHOT.jar:/home/coderextreme/X3DJSONLD/src/main/nashorn
>>>     > 
>>> ../nashorn/net/coderextreme/data/KoreanCharacterMotionAnnexC01Jin.js
>>>     > Warning: The jjs tool is planned to be removed from a future 
>>> JDK release
>>>     > Warning: HAnimJoint name newValue="l_metatarsophalangeal" has an
>>>     > unrecognized value not matching any of the optional string 
>>> tokens.
>>>     > Warning: HAnimJoint name newValue="r_metatarsophalangeal" has an
>>>     > unrecognized value not matching any of the optional string 
>>> tokens.
>>>     >
>>>     > jjs -J-Xss1g -J-Xmx4g
>>>     > 
>>> -J-Djava.class.path=.:/home/coderextreme/pythonSAI/X3DJSAIL.4.0.full.jar:/home/coderextreme/X3DJSONLD/saxon9he.jar:/home/coderextreme/X3DJSONLD/target/X3DJSONLD-1.0-SNAPSHOT.jar:/home/coderextreme/X3DJSONLD/src/main/nashorn
>>>     > 
>>> ../nashorn/net/coderextreme/data/KoreanCharacterMotionAnnexD01Jin.js
>>>     > Warning: The jjs tool is planned to be removed from a future 
>>> JDK release
>>>     > Warning: HAnimJoint name newValue="l_metatarsophalangeal" has an
>>>     > unrecognized value not matching any of the optional string 
>>> tokens.
>>>     >
>>>     > Related X3D files found in:
>>>     >
>>>     > 
>>> /c/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation/Specifications/ 
>>> <http://www.web3d.org/x3d/content/examples/HumanoidAnimation/Specifications/> 
>>>
>>>     >
>>>     > X3D files up to date:
>>>     >
>>>     > 
>>> coderextreme at coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation$ 
>>> <http://www.web3d.org/x3d/content/examples/HumanoidAnimation$>
>>>     > diff Specifications/ ~/X3DJSONLD/src/main/data/|grep diff
>>>     > 
>>> coderextreme at coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation$ 
>>> <http://www.web3d.org/x3d/content/examples/HumanoidAnimation$>
>>>     > svn up
>>>     > Updating '.':
>>>     > At revision 31305.
>>>     >
>>>     > John
>
> all the best, Don
-------------- next part --------------
HumanoidRoot
l_ankle
l_axilla_ant_pt
l_axilla_post_pt
l_calcaneous_post_pt
l_clavicale_pt
l_digit2_pt
l_eyeball_site_view
l_femoral_lateral_epicn_pt
l_femoral_medial_epicn_pt
l_forefoot
l_forefoot_tip
l_hand
l_hand_front_view
l_hindfoot
l_humeral_lateral_epicn_pt
l_humeral_medial_epicn_pt
l_index0
l_index1
l_index2
l_index3
l_index_distal
l_index_distal_tip
l_index_metacarpal
l_index_middle
l_index_proximal
l_metacarpal_pha2_pt
l_metacarpal_pha5_pt
l_metatarsal
l_metatarsal_pha1_pt
l_metatarsal_pha5_pt
l_metatarsophalangeal
l_middistal
l_middle0
l_middle1
l_middle2
l_middle3
l_middle_distal
l_middle_distal_tip
l_middle_metacarpal
l_middle_middle
l_middle_proximal
l_midproximal
l_midtarsal
l_pinky0
l_pinky1
l_pinky2
l_pinky3
l_pinky_distal
l_pinky_distal_tip
l_pinky_metacarpal
l_pinky_middle
l_pinky_proximal
l_ring0
l_ring1
l_ring2
l_ring3
l_ring_distal
l_ring_distal_tip
l_ring_metacarpal
l_ring_middle
l_ring_proximal
l_subtalar
l_thumb1
l_thumb2
l_thumb3
l_thumb_distal
l_thumb_distal_tip
l_thumb_metacarpal
l_thumb_proximal
l_wrist
outputStyle
r_ankle
r_axilla_ant_pt
r_axilla_post_pt
r_calcaneous_post_pt
r_clavicale_pt
r_digit2_pt
r_eyeball_site_view
r_femoral_lateral_epicn_pt
r_femoral_medial_epicn_pt
r_forefoot
r_forefoot_tip
r_hand
r_hand_front_view
r_hindfoot
r_humeral_lateral_epicn_pt
r_humeral_medial_epicn_pt
rib10_midspine_pt
r_index0
r_index1
r_index2
r_index3
r_index_distal
r_index_distal_tip
r_index_metacarpal
r_index_middle
r_index_proximal
r_metacarpal_pha2_pt
r_metacarpal_pha5_pt
r_metatarsal
r_metatarsal_pha1_pt
r_metatarsal_pha5_pt
r_metatarsophalangeal
r_middistal
r_middle0
r_middle1
r_middle2
r_middle3
r_middle_distal
r_middle_distal_tip
r_middle_metacarpal
r_middle_middle
r_middle_proximal
r_midproximal
r_midtarsal
RootFront_view
r_pinky0
r_pinky1
r_pinky2
r_pinky3
r_pinky_distal
r_pinky_distal_tip
r_pinky_metacarpal
r_pinky_middle
r_pinky_proximal
r_ring0
r_ring1
r_ring2
r_ring3
r_ring_distal
r_ring_distal_tip
r_ring_metacarpal
r_ring_middle
r_ring_proximal
r_subtalar
r_thumb1
r_thumb2
r_thumb3
r_thumb_distal
r_thumb_distal_tip
r_thumb_metacarpal
r_thumb_proximal
r_wrist
skull_tip
skull_tip_raiser_action
temporomandibular_l_site_pt
temporomandibular_r_site_pt
translators
waist_preferred_post_pt


More information about the x3d-public mailing list