Closed ajay1606 closed 2 years ago
@ajay1606 are you able to share the vehicle info file you are using?
@dmbarry Thanks much for your quick response.
Here is the vehicle information file that currently using https://github.com/IPG-Automotive-UK/Aslan-CarMaker/blob/melodic/Data/Vehicle/Demo_IPG_CompanyCar There are no modification made to above file.
After running command,./CMStart.sh
There is a popup screen that will open with the warning message Update project directory!
Before updating :
After Updating:
After launching command (CarMaker GUI/ Extras/CMRosIF/Launch & Start Application)
Am i missing anything? Any suggestions please? Regards, Ajay
@ajay1606 I think the problem might be the vehicle info file you are using which was built for CM9. You can try opening the infofile in CM10 and then saving it which should make the required key changes.
If you compare this to the original file you should see the new suspension key has been added. To confirm the infofile is correct I would then recommend running a test run from the GUI with the default carmaker exe (not the custom Aslan exe). Once this is confirmed you can then switch to your custom Aslan exe and hopefully everything is ok.
Here is the vehicle information file that currently using https://github.com/IPG-Automotive-UK/Aslan-CarMaker/blob/melodic/Data/Vehicle/Demo_IPG_CompanyCar There are no modification made to above file.
@ajay1606 I should also point out that this branch is for CarMaker 9 as detailed in the readme on that branch. It sounds like you are using CarMaker 10 and thus you should just use the main branch, which has an example infofile intended for CarMaker 10.
@dmbarry86 , Thank you so much for Kind and detailed response. Indeed it helped me lot to understand this project more. But still am unable to fix the issue. I have tried 2 options as you suggested.
And the same configuration file working well with default Carmaker exe with Test run without any issues.
CarMaker ROS Node is disabled!
ERROR SuspF.Spring: Unknown kind 'Hookean', version 0
Could you please suggset me fix this error, so that i can continue on this.
Regards, Ajay
Hello Ajay,
Which ROS version are you using? Also, I assume that /opt/ros/ros1 is a symbolic link that points to the desired ROS version directory as well.
sensor_msgs/Image.h is one of the header files for the standard Sensor Messages package in ROS1. If I remember correctly, some of these header files changed at a certain point of the ROS1 development, so I need to look inside the correct ROS1 version to see why it's not there.
@dmbarry86 & @bogotm Thanks so much for your inputs, now able to build the main branch without any issues. Also able to run TestRun project with Demo_IPG_Company_Car vehicle configuration.
@bogotm You are right, I missed the path to the symbolic link that points to ROS dir was an issue.
This is the sample result:
But it seems, there are no simulation data topics published, rostopic list
doesn't shows any topics published from simulator !
Am I missing something here !!
Hello, It looks like the setup.bash is not found in the background Terminal.
Did you end up creating a symbolic link between ros1 and melodic? I would highly recommend that: cd /opt/ros sudo ln -sfn melodic ros1
@bogotm, I have created a symbolic link as you suggested. But still, simulation data is not published, also there are no error messages!
Hi Ajay,
It looks like Aslan itself hasn't properly started either. Can you let me know if the Aslan GUI has come up too?
Also, just to help diagnose this, could you let me know what's happening in the RQT Node Graph? Obviously I have a lot of topics and a few nodes on mine, but I'm curious to see what happens when you run this project.
This is most of what my Node Graph looks like when running this project:
Hello @bogotm, Thanks for the kind inputs, really appreciate it.
And after a few workarounds, I realized that Initially, ASLAN GUI was not opened. But after changing python version 3.6 to 2.7 now it working. Right after Launch & Start Application
from CarMake GUI, I can see ASLAN Gui. After that, i checked for rostopic list
, And I can see the following topics;
Car maker and ASLAN GUI:
Topic list:
In the above topics, data published following topics, but that also only 0
. (Not another than 0)
/sd_control
/sd_current_GPS
/sd_current_twist
/sd_imu_raw
Example rostopic echo /sd_imu_raw
RQT Graph.
After start of ASLAN:
I really appreciate your assistance in understanding and fixing the following!
Looking to listen from you! Thank you so much
Regards, Ajay
Hello Ajay,
You don't need to run ASLAN alongside this project.
I can see that the CarMaker node is not in the graph, so it has not been started.
I would check if you have loaded the correct CarMaker executable in the "Application Configuration" window: https://github.com/IPG-Automotive-UK/Aslan-CarMaker#start-project
@bogotom Thank you so much for your kind inputs so far, you are right I have loaded the wrong CarMaker executable.
1.Command (Executable): bin/CarMaker.linux64
After choosing right executable am able to get node graph in rqt_graph
as follows:
But strangely, the Vehicle doesn't move after clicking 'start'.
Command (Executable): /opt/ipg/carmaker/linux64-10.2.1/bin/CarMaker.linux64
In case of the above executable vehicle moving.Could you please help me to fix this !
Regards, Ajay
Hello Ajay, This project "works" without Aslan, but after all, it's a bridge to the Aslan autonomous driving stack. The vehicle will not move because it's expecting Aslan to send it vehicle controls, otherwise, the car receives no Gas, Brake, or Steering input.
@bogotm, Well, I was trying to acquire data (bag) by running a vehicle in a sample scenario. Then using bag file, construct PCD map and try NDT algorithm test with ASLAN.
Later I would like to try in real time, by connecting ASLAN with CarMaker simulation.
Any suggestion? to test ASLAN algorithm ?
regards, Ajay
@ajay1606 I am closing off this issue now as it has moved quite far away from the original topic. Feel free to continue the discussion but I will close the issue. Your further questions may be more appropriate in the discussion section rather than here in issues. https://github.com/IPG-Automotive-UK/Aslan-CarMaker/discussions/categories/q-a
Hello,
Thanks for sharing a very useful repository. I am trying to run a carmaker simulator and i have followed the instruction provided, but getting error like
Build Sucessful:
Error Log:
Any help is much appreciated.
CarMaker version 10.2.1 Ubuntu:18.04 ROS: Melodic
Carmaker installation confined by running sample examples and also example ROS project working fine.
Regards, Ajay