Skip to content

Commit

Permalink
delete legacy msg package
Browse files Browse the repository at this point in the history
  • Loading branch information
Karsten Knese committed Jul 23, 2015
1 parent 8a9e5ec commit 90e9c7b
Show file tree
Hide file tree
Showing 41 changed files with 37 additions and 351 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ nosetests.xml
.pydevproject

#Specific ignores for nao_robot
naoqi_msgs/src
naoqi_bridge_msgs/src
msg_gen
srv_gen
# Actionlib:
naoqi_msgs/msg/*Action.msg
naoqi_msgs/msg/*Feedback.msg
naoqi_msgs/msg/*Goal.msg
naoqi_msgs/msg/*Result.msg
naoqi_bridge_msgs/msg/*Action.msg
naoqi_bridge_msgs/msg/*Feedback.msg
naoqi_bridge_msgs/msg/*Goal.msg
naoqi_bridge_msgs/msg/*Result.msg
6 changes: 3 additions & 3 deletions naoqi_bridge/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

<buildtool_depend>catkin</buildtool_depend>

<run_depend>naoqi_driver</run_depend>
<run_depend>naoqi_msgs</run_depend>
<run_depend>naoqi_sensors</run_depend>
<run_depend>naoqi_driver_py</run_depend>
<run_depend>naoqi_bridge_msgs</run_depend>
<run_depend>naoqi_sensors_py</run_depend>

<export>
<metapackage/>
Expand Down
2 changes: 1 addition & 1 deletion naoqi_driver_py/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ find_package(catkin REQUIRED COMPONENTS
tf
sensor_msgs
geometry_msgs
naoqi_msgs
naoqi_bridge_msgs
dynamic_reconfigure
diagnostic_aggregator
diagnostic_msgs)
Expand Down
6 changes: 3 additions & 3 deletions naoqi_driver_py/launch/naoqi_driver.launch
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<arg name="nao_ip" default="$(optenv NAO_IP 127.0.0.1)" />
<arg name="nao_port" default="$(optenv NAO_PORT 9559)" />

<node pkg="naoqi_driver" type="naoqi_joint_states.py" name="naoqi_joint_states" required="true" args="--pip=$(arg nao_ip) --pport=$(arg nao_port)" />
<node pkg="naoqi_driver_py" type="naoqi_joint_states.py" name="naoqi_joint_states" required="true" args="--pip=$(arg nao_ip) --pport=$(arg nao_port)" />

<!-- start robot agnostic nodes -->
<node pkg="naoqi_driver" type="naoqi_moveto.py" name="naoqi_moveto" required="true" args="--pip=$(arg nao_ip) --pport=$(arg nao_port)" output="screen"/>
<node pkg="naoqi_driver" type="naoqi_logger.py" name="nao_logger" args="--pip=$(arg nao_ip) --pport=$(arg nao_port)" />
<node pkg="naoqi_driver_py" type="naoqi_moveto.py" name="naoqi_moveto" required="true" args="--pip=$(arg nao_ip) --pport=$(arg nao_port)" output="screen"/>
<node pkg="naoqi_driver_py" type="naoqi_logger.py" name="nao_logger" args="--pip=$(arg nao_ip) --pport=$(arg nao_port)" />
</launch>
4 changes: 2 additions & 2 deletions naoqi_driver_py/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<build_depend>diagnostic_msgs</build_depend>
<build_depend>dynamic_reconfigure</build_depend>
<build_depend>geometry_msgs</build_depend>
<build_depend>naoqi_msgs</build_depend>
<build_depend>naoqi_bridge_msgs</build_depend>
<build_depend>pluginlib</build_depend>
<build_depend>sensor_msgs</build_depend>
<build_depend>nav_msgs</build_depend>
Expand All @@ -51,7 +51,7 @@
<run_depend>geometry_msgs</run_depend>
<run_depend>sensor_msgs</run_depend>
<run_depend>diagnostic_msgs</run_depend>
<run_depend>naoqi_msgs</run_depend>
<run_depend>naoqi_bridge_msgs</run_depend>
<run_depend>pluginlib</run_depend>
<run_depend>humanoid_nav_msgs</run_depend>
<run_depend>nav_msgs</run_depend>
Expand Down
14 changes: 7 additions & 7 deletions naoqi_driver_py/scripts/test_joint_angles.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import actionlib
from actionlib_msgs.msg import GoalStatus
import naoqi_msgs.msg
import naoqi_bridge_msgs.msg
import trajectory_msgs.msg
from trajectory_msgs.msg import JointTrajectoryPoint
import std_srvs.srv
Expand All @@ -19,9 +19,9 @@ def joint_angle_client():
#inhibitWalkSrv = rospy.ServiceProxy("inhibit_walk", std_srvs.srv.Empty)
#uninhibitWalkSrv = rospy.ServiceProxy("uninhibit_walk", std_srvs.srv.Empty)

client = actionlib.SimpleActionClient("joint_trajectory", naoqi_msgs.msg.JointTrajectoryAction)
stiffness_client = actionlib.SimpleActionClient("joint_stiffness_trajectory", naoqi_msgs.msg.JointTrajectoryAction)
angle_client = actionlib.SimpleActionClient("joint_angles_action", naoqi_msgs.msg.JointAnglesWithSpeedAction)
client = actionlib.SimpleActionClient("joint_trajectory", naoqi_bridge_msgs.msg.JointTrajectoryAction)
stiffness_client = actionlib.SimpleActionClient("joint_stiffness_trajectory", naoqi_bridge_msgs.msg.JointTrajectoryAction)
angle_client = actionlib.SimpleActionClient("joint_angles_action", naoqi_bridge_msgs.msg.JointAnglesWithSpeedAction)

rospy.loginfo("Waiting for joint_trajectory and joint_stiffness servers...")
client.wait_for_server()
Expand All @@ -31,7 +31,7 @@ def joint_angle_client():

#inhibitWalkSrv()
try:
goal = naoqi_msgs.msg.JointTrajectoryGoal()
goal = naoqi_bridge_msgs.msg.JointTrajectoryGoal()

# move head: single joint, multiple keypoints
goal.trajectory.joint_names = ["HeadYaw"]
Expand Down Expand Up @@ -110,7 +110,7 @@ def joint_angle_client():


# Control of joints with relative speed
angle_goal = naoqi_msgs.msg.JointAnglesWithSpeedGoal()
angle_goal = naoqi_bridge_msgs.msg.JointAnglesWithSpeedGoal()
angle_goal.joint_angles.relative = False
angle_goal.joint_angles.joint_names = ["HeadYaw", "HeadPitch"]
angle_goal.joint_angles.joint_angles = [1.0, 0.0]
Expand All @@ -135,7 +135,7 @@ def joint_angle_client():
rospy.loginfo("Preemption seems okay")

# Test stiffness actionlib
stiffness_goal = naoqi_msgs.msg.JointTrajectoryGoal()
stiffness_goal = naoqi_bridge_msgs.msg.JointTrajectoryGoal()
stiffness_goal.trajectory.joint_names = ["Body"]
stiffness_goal.trajectory.points.append(JointTrajectoryPoint(time_from_start = Duration(0.5), positions = [1.0]))
rospy.loginfo("Sending stiffness goal...")
Expand Down
45 changes: 0 additions & 45 deletions naoqi_msgs/CHANGELOG.rst

This file was deleted.

61 changes: 0 additions & 61 deletions naoqi_msgs/CMakeLists.txt

This file was deleted.

12 changes: 0 additions & 12 deletions naoqi_msgs/action/Blink.action

This file was deleted.

6 changes: 0 additions & 6 deletions naoqi_msgs/action/BodyPose.action

This file was deleted.

9 changes: 0 additions & 9 deletions naoqi_msgs/action/BodyPoseWithSpeed.action

This file was deleted.

7 changes: 0 additions & 7 deletions naoqi_msgs/action/FollowPath.action

This file was deleted.

7 changes: 0 additions & 7 deletions naoqi_msgs/action/JointAnglesWithSpeed.action

This file was deleted.

9 changes: 0 additions & 9 deletions naoqi_msgs/action/JointTrajectory.action

This file was deleted.

6 changes: 0 additions & 6 deletions naoqi_msgs/action/RunBehavior.action

This file was deleted.

9 changes: 0 additions & 9 deletions naoqi_msgs/action/SetSpeechVocabulary.action

This file was deleted.

11 changes: 0 additions & 11 deletions naoqi_msgs/action/SpeechWithFeedback.action

This file was deleted.

19 changes: 0 additions & 19 deletions naoqi_msgs/msg/AudioBuffer.msg

This file was deleted.

10 changes: 0 additions & 10 deletions naoqi_msgs/msg/Bumper.msg

This file was deleted.

4 changes: 0 additions & 4 deletions naoqi_msgs/msg/FadeRGB.msg

This file was deleted.

11 changes: 0 additions & 11 deletions naoqi_msgs/msg/JointAngleTrajectory.msg

This file was deleted.

13 changes: 0 additions & 13 deletions naoqi_msgs/msg/JointAnglesWithSpeed.msg

This file was deleted.

11 changes: 0 additions & 11 deletions naoqi_msgs/msg/TactileTouch.msg

This file was deleted.

5 changes: 0 additions & 5 deletions naoqi_msgs/msg/WordRecognized.msg

This file was deleted.

Loading

0 comments on commit 90e9c7b

Please sign in to comment.