Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bigprint
Universal_Robots_ROS_Driver
Commits
4cf8d6fc
Unverified
Commit
4cf8d6fc
authored
Jan 24, 2020
by
Tom Queen
Committed by
GitHub
Jan 24, 2020
Browse files
Update ur_driver.cpp
parent
529c711c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ur_robot_driver/src/ur/ur_driver.cpp
View file @
4cf8d6fc
...
...
@@ -144,11 +144,11 @@ ur_driver::UrDriver::UrDriver(const std::string& robot_ip, const std::string& sc
std
::
unique_ptr
<
rtde_interface
::
DataPackage
>
ur_driver
::
UrDriver
::
getDataPackage
()
{
std
::
chrono
::
milliseconds
timeout
(
get_packet_timeout_
);
// This can take one of two values, 0ms or 100ms. The large
//
timeout is for when the robot is
command
ing
the
control
// loop's timing (read is blocking). The zero timeout is for
// when the robot is sharing a control loop with
// something else (combined_robot_hw)
// This can take one of two values, 0ms or 100ms. The large
timeout is for when the robot is commanding the control
// loop's timing (read is blocking). The zero
timeout is for when the robot is
shar
ing
a
control
loop with
// something else (combined_robot_hw)
std
::
chrono
::
milliseconds
timeout
(
get_packet_timeout_
);
return
rtde_client_
->
getDataPackage
(
timeout
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment