Skip to content

trajectory_generator crashes #17

@nikosmitrop1995

Description

@nikosmitrop1995

Hello,
trajectory_generator crashes when idx_replan increases.
The problem comes from this line
if(ros::Time::now().toSec() - time_start_replan.toSec() + planner_delay.toSec() > time(idx_replan))
because of time(idx_replan).
If I replace time(idx_replan) with time(0) it will not crash but the velocities of the trajectory will be huge (100-60.000 m/s).
I have tested the code on another system and it works fine without error and both position and velocities generated.
Both of the systems have the same libraries' versions installed:
Ubuntu 18.04.4
ROS Melodic
eigen3 (3.3.90)
libccd (2.0)
octomap (1.9.0)
fcl (0.5.0)
I was wondering what could be the reason that causes the error on only one pc.
trajectory_error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions