Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add naoqi_driver initialized message #108

Merged
merged 2 commits into from
May 3, 2018

Conversation

kochigami
Copy link
Contributor

added naoqi_driver initialized message when we launch naoqi_driver.launch

(The last sentence below)

 roslaunch naoqi_driver naoqi_driver.launch network_interface:=eth1
... logging to /home/kochigami/.ros/log/0b81b40c-4867-11e8-a3b9-507b9d20c4fb/roslaunch-kochigami-ThinkPad-T450-14823.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://192.168.97.211:45371/

SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.21

NODES
  /
    naoqi_driver (naoqi_driver/naoqi_driver_node)

auto-starting new master
process[master]: started with pid [14835]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 0b81b40c-4867-11e8-a3b9-507b9d20c4fb
process[rosout-1]: started with pid [14849]
started core service [/rosout]
process[naoqi_driver-2]: started with pid [14866]
Receiving information about robot model
[W] 14866 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
[W] 14866 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to [[m]]
set prefix successfully to naoqi_driver
[I] 14866 qimessaging.session: Session listener created on tcp://0.0.0.0:0
[I] 14866 qimessaging.transportserver: TransportServer will listen on: tcp://192.168.97.211:44101
[I] 14866 qimessaging.transportserver: TransportServer will listen on: tcp://127.0.0.1:44101
using ip address: 127.0.0.1 @ eth1
found a catkin prefix /home/kochigami/catkin_ws/src/naoqi_driver/share/boot_config.json
load boot config from /home/kochigami/catkin_ws/src/naoqi_driver/share/boot_config.json
no camera information found for camera_source 3 and res: 1
found a catkin URDF /home/kochigami/catkin_ws/src/naoqi_driver/share/urdf/pepper.urdf
Audio Extractor: Start
RightBumperPressed
LeftBumperPressed
BackBumperPressed
ROS-Driver-RightBumperPressed : Start
HandRightBackTouched
HandRightLeftTouched
HandRightRightTouched
HandLeftBackTouched
HandLeftLeftTouched
HandLeftRightTouched
ROS-Driver-HandRightBackTouched : Start
FrontTactilTouched
MiddleTactilTouched
RearTactilTouched
ROS-Driver-FrontTactilTouched : Start
registered subscriber:	teleop
registered subscriber:	moveto
registered subscriber:	speech
nodehandle reset 
using master ip: http://127.0.0.1:11311
NOT going to re-register the converters
camera/bottom/image_raw is resetting
camera/bottom/image_raw reset
camera/depth/image_raw is resetting
camera/depth/image_raw reset
/diagnostics is resetting
/diagnostics reset
camera/front/image_raw is resetting
camera/front/image_raw reset
imu/base is resetting
imu/base reset
imu/torso is resetting
imu/torso reset
info is resetting
load robot description from file
info reset
camera/ir/image_raw is resetting
camera/ir/image_raw reset
/joint_states is resetting
/joint_states reset
laser is resetting
laser reset
odom is resetting
odom reset
sonar is resetting
sonar reset
resetting subscriber teleop
teleop is resetting
teleop reset
resetting subscriber moveto
moveto is resetting
moveto reset
resetting subscriber speech
speech is resetting
speech reset
resetting service robot config service
robot config service is resetting
resetting service set language service
set language service is resetting
resetting service get language service
get language service is resetting
naoqi_driver initialized 

I will change messages of service such as get language service is resetting to get language service reset like subscribers later.

reference: discussion in #104

@kochigami
Copy link
Contributor Author

  • added naoqi_driver initialized message
  • modified service and subscriber reset message in accordance with publisher

@nowittyusername and @illhyhl1111, could you check this and give me feedbacks?

roslaunch naoqi_driver naoqi_driver.launch network_interface:=eth1
... logging to /home/kochigami/.ros/log/1d106e4e-4910-11e8-8478-507b9d20c4fb/roslaunch-kochigami-ThinkPad-T450-21972.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://133.11.216.89:40680/

SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.21

NODES
  /
    naoqi_driver (naoqi_driver/naoqi_driver_node)

auto-starting new master
process[master]: started with pid [21984]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 1d106e4e-4910-11e8-8478-507b9d20c4fb
process[rosout-1]: started with pid [21997]
started core service [/rosout]
process[naoqi_driver-2]: started with pid [22014]
Receiving information about robot model
[W] 22014 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
[W] 22014 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to [[m]]
set prefix successfully to naoqi_driver
[I] 22014 qimessaging.session: Session listener created on tcp://0.0.0.0:0
[I] 22014 qimessaging.transportserver: TransportServer will listen on: tcp://133.11.216.89:36988
[I] 22014 qimessaging.transportserver: TransportServer will listen on: tcp://127.0.0.1:36988
using ip address: 127.0.0.1 @ eth1
found a catkin prefix /home/kochigami/catkin_ws/src/naoqi_driver/share/boot_config.json
load boot config from /home/kochigami/catkin_ws/src/naoqi_driver/share/boot_config.json
no camera information found for camera_source 3 and res: 1
found a catkin URDF /home/kochigami/catkin_ws/src/naoqi_driver/share/urdf/pepper.urdf
Audio Extractor: Start
RightBumperPressed
LeftBumperPressed
BackBumperPressed
ROS-Driver-RightBumperPressed : Start
HandRightBackTouched
HandRightLeftTouched
HandRightRightTouched
HandLeftBackTouched
HandLeftLeftTouched
HandLeftRightTouched
ROS-Driver-HandRightBackTouched : Start
FrontTactilTouched
MiddleTactilTouched
RearTactilTouched
ROS-Driver-FrontTactilTouched : Start
registered subscriber:	teleop
registered subscriber:	moveto
registered subscriber:	speech
nodehandle reset 
using master ip: http://127.0.0.1:11311
NOT going to re-register the converters
camera/bottom/image_raw is resetting
camera/bottom/image_raw reset
camera/depth/image_raw is resetting
camera/depth/image_raw reset
/diagnostics is resetting
/diagnostics reset
camera/front/image_raw is resetting
camera/front/image_raw reset
imu/base is resetting
imu/base reset
imu/torso is resetting
imu/torso reset
info is resetting
load robot description from file
info reset
camera/ir/image_raw is resetting
camera/ir/image_raw reset
/joint_states is resetting
/joint_states reset
laser is resetting
laser reset
odom is resetting
odom reset
sonar is resetting
sonar reset
teleop is resetting
teleop reset
moveto is resetting
moveto reset
speech is resetting
speech reset
get_robot_config is resetting
get_robot_config reset
set_language is resetting
set_language reset
get_language is resetting
get_language reset
naoqi_driver initialized

@nowittyusername
Copy link

Yeah, that's pretty much what I wanted. After the initial set up it gives the user a notification that it's done.
I approve!

@nlyubova nlyubova merged commit d12752d into ros-naoqi:master May 3, 2018
@kochigami kochigami deleted the add-initializing-message branch May 5, 2018 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants