Skip to content

Commit

Permalink
WIP #4: Added dependencies to package.xml and CMakeLists
Browse files Browse the repository at this point in the history
Added geometry_msgs and sensor_msgs as dependencies

Also fixed a minor bug (== vs =)
  • Loading branch information
Jacob Gloudemans committed Jan 29, 2019
1 parent af7557a commit e9e68a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions high_level_control/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
geometry_msgs
sensor_msgs
)

## System dependencies are found with CMake's conventions
Expand Down
2 changes: 2 additions & 0 deletions high_level_control/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@
<depend>roscpp</depend>
<depend>rospy</depend>
<depend>std_msgs</depend>
<depend>sensor_msgs</depend>
<depend>geometry_msgs</depend>

</package>
2 changes: 1 addition & 1 deletion high_level_control/scripts/teleop_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def joy_callback(self, data):
self.drive_pub.publish(twist)


if __name__ = '__main__':
if __name__ == '__main__':

# Initialize as ROS node
rospy.init_node('teleop_control')
Expand Down

0 comments on commit e9e68a6

Please sign in to comment.