MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / best_plotmode

Function best_plotmode

eval_code/recons/relpose/evo_utils.py:394–397  ·  view source on GitHub ↗
(traj)

Source from the content-addressed store, hash-verified

392
393
394def best_plotmode(traj):
395 _, i1, i2 = np.argsort(np.var(traj.positions_xyz, axis=0))
396 plot_axes = "xyz"[i2] + "xyz"[i1]
397 return getattr(plot.PlotMode, plot_axes)
398
399
400def plot_trajectory(

Callers 1

plot_trajectoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected