Closed miguelriemoliveira closed 3 years ago
Hi @danifpdra ,
I solved all pending issues this weekend. Can you work tomorrow? From 10h30 ou 11h? I am not sure when, but I can call when available ...
Hi @miguelriemoliveira ,
I can work tomorrow at that time, yes. But I haven't had much time to work this weekend. Is this ok with you or should I work by myself first? I can do it before our meeting.
@miguelriemoliveira, can you tell me where I can find the bag files?
@miguelriemoliveira, can you tell me where I can find the bag files?
Sure, you have some mmtbot bag files in the mmtbot readme page.
Fatal error opening the bagfile: [FATAL] [1615307465.689518373]: Error opening file: /opt/ros/noetic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/daniela/bagfiles/mmtbot/21_02_2021.bag
@miguelriemoliveira, can you help me?
Hi @danifpdra ,
which command are you running when you get that error? (please edit the post above to include that information)
Also, do you have that bagfile? Where?
@miguelriemoliveira , I have the bagfile in the home/daniela/bagfiles/mmtbot folder. I created an env variable $ROS_BAGS pointing to to home/daniela/bafiles .
When I run roslaunch mmtbot_calibration set_initial_estimate.launch it give me a fatal error: FATAL] [1615309043.508660631]: Error opening file: /opt/ros/noetic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/daniela/bagfiles/mmtbot/21_02_2021.bag
Hi @danifpdra ,
just a comment w.r.t. the style of posting. I usually do it like this, it is better to read:
@miguelriemoliveira , I have the bagfile in the home/daniela/bagfiles/mmtbot folder. I created an env variable $ROS_BAGS pointing to to home/daniela/bafiles (this is wrong, the g in bag is missing. Is it a typo?).
When I run:
roslaunch mmtbot_calibration set_initial_estimate.launch
it give me a fatal error:
FATAL] [1615309043.508660631]: Error opening file: /opt/ros/noetic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/daniela/bagfiles/mmtbot/21_02_2021.bag
Now about the content:
Which bagfile have you configured in your mmtbot_calibration/calibration/config.yml?
Yes, it is a typo. Sorry.
I have the same bag configured in mmtbot_calibration/calibration/config.yml:
`bag_file: "$ROS_BAGS/mmtbot/21_02_2021.bag"
OK, how about your $ROS_BAGS environment variable. If you type (in the same terminal as you are launching the set initial estimate)
echo $ROS_BAGS
what do you get?
Di you try replacing $ROS_BAGS by the absolute path (not a good solution, but just to try)
It outputs
/opt/ros/noetic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/daniela/bagfiles
It works when replaced with the absolute path.
that's not correct. Mine outputs (as it should):
/home/mike/bagfiles
How did you create this variable?
Like this:
ROS_BAGS="/home/daniela/bagfiles"
Where? .bashrc?
Mine is as follows:
export ROS_BAGS="/home/mike/bagfiles" export ATOM_DATASETS="/home/mike/datasets"
This should be like this in the instructions ...
Yes, it was not right, it works now. Thank you and sorry for the trouble.
No problem.
Hi @miguelriemoliveira,
The charuco doesn't appear on the image. Am I doing something wrong?
Hi @danifpdra ,
lets create one issue for each new topic. It will be easier to find the problems later on.
This issue should be named something like "problems with $ROS_BAG configuration".
And the last question should be an issue like "Cannot visualize charuco in cameras".
Please create this second issue and then I will respond there.
and sorry for being such a nit-picker, but I am really convinced the organization helps, especially in complex projects like this. Also, I am trying to teach you my methodologies so please be patient : - )
This could also be closed?
Lets use mmtbot as example.