Coder Social home page Coder Social logo

Comments (3)

kenji-miyake avatar kenji-miyake commented on July 18, 2024 1

Probably it's because the behavior of _USE_MATH_DEFINES is different between gcc and msvc? 🤔
https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160

from pointcloud_to_laserscan.

XavierTrudeau avatar XavierTrudeau commented on July 18, 2024

That's right. Adding these lines to the header file also fixed it.
#define _USE_MATH_DEFINES // for C++
#include

I'm now getting a crash when trying to run the sample launch file. Both pointcloud_to_laserscan_node and laserscan_to_pointcloud_node crash upon launch :

[ERROR] [pointcloud_to_laserscan_node.EXE-3]: process has died [pid 7072, exit code 3221226505, cmd 'c:\nav2_ws\install\lib\pointcloud_to_laserscan\pointcloud_to_laserscan_node.EXE --ros-args -r __node:=pointcloud_to_laserscan -r __node:=pointcloud_to_laserscan --params-file C:\Users\xaviert\AppData\Local\Temp\launch_params_45izntrr -r cloud_in:=scanner/cloud -r scan:=scanner/scan'].

Any idea what could cause this?

from pointcloud_to_laserscan.

hidmic avatar hidmic commented on July 18, 2024

@XavierTrudeau a backtrace would surely help.

from pointcloud_to_laserscan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.