Skip to content

Commit

Permalink
docs: update info about new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejmajek committed Oct 1, 2024
1 parent da607a9 commit fe15f7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/create_robots_whoami.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Your robot's `whoami` package serves as a configuration package for the `rai_who
3. Fill in the `src/examples/panda_whoami/description` folder with data:\
2.1 Save [this image](https://robodk.com/robot/img/Franka-Emika-Panda-robot.png) into `src/examples/panda_whoami/description/images`\
2.2 Save [this document](https://github.com/user-attachments/files/16417196/Franka.Emika.Panda.robot.-.RoboDK.pdf) in `src/examples/panda_whoami/description/documentation`
2.3 Save [this urdf](https://github.com/frankaemika/franka_ros/blob/develop/franka_description/robots/panda/panda.urdf.xacro) in `src/examples/panda_whoami/description/urdf`

4. Run the `parse_whoami_package`. This will process the documentation, building it into a vector database, which is used by RAI agent to reason about its identity.

Expand Down Expand Up @@ -46,6 +47,7 @@ ros2 run rai_whoami rai_whoami_node --ros-args -p robot_description_package:="pa
ros2 service call /rai_whoami_identity_service std_srvs/srv/Trigger # ask for identity
ros2 service call /rai_whoami_selfimages_service std_srvs/srv/Trigger # ask for images folder
ros2 service call /rai_whoami_constitution_service std_srvs/srv/Trigger # ask for robot constitution
ros2 service call /rai_whoami_urdf_service std_srvs/srv/Trigger # ask for urdf description
ros2 service call /rai_whoami_documentation_service rai_interfaces/srv/VectorStoreRetrieval "query: 'maximum load'" # ask for Panda's maximum load
```

Expand Down

0 comments on commit fe15f7c

Please sign in to comment.