-
Notifications
You must be signed in to change notification settings - Fork 21
start_demo_auv_control.launch control data record #17
Comments
Hi @galfunk, that might be because the FinPlugin uses the custom message FloatStamped. I don't know much about the ROS integration in Matlab, but I think this tutorial might help. |
Hi @musamarcusso , thank you for your assistance. Is there a simpler way to read custom massages from a bag file? |
Hi @galfunk, there is a good Python API to parse and write into ROS bags that is quite easy to use. You can find examples here. For instance, if you clone the
the node will give you plots from the topics in the bag. |
I'm trying to used uuv_simulation_evaluation as you suggested, I clone the package, rosrun uuv_simulation_evaluation evaluate_bag --bag_file recording.bag --output_dir ~/.ros [rospack] Error: package 'uuv_simulation_evaluation' not found |
Did you run |
yes |
gal@gal-XPS-15-9560:~/catkin$ catkin buildProfile: default
|
what should be my <output_dir_name> ? |
Any directory name where you would like the parser data and plots to be stored. |
what should be my <rosbag_filename>? the full located adders? |
gal@gal-XPS-15-9560:~$ rosrun uuv_simulation_evaluation evaluate_bag --bag_file recording.bag --output_dir ~/ |
Yeah, sorry that was a typo, the argument should be |
rosrun uuv_simulation_evaluation evaluate_bag --bagfile recording.bag --output_dir ~/ |
Does this happen if instead of |
yes |
This is my rosbag info rosbag info ~/.ros/recording.bag |
I see that the path from the previous comment is |
You right... now I got 2018-07-16 09:02:04,586 | INFO | evaluation | Opening bag: /home/gal/.ros/recording.bag |
Hi @galfunk, I wrote this node for my experiments and in that case it expects odometry data to be available in the bag, which requires recording the bag in a way similar to this example. If you want to access just a very specific topic, you might find the data parsers a better example on how to extract the topic information from the bag. |
Hi@musamarcusso , Thanks again I run the simulation with the original record_demo.launch, some how I'm still received errors ; The kpi_labels.yaml show: euclidean_error_angular_velocity: Euclidean Error and the computed_kpsi.ymal show |
Could you paste here all the launch files you are using so I can reproduce it here? |
roslaunch uuv_descriptions ocean_waves.launch gal@gal-XPS-15-9560:~$ roslaunch uuv_descriptions ocean_waves.launch started roslaunch server http://gal-XPS-15-9560:37505/ SUMMARYPARAMETERS
NODES auto-starting new master setting /run_id to 53b16190-88ff-11e8-bba7-9cb6d0f2f06b Gazebo multi-robot simulator, version 7.13.1 [ INFO] [1531749084.391552431]: Finished loading Gazebo ROS API Plugin. roslaunch eca_a9_gazebo start_demo_auv_control.launch gal@gal-XPS-15-9560:~$ roslaunch eca_a9_gazebo start_demo_auv_control.launch redefining global property: gamma SUMMARYPARAMETERS
NODES ROS_MASTER_URI=http://localhost:11311 process[eca_a9/urdf_spawner-1]: started with pid [31241]
|
Hi,
I'm working on my master thesis and I found the simulation very interesting .
I'm running the following launch file :
start_demo_auv_control.launch
Gazebo and rviz are running smoothly
I'm trying to record the following actors only:
/eca_a9/thrusters/0/thrust
/eca_a9/thrusters/0/input
/eca_a9/fins/0/input
/eca_a9/fins/0/output
Should I able to see in the bag file the angle of fin or values of the thrust per time ?
I'm open the file in MATLAB and I'm only get Time, Topic, MessageType, Fileoffeset
What is required in order to analysis the control data for the fines angles and the propeller thrust from the running simulation?
Thank
Gal
The text was updated successfully, but these errors were encountered: