dojo-sim / Dojo.jl

A differentiable physics engine for robotics
MIT License
294 stars 25 forks source link

Error when accessing gradients in AGS #63

Closed yesiam-png closed 1 year ago

yesiam-png commented 1 year ago

Hi,

Thanks for your excellent code! I'm new to julia. When I run the training code in ags.jl file (by changing the ars function in ant_ars.jl to ags), I get the error ERROR: BoundsError: attempt to access 0-element UnitRange{Int64} at index [0], which traces back to this line. Could anyone help me with this?

Ian

janbruedigam commented 1 year ago

The AGS example was removed in the latest version to keep the examples rather simple. A proper implementation of such algorithms should probably be in its own package.