Skip to content

klowrey/FrankaTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FrankaTest

Interactive Control

$> export JULIA_NUM_THREADS=4
$> julia --project
julia> ] 
FrankaTest> instantiate
FrankaTest> ctrl-c
julia> include("src/testfranka.jl")
julia> env = FrankaPickup();
julia> jacctrl(env);

To move around the object you can double click on it, then ctrl click and drag it to move.

You can press ctrl-right arrow to switch from the passive visualizer to the controller mode to activate the controller.

Policy Learning

Currently the rewards function and NPG parameters probably need some tuning, as "pick-up" does not happen. The kinematic structure of the robot also needs some consideration as it's simply not great and it hits joint singularities all the time. Lastly, given that it is position controlled, that may effect how the policy learning comences; setaction! may need to add a difference to the controls rather than setting the controls directly.

Assuming you've instantiated the project as above (and will visualize with a single thread)...

$> export JULIA_NUM_THREADS=8 # or however many CPU cores you have
$> julia --project
julia> include("src/npg.jl")
julia> env = FrankaPickup();
julia> runNPG(; niters=200);

In your single threaded visualization REPL:

julia> vizpolicy(env, "/tmp/frankapickup.jlso");

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages