Skip to content

Commit

Permalink
fix: implicit null conversion in seerep_core
Browse files Browse the repository at this point in the history
  • Loading branch information
jarkenau committed May 3, 2024
1 parent fa531c4 commit fedea97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seerep_srv/seerep_core/src/core_project.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ seerep_core_msgs::Polygon2D CoreProject::transformToMapFrame(const seerep_core_m
// we traverse the polygon and apply the transform
for (seerep_core_msgs::Point2D p : polygon.vertices)
{
PJ_COORD c = proj_coord(p.get<0>(), p.get<1>(), NULL, NULL);
PJ_COORD c = proj_coord(p.get<0>(), p.get<1>(), 0, 0);
PJ_COORD t_coord = proj_trans(to_topographic, direction, c);

seerep_core_msgs::Point2D transformed_p;
Expand Down

0 comments on commit fedea97

Please sign in to comment.