Comments (10)
Have you got libsvm installed? That should fix it, try the following command:
sudo apt-get install libsvm3 libsvm-dev libsvm-tools
Also after libsvm has been installed, you will have to move the learner package out of the src folder, run catkin_make (I have to run it twice, for some reason) and then place the learner package back into the projects src folder. For some reason, catkin_make doesn't obey the build_depend tags in the project xml file (although it is probably a misuse of it).
The commands I used to successfully catkin_make where the following.:
mv src/learner .
catkin_make
catkin_make
mv learner/ src/
catkin_make
from nao-autism.
now ,tracker and mimicker is working. but it stop at"Waiting for behavior manager to start"Waiting for behavior manager to start" after i standing by and kinect can track me. then i follow this step: "copy the Nao by putting your hands on your head", i put my hands on my hand ,but NAO do nothing.
this is the output:
shuixiu@shuixiu:~$ roslaunch emotion_game kinect_control.launch
... logging to /home/shuixiu/.ros/log/98ab62c0-55ae-11e3-8e0f-cc52af3dec7c/roslaunch-shuixiu-11895.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://shuixiu:42138/
SUMMARY
PARAMETERS
- /rosdistro
- /rosversion
NODES
/
mimicker (emotion_game/mimicker)
tracker (openni_tracker/openni_tracker)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[tracker-1]: started with pid [11913]
process[mimicker-2]: started with pid [11923]
[ INFO] [1385369596.718554151]: Waiting for a head tf to be published.
[ INFO] [1385369600.975064524]: New User 1
[ INFO] [1385369612.072240047]: Pose Psi detected for user 1
[ INFO] [1385369627.908591143]: Calibration started for user 1
[ INFO] [1385369628.319876971]: Calibration complete, start tracking user 1
[ INFO] [1385369628.652186621]: /tf is now publishing, ready to go.
[ INFO] [1385369628.668686376]: All set up, go!
Waiting until speech publisher is ready...
Speech publisher is ready.
Waiting for behavior manager to start.
from nao-autism.
Hi there,
Have you done roslaunch emotion_game kinect_nao.launch in another terminal before launching kinect_control? kinect_nao starts the behavior manager which allows the nao to sit and stand, etc.
On Mon, Nov 25, 2013 at 9:02 AM, doudoushuixiu [email protected]
wrote:
now ,tracker and mimicker is working. but it stop at"Waiting for behavior manager to start"Waiting for behavior manager to start" after i standing by and kinect can track me. then i follow this step: "copy the Nao by putting your hands on your head", i put my hands on my hand like this:
0
||_|
|
/
/
but NAO do nothing.
this is the output:
shuixiu@shuixiu:~$ roslaunch emotion_game kinect_control.launch
... logging to /home/shuixiu/.ros/log/98ab62c0-55ae-11e3-8e0f-cc52af3dec7c/roslaunch-shuixiu-11895.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://shuixiu:42138/SUMMARY
PARAMETERS
- /rosdistro
/rosversion
Reply to this email directly or view it on GitHub:
NODES
/
mimicker (emotion_game/mimicker)
tracker (openni_tracker/openni_tracker)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[tracker-1]: started with pid [11913]
process[mimicker-2]: started with pid [11923]
[ INFO] [1385369596.718554151]: Waiting for a head tf to be published.
[ INFO] [1385369600.975064524]: New User 1
[ INFO] [1385369612.072240047]: Pose Psi detected for user 1
[ INFO] [1385369627.908591143]: Calibration started for user 1
[ INFO] [1385369628.319876971]: Calibration complete, start tracking user 1
[ INFO] [1385369628.652186621]: /tf is now publishing, ready to go.
[ INFO] [1385369628.668686376]: All set up, go!
Waiting until speech publisher is ready...
Speech publisher is ready.
Waiting for behavior manager to start.
#1 (comment)
from nao-autism.
thank u for your answers. i read the "README.md" again, maybe i miss something : "Then run rosinstall to install the relevant packages, making sure to link this workspace with our nao-autism workspace, then compile them:"
i miss it, i don't link the nao stcaks(by ahornung) with nao-autism. i'm a new to this project ,how can i link this workspaces.
also,while i run the command ,there is some error:
[
Traceback (most recent call last):
File "/opt/ros/groovy/lib/nao_driver/nao_controller.py", line 40, in
from nao_msgs.msg import(
ImportError: cannot import name JointTrajectoryGoal
]
some reason made this error(i know this reason,i'm teying to solve it) so i run another command which writen by arming ahornung : "roslaunch nao_driver nao_driver_sim.launch"
this command can made the node :"nao_walker" & "nao_behaviors"....... work too. (can i do this for replacing the kinect_nao.launch?? )
thank you for you answers again.
from nao-autism.
i launch the kinect.nao.launch,this is the output:
shuixiu@shuixiu:~$ LD_LIBRARY_PATH=/opt/naoqi/naoqi-sdk-1.14.5-linux32/lib:$LD_LIBRARY_PATH NAO_IP=192.168.82.27 roslaunch emotion_game kinect_nao.launch
... logging to /home/shuixiu/.ros/log/4f14e560-5675-11e3-9175-cc52af3dec7c/roslaunch-shuixiu-27006.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://shuixiu:44832/
SUMMARY
PARAMETERS
- /rosdistro
- /rosversion
NODES
/
nao_behaviors (nao_driver/nao_behaviors.py)
nao_controller (nao_driver/nao_controller.py)
nao_speech (nao_driver/nao_speech.py)
nao_walker (nao_driver/nao_walker.py)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[nao_behaviors-1]: started with pid [27024]
process[nao_walker-2]: started with pid [27025]
process[nao_controller-3]: started with pid [27028]
process[nao_speech-4]: started with pid [27031]
[INFO ] Starting ALNetwork
[INFO] [WallTime: 1385454833.534906] Connecting to NaoQi at 192.168.82.27:9559
[INFO ] Starting ALNetwork
[INFO] [WallTime: 1385454833.567444] Connecting to NaoQi at 192.168.82.27:9559
[INFO ] Starting ALNetwork
[INFO ] NAOqi is listening on 127.0.0.1:54010
[INFO] [WallTime: 1385454833.901247] nao_behaviors running...
[INFO ] NAOqi is listening on 127.0.0.1:54011
[INFO] [WallTime: 1385454833.946846] useFootGaitConfig = 0
[INFO] [WallTime: 1385454833.969526] nao_walker initialized
[INFO ] NAOqi is listening on 127.0.0.1:54012
[INFO] [WallTime: 1385454833.969896] nao_walker running...
[INFO] [WallTime: 1385454834.045180] nao_controller initialized
[INFO] [WallTime: 1385454834.045487] nao_controller running...
after opened Kinect, i launch the kinect_control.launch,this is the output:
shuixiu@shuixiu:~$ roslaunch emotion_game kinect_control.launch
... logging to /home/shuixiu/.ros/log/dfc97ec2-5675-11e3-8337-cc52af3dec7c/roslaunch-shuixiu-30702.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
stated roslaunch server http://shuixiu:50683/
SUMMARY
PARAMETERS
- /rosdistro
- /rosversion
NODES
/
mimicker (emotion_game/mimicker)
tracker (openni_tracker/openni_tracker)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[tracker-1]: started with pid [30720]
process[mimicker-2]: started with pid [30730]
[ INFO] [1385455110.592469896]: Waiting for a head tf to be published.
[ INFO] [1385455115.480716246]: New User 1
[ INFO] [1385455121.146596061]: Lost user 1
[ INFO] [1385455122.087759129]: New User 1
[ INFO] [1385455122.090329183]: New User 2
[ INFO] [1385455122.784481699]: Lost user 1
[ INFO] [1385455123.719616899]: New User 1
[ INFO] [1385455125.785643643]: Lost user 1
[ INFO] [1385455127.960794317]: New User 1
[ INFO] [1385455128.191756897]: Pose Psi detected for user 1
[ INFO] [1385455129.590884913]: Calibration started for user 1
[ INFO] [1385455130.038120905]: Calibration complete, start tracking user 1
[ INFO] [1385455130.276122911]: /tf is now publishing, ready to go.
[ INFO] [1385455130.292608038]: All set up, go!
Waiting until speech publisher is ready...
Speech publisher is ready.
Waiting for behavior manager to start.
it's really hard for me to find out the reason , plz help me
from nao-autism.
Hm, I recall us having a similar error early on in the project. I can't remember exactly what fixed it, but I'll do my best to find out. What operating system are you using, and are you using a simulated Nao or a real one?
On Tue, Nov 26, 2013 at 8:50 AM, doudoushuixiu [email protected]
wrote:
i launch the kinect.nao.launch,this is the output:
shuixiu@shuixiu:~$ LD_LIBRARY_PATH=/opt/naoqi/naoqi-sdk-1.14.5-linux32/lib:$LD_LIBRARY_PATH NAO_IP=192.168.82.27 roslaunch emotion_game kinect_nao.launch
... logging to /home/shuixiu/.ros/log/4f14e560-5675-11e3-9175-cc52af3dec7c/roslaunch-shuixiu-27006.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://shuixiu:44832/SUMMARY
PARAMETERS
- /rosdistro
- /rosversion
NODES
/
nao_behaviors (nao_driver/nao_behaviors.py)
nao_controller (nao_driver/nao_controller.py)
nao_speech (nao_driver/nao_speech.py)
nao_walker (nao_driver/nao_walker.py)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[nao_behaviors-1]: started with pid [27024]
process[nao_walker-2]: started with pid [27025]
process[nao_controller-3]: started with pid [27028]
process[nao_speech-4]: started with pid [27031]
[INFO ] Starting ALNetwork
[INFO] [WallTime: 1385454833.534906] Connecting to NaoQi at 192.168.82.27:9559
[INFO ] Starting ALNetwork
[INFO] [WallTime: 1385454833.567444] Connecting to NaoQi at 192.168.82.27:9559
[INFO ] Starting ALNetwork
[INFO ] NAOqi is listening on 127.0.0.1:54010
[INFO] [WallTime: 1385454833.901247] nao_behaviors running...
[INFO ] NAOqi is listening on 127.0.0.1:54011
[INFO] [WallTime: 1385454833.946846] useFootGaitConfig = 0
[INFO] [WallTime: 1385454833.969526] nao_walker initialized
[INFO ] NAOqi is listening on 127.0.0.1:54012
[INFO] [WallTime: 1385454833.969896] nao_walker running...
[INFO] [WallTime: 1385454834.045180] nao_controller initialized
[INFO] [WallTime: 1385454834.045487] nao_controller running...
after opened Kinect, i launch the kinect_control.launch,this is the output:
shuixiu@shuixiu:~$ roslaunch emotion_game kinect_control.launch
PARAMETERS
... logging to /home/shuixiu/.ros/log/dfc97ec2-5675-11e3-8337-cc52af3dec7c/roslaunch-shuixiu-30702.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
stated roslaunch server http://shuixiu:50683/
SUMMARY- /rosdistro
- /rosversion
NODES
/
mimicker (emotion_game/mimicker)
tracker (openni_tracker/openni_tracker)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[tracker-1]: started with pid [30720]
process[mimicker-2]: started with pid [30730]
[ INFO] [1385455110.592469896]: Waiting for a head tf to be published.
[ INFO] [1385455115.480716246]: New User 1
[ INFO] [1385455121.146596061]: Lost user 1
[ INFO] [1385455122.087759129]: New User 1
[ INFO] [1385455122.090329183]: New User 2
[ INFO] [1385455122.784481699]: Lost user 1
[ INFO] [1385455123.719616899]: New User 1
[ INFO] [1385455125.785643643]: Lost user 1
[ INFO] [1385455127.960794317]: New User 1
[ INFO] [1385455128.191756897]: Pose Psi detected for user 1
[ INFO] [1385455129.590884913]: Calibration started for user 1
[ INFO] [1385455130.038120905]: Calibration complete, start tracking user 1
[ INFO] [1385455130.276122911]: /tf is now publishing, ready to go.
[ INFO] [1385455130.292608038]: All set up, go!
Waiting until speech publisher is ready...
Speech publisher is ready.
Waiting for behavior manager to start.
it's really hard for me to find out the reason , plz help me
Reply to this email directly or view it on GitHub:
#1 (comment)
from nao-autism.
ros(hydro) on ubuntu 12.04 ,i use a real NAO robot. i also find some wrong command in the README.md . some command can just run in the master-branch but not in the gamechanges-branch. i can make the tutorial better with you help .
if you find out the reason of this error, just make me know,thank u.
from nao-autism.
The project was developed on the ROS Groovy platform, as well as it's dependencies. So I am not sure how compatible it will be with newer versions of ROS (there will definately be some issues with the commands, as you will need to use sudo apt-get install ros-hydro-... instead of ros-groovy). Also, there is only meant to be one branch (the main one), as they should of been merged. The gameschanges branch is pretty old so doesn't contain all the up-to date code.
Also, I cannot remember how to fix the above issue (the projects duration was only 11 weeks, so we couldn't spare much time to making it work universally). I believe it is a sourcing issue of some sort, like you may have to source the file for the Nao Driver's and then source Nao Autism's source file. If that doesn't work and you are sure you have run everything correctly you can always go into the C++ code in src/nao_control and comment out the code that waits for the speech publisher/behavior manager.
from nao-autism.
Dear AlexMaley & tristanbell .
i think the error was caused by NAOQI .
there are two prossible reasons:
1: i used naoqi-sdk-1.14.5-linux32(not linux64)
2: "nao_driver works with NaoQI version 1.6 or newer (last tested: 1.12.0). Versions 0.1x are still compatible to NaoQI 1.3." this is from the wiki writen by auther of the nao_driver.. before using the nao-autism ,i can't launch some nodes in the nao_driver by using naoqi-sdk-1.14.5 . And i read the naoqi api there are some Methods does not exists anymore such as "ALBehaviorManagerProxy::getBehaviorNames()" .etc .
from nao-autism.
i try again by ubuntu12.04(64bits) & ROS(groovy) .but it has the same question. the nao_robot package has updated a month ago.maybe there is something has changed. can you send you "nao_robot" to me by email? [email protected]
from nao-autism.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nao-autism.