this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Continue rapport

+7 -7
+7 -7
rapport/gz-unitree.typ
··· 830 830 831 831 Prenons un cycle en particulier: 832 832 833 - #let ms_to_fr = (amount, total) => amount / total * 1fr 834 833 #let durations = (0.267, 0.051, 0.039, 0.142, 0.028) // total, state, tick+crc, pub state, cmd 834 + #let dur = idx => [#durations.at(idx) ms] 835 835 #figure( 836 836 caption: [Profiling d'un cycle de simulation], 837 837 table( 838 - columns: durations.slice(1).map(x => ms_to_fr(x, durations.at(0))), 839 - table.cell([`::PreUpdate` #durations.at(0) ms], colspan: 4), 840 - [Update state], 841 - [Compute tick and CRC], 842 - [Publish state], 843 - [Update cmd.] 838 + columns: durations.slice(1).map(x => x / durations.at(0) * 1fr), 839 + table.cell([`::PreUpdate` #dur(0)], colspan: 4), 840 + [Update state \ #dur(1)], 841 + [Tick+CRC \ #dur(2)], 842 + [Publish state \ #dur(3)], 843 + [Update cmd. \ #dur(4)] 844 844 ) 845 845 ) 846 846