... | ... | @@ -15,18 +15,18 @@ If you need to build, any package using python files should be built with the sy |
|
|
|
|
|
Navigate to: \
|
|
|
`liu-home-wreckers/src/lhw_qi/` \
|
|
|
Then run, \
|
|
|
Then run: \
|
|
|
`sudo docker-compose run lhw_qi zsh` \
|
|
|
Check that the Pepper IP is set (`echo $PEPPER_IP`), if it isn't set, set it with: \
|
|
|
`export PEPPER_IP=10.133.5.240` \
|
|
|
Once in the docker run, \
|
|
|
Once in the docker container, run: \
|
|
|
`ros2 run lhw_qi microphone -i $PEPPER_IP` \
|
|
|
If you get an error about lhw_qi, then do the following: \
|
|
|
If you get an error about lhw_qi, then do the following (to build the c stuff): \
|
|
|
`colcon build` \
|
|
|
After this run: \
|
|
|
`source ./install/setup.zsh` \
|
|
|
Then try the ros2 command again. \
|
|
|
In the same docker run, \
|
|
|
In the same docker run: \
|
|
|
`ros2 run lhw_qi animated_speech -i $PEPPER_IP` \
|
|
|
|
|
|
## Starting Dialogflow and GPT-2
|
... | ... | @@ -37,7 +37,12 @@ Navigate to: \ |
|
|
Copy it by `cp /home/simont/liu-home-wreckers/src/lhw_nlp/lhw_nlp/cred.json /home/$USER/liu-home-wreckers/src/lhw_nlp/lhw_nlp/`
|
|
|
Then run, \
|
|
|
`sudo docker-compose run lhw_nlp zsh` \
|
|
|
Once in the docker run, \
|
|
|
If you get an error about lhw_nlp, then do the following (to build the c stuff): \
|
|
|
`colcon build --symlink-setup` \
|
|
|
After this run: \
|
|
|
`source ./install/setup.zsh` \
|
|
|
Then try the ros2 command again. \
|
|
|
Once in the docker run (dont run dialogflow very much, there's a daily quota): \
|
|
|
`ros2 run lhw_nlp dialogflow` \
|
|
|
(If you get an error regarding the existence of DialogflowV2 then run `pip3 install google-cloud-dialogflow` and continue) \
|
|
|
In the same docker run, \
|
... | ... | |