Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
1
vote
Failed to set parameters using the service /turtlesim/set_parameters of the SetParameters type
set_parameters_client')
self.client = self.create_client(SetParameters, '/turtlesim/set_parameters')
while not self.client.wait_for_service(timeout_sec=1.0):
self.get_logger().info('Service … , integer_value=255, double_value=0.0, string_value='', byte_array_value=[], bool_array_value=[], integer_array_value=[], double_array_value=[], string_array_value=[]))]
# Call the set_parameters service …
0
votes
0
answers
28
views
I "successfully" killed a turtle that does not exsit in the first place, how to fix this?
I have written the following code to kill a turtle using the service "/kill". When I first run the C++ exeucatable, I successfully killed it. … kill_client_->wait_for_service(std::chrono::seconds(1))){
RCLCPP_INFO(get_logger(), "Service not available");
}
kill(turtlename_);
}
void kill(const std::string turtlename …
0
votes
1
answer
63
views
Failed to set parameters using the service /turtlesim/set_parameters of the SetParameters type
I tried to use the service /turtlesim/set_parameters [rcl_interfaces/srv/SetParameters] to set the background of the turtlesim GUI. … set_parameters_client')
self.client = self.create_client(SetParameters, '/turtlesim/set_parameters')
while not self.client.wait_for_service(timeout_sec=1.0):
self.get_logger().info('Service …