Closed PurnaKoteswaraRaoMallepaddi closed 5 years ago
And is there any way that i get the intensity of the point please clarify the doubt thanks and regards
You'd have to change the trigger condition in line 137 of ScriptMain() in script.cpp to call lidar() repeatedly rather than once. Here's how I've done it
P.s.: if you are going to call it in a loop like this, there's a few other things I'd recommend changing
GAMEPLAY::SET_GAME_PAUSED()
; and TIME::PAUSE_CLOCK();
in lidar() (they make the game freeze up and its annoying in a loop. This creates a "screen tear" bug which you can then fix in the next step:Here's a link to my complete version of scripts.cpp
note: you need Eigen to run it. Takes 2 seconds to get:
When we enable Lidar data point capturing we observed that driven car is being dragged at 0 speed, instead of moving at variable speed. Have you @ihexx also observed the same?
@purna15111 Thanks for the kind words! @ihexx 's comment is perfect and should solve your problem.
@jainrahul1 That is probably because I have called GAMEPLAY::SET_GAME_PAUSED();
and TIME::PAUSE_CLOCK();
to stop the world while point cloud is generated. As @ihexx pointed out earlier removing these two function calls should prevent the car from freezing.
@ihexx Thank's for your input!
@UsmanJafri thanks a lot for your reply. I will give it a try and let you know the outcome.
@purna15111 I have the same question about how to get the intensity! If you have any good idea, please share with me, I will be very appreciate!
@UsmanJafri @ihexx I found if I record the pcd data continuous, the game will be very slow, I think it cost too much time to write the pcd data. And I tried th deeperGTA, it use server/client , and it won't affect the speed, but I have no idea how to save the pcd data. Are you have any idea to solve the slow game or save pcd data in deeperGTA?
@ihexx @UsmanJafri Another question is, can we save the boundingbox label for objects?
I have tried by removing GAMEPLAY::SET_GAME_PAUSED(); and TIME::PAUSE_CLOCK(); from the lidar function but still game freezes. @ihexx I also tried replacing script.cpp of original version with your version, Nothing happened as game stuck and keys were stopped working. Is there any way to resolve the game freezing issue??
HI Guys, I started working on this data collection since a week , this application may solve the issue but i wanted it to be more automated like in Deep GTA which is not working in my case i don't know why . Can someone say the changes to be made to get the data automatically without pressing the F6 key , like when ever we start the program it should start collecting the data and then when we stop it should stop collecting the data. Thanks in Advance BTW this is a good piece of work man @UsmanJafri