Comments (3)
Here is the build output with the warnings:
`
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/map/map.c: In function ‘map_get_cell’:
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/map/map.c:70:67: warning: unused parameter ‘oa’ [-Wunused-parameter]
map_cell_t map_get_cell(map_t map, double ox, double oy, double oa)
^~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/sensors/amcl_sensor.cpp: In member function ‘virtual bool amcl::AMCLSensor::UpdateAction(pf_t, amcl::AMCLSensorData)’:
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/sensors/amcl_sensor.cpp:48:37: warning: unused parameter ‘pf’ [-Wunused-parameter]
bool AMCLSensor::UpdateAction(pf_t *pf, AMCLSensorData *data)
^~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/sensors/amcl_sensor.cpp:48:57: warning: unused parameter ‘data’ [-Wunused-parameter]
bool AMCLSensor::UpdateAction(pf_t pf, AMCLSensorData data)
^~~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/sensors/amcl_sensor.cpp: In member function ‘virtual bool amcl::AMCLSensor::InitSensor(pf_t, amcl::AMCLSensorData)’:
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/sensors/amcl_sensor.cpp:56:35: warning: unused parameter ‘pf’ [-Wunused-parameter]
bool AMCLSensor::InitSensor(pf_t *pf, AMCLSensorData *data)
^~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/sensors/amcl_sensor.cpp:56:55: warning: unused parameter ‘data’ [-Wunused-parameter]
bool AMCLSensor::InitSensor(pf_t pf, AMCLSensorData data)
^~~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/sensors/amcl_sensor.cpp: In member function ‘virtual bool amcl::AMCLSensor::UpdateSensor(pf_t, amcl::AMCLSensorData)’:
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/sensors/amcl_sensor.cpp:64:37: warning: unused parameter ‘pf’ [-Wunused-parameter]
bool AMCLSensor::UpdateSensor(pf_t *pf, AMCLSensorData *data)
^~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/sensors/amcl_sensor.cpp:64:57: warning: unused parameter ‘data’ [-Wunused-parameter]
bool AMCLSensor::UpdateSensor(pf_t *pf, AMCLSensorData *data)
^~~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/map/map_draw.c:158:0: warning: ISO C forbids an empty translation unit [-Wpedantic]
#endif
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/pf/pf.c: In function ‘pf_update_converged’:
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/pf/pf.c:219:10: warning: unused variable ‘total’ [-Wunused-variable]
double total;
^~~~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/pf/pf.c: In function ‘pf_cluster_stats’:
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/pf/pf.c:473:29: warning: unused parameter ‘pf’ [-Wunused-parameter]
void pf_cluster_stats(pf_t *pf, pf_sample_set_t *set)
^~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/pf/pf_kdtree.c: In function ‘pf_kdtree_equal’:
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/pf/pf_kdtree.c:186:34: warning: unused parameter ‘self’ [-Wunused-parameter]
int pf_kdtree_equal(pf_kdtree_t *self, int key_a[], int key_b[])
^~~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl/pf/pf_draw.c:163:0: warning: ISO C forbids an empty translation unit [-Wpedantic]
#endif
In file included from /home/mkhansen/ros2_dev/ros2_ws/install/tf2/include/tf2/utils.h:20:0,
from /home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp:30:
/home/mkhansen/ros2_dev/ros2_ws/install/tf2/include/tf2/impl/utils.h:114:2: warning: extra ‘;’ [-Wpedantic]
};
^
/home/mkhansen/ros2_dev/ros2_ws/install/tf2/include/tf2/impl/utils.h:148:2: warning: extra ‘;’ [-Wpedantic]
};
^
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp: In member function ‘void AmclNode::globalLocalizationCallback(std::shared_ptr<rmw_request_id_t>, std::shared_ptr<std_srvs::srv::Empty_Request_<std::allocator > >, std::shared_ptr<std_srvs::srv::Empty_Response_<std::allocator > >)’:
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp:882:78: warning: unused parameter ‘request_header’ [-Wunused-parameter]
AmclNode::globalLocalizationCallback(const std::shared_ptr<rmw_request_id_t> request_header,
^~~~~~~~~~~~~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp:883:91: warning: unused parameter ‘req’ [-Wunused-parameter]
const std::shared_ptr<std_srvs::srv::Empty::Request> req,
^~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp:884:86: warning: unused parameter ‘res’ [-Wunused-parameter]
std::shared_ptr<std_srvs::srv::Empty::Response> res)
^~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp: In member function ‘void AmclNode::nomotionUpdateCallback(std::shared_ptr<rmw_request_id_t>, std::shared_ptr<std_srvs::srv::Empty_Request_<std::allocator > >, std::shared_ptr<std_srvs::srv::Empty_Response_<std::allocator > >)’:
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp:903:74: warning: unused parameter ‘request_header’ [-Wunused-parameter]
AmclNode::nomotionUpdateCallback(const std::shared_ptr<rmw_request_id_t> request_header,
^~~~~~~~~~~~~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp:904:87: warning: unused parameter ‘req’ [-Wunused-parameter]
const std::shared_ptr<std_srvs::srv::Empty::Request> req,
^~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp:905:82: warning: unused parameter ‘res’ [-Wunused-parameter]
std::shared_ptr<std_srvs::srv::Empty::Response> res)
^~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp: In member function ‘void AmclNode::setMapCallback(std::shared_ptr<rmw_request_id_t>, std::shared_ptr<nav_msgs::srv::SetMap_Request_<std::allocator > >, std::shared_ptr<nav_msgs::srv::SetMap_Response_<std::allocator > >)’:
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp:913:66: warning: unused parameter ‘request_header’ [-Wunused-parameter]
AmclNode::setMapCallback(const std::shared_ptr<rmw_request_id_t> request_header,
^~~~~~~~~~~~~~
/home/mkhansen/ros2_dev/ros2_ws/src/ros-planning/navigation2/src/nav2_localization/amcl/src/amcl_node.cpp:915:70: warning: unused parameter ‘res’ [-Wunused-parameter]
std::shared_ptr<nav_msgs::srv::SetMap::Response> res)
`
from navigation2.
@mhpanah - I think this is done, can we close?
from navigation2.
@mkhansen-intel Yes. It's done.
from navigation2.
Related Issues (20)
- In the running of goToPose(), cancelTask() does not work HOT 4
- Docking is not available for ros humble. HOT 1
- Both Slack invite links may have expired HOT 1
- Revert Double Spin in #4558 once rclcpp #2589 fixed
- Wait node no action server HOT 1
- Custom constraints and custom cost function in mppi HOT 1
- Nav2 BasicNavigator raises ValueError exception HOT 2
- Exception: According to the loaded plugin descriptions the class nav2_smac_planner::SmacPlannerHybrid with base class type nav2_core::GlobalPlanner does not exist. HOT 2
- setCostmap function in Footprint Collision Checker HOT 3
- About Nav2 CycloneDDS and Micro XRCE-DDS HOT 2
- Model State Initialization HOT 1
- AMCL is unable to correctly publish the map->odom coordinate transformation. HOT 4
- Create BT action node RemoveInCollisionGoals HOT 5
- [smac_planner] On Hybrid A*, any reason to use floor to quantize angles? HOT 5
- Issue with Bidirectional Acceleration and Deceleration Settings in MPPI Controller HOT 3
- Collision Monitor parameters on ROS2 Humble HOT 4
- loopback_sim: provide realistic scan data
- The default_server_timeout parameter in bt_navigator is always overridden by the server_timeout port in each BT action node. HOT 2
- The callback function of subscriber is not called while navigation is in progress. HOT 1
- Missing nav2_namespaced_view.rviz referenced in launch files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navigation2.