Skip to content

nice Python API #1636

@leshy

Description

@leshy

some basic things people and agents should be able to quickly code and run

run a blueprint, and iteract with it via rpc calls to modules
run a skill programatically (I want to trigger/stop people follow)
run a skill from a running blueprint from a py script, get updates from the skill
check if there is an obstacle in front of the robot (and how far)
build a 360 2d occupancy histogram from the robots perspective
turning 90 deg, 180deg etc
move forward until you reach obstacle

some random things just to confirm motion control is on point like "walk around an object facing it, take photos, make a gif" (build a 360 view of something)

person follow, security patrol should be a super easy oneliner type things

robot.move(detector("person", robot.camera).project(robot.lidar).to_vector())

get latest anything - frame, global map etc

if any of the above is not super easy, can implement small fixes until it is,

look at lego mindstorms API
https://lego.github.io/MINDSTORMS-Robot-Inventor-hub-API/mod_motion.html
simple game engines for character control
https://www.love2d.org/

if there is time small useful apps like,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions