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

PR2 BaseController2 using deprecated functions (ros ticket #5146) #310

Open
ahendrix opened this issue Mar 12, 2013 · 0 comments
Open

PR2 BaseController2 using deprecated functions (ros ticket #5146) #310

ahendrix opened this issue Mar 12, 2013 · 0 comments

Comments

@ahendrix
Copy link
Member

The pr2 base controller shows a list of warnings at compilation time because of deprecated functions.

/home/gmanfred/ros/base_soft_controller/src/base_soft_controller.cpp: In member function ‘virtual bool controller::BaseSoftController::init(pr2_mechanism_model::RobotState*, ros::NodeHandle&)’:
/home/gmanfred/ros/base_soft_controller/src/base_soft_controller.cpp:97:57: warning: ‘void pr2_mechanism_controllers::BaseControllerState2_::set_joint_names_size(uint32_t) [with ContainerAllocator = std::allocator, uint32_t = unsigned int]’ is deprecated (declared at /opt/ros/diamondback/stacks/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/BaseControllerState2.h:105)
/home/gmanfred/ros/base_soft_controller/src/base_soft_controller.cpp:98:70: warning: ‘void pr2_mechanism_controllers::BaseControllerState2_::set_joint_velocity_commanded_size(uint32_t) [with ContainerAllocator = std::allocator, uint32_t = unsigned int]’ is deprecated (declared at /opt/ros/diamondback/stacks/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/BaseControllerState2.h:85)
/home/gmanfred/ros/base_soft_controller/src/base_soft_controller.cpp:99:69: warning: ‘void pr2_mechanism_controllers::BaseControllerState2_::set_joint_velocity_measured_size(uint32_t) [with ContainerAllocator = std::allocator, uint32_t = unsigned int]’ is deprecated (declared at /opt/ros/diamondback/stacks/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/BaseControllerState2.h:89)
/home/gmanfred/ros/base_soft_controller/src/base_soft_controller.cpp:100:67: warning: ‘void pr2_mechanism_controllers::BaseControllerState2_::set_joint_effort_measured_size(uint32_t) [with ContainerAllocator = std::allocator, uint32_t = unsigned int]’ is deprecated (declared at /opt/ros/diamondback/stacks/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/BaseControllerState2.h:93)
/home/gmanfred/ros/base_soft_controller/src/base_soft_controller.cpp:101:59: warning: ‘void pr2_mechanism_controllers::BaseControllerState2_::set_joint_command_size(uint32_t) [with ContainerAllocator = std::allocator, uint32_t = unsigned int]’ is deprecated (declared at /opt/ros/diamondback/stacks/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/BaseControllerState2.h:77)
/home/gmanfred/ros/base_soft_controller/src/base_soft_controller.cpp:102:68: warning: ‘void pr2_mechanism_controllers::BaseControllerState2_::set_joint_effort_commanded_size(uint32_t) [with ContainerAllocator = std::allocator, uint32_t = unsigned int]’ is deprecated (declared at /opt/ros/diamondback/stacks/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/BaseControllerState2.h:97)
/home/gmanfred/ros/base_soft_controller/src/base_soft_controller.cpp:103:57: warning: ‘void pr2_mechanism_controllers::BaseControllerState2_::set_joint_error_size(uint32_t) [with ContainerAllocator = std::allocator, uint32_t = unsigned int]’ is deprecated (declared at /opt/ros/diamondback/stacks/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/BaseControllerState2.h:81)
/home/gmanfred/ros/base_soft_controller/src/base_soft_controller.cpp:104:64: warning: ‘void pr2_mechanism_controllers::BaseControllerState2_::set_joint_effort_error_size(uint32_t) [with ContainerAllocator = std::allocator, uint32_t = unsigned int]’ is deprecated (declared at /opt/ros/diamondback/stacks/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/BaseControllerState2.h:101)

trac data:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant