Obsidian-GTD-plugin icon indicating copy to clipboard operation
Obsidian-GTD-plugin copied to clipboard

Tasks are being placed in the wrong view

Open itmtech opened this issue 2 years ago • 0 comments

Tasks that have a Due Date of today are being put into Past Due, tasks with tomorrow are in Due Today. The displayed dates are correct when they are created with "Today" or "Tomorrow", the dates are correct. Does anyone have an ideas as why the tasks are appearing in the wrong category?

itmtech avatar Feb 08 '23 13:02 itmtech

Hey!

Did you catkin_make successfully? Because if the build of the package failed, there will be no libgazebo_naoqi_control.so and thus will not work.

costashatz avatar Dec 17 '18 08:12 costashatz

/ home / user / catkin_ws / src / I have -gazebo_naoqi_control -nao_gazebo -nao_meshes_master

catkin_make in the folder catkin_ws, the following error: captura de pantalla de 2018-12-17 17 25 00 it's okay? Or the folders go in another direction?

andres5450 avatar Dec 17 '18 20:12 andres5450

it's okay? Or the folders go in another direction?

The packages are in the right place, but you need the NAOqi simulator SDK; it requires that you have bought a NAO (and have access to Aldebaran's software). It seems that you do not have it. If you do have it, then you need to set your environmental (or CMAKE) variables correctly: see here.

costashatz avatar Dec 17 '18 20:12 costashatz

hi! / home / user / naosoftware / I have -naoqi-sdk-2.1.4.13-linux32 -simulator-sdk-1.12.0.59-linux32 -pynaoqi-python2.7-2.1.4.13-linux32

catkin_make in the folder catkin_ws: captura de pantalla de 2018-12-17 20 13 35 cmakelist.txt # Tell Program where to find NAOqi/NAOqiSIM bin add_definitions(-DNAOQI_SDK="/home/diego/naosoftware/pynaoqi-python2.7-2.1.4.13-linux32") add_definitions(-DNAOQI_SIM_SDK="/home/diego/naosoftware/simulator-sdk-1.12.0.59-linux32")

.bashrc source /opt/ros/indigo/setup.bash export PYTHONPATH=${PYTHONPATH}:/home/diego/naosoftware/pynaoqi-python2.7-2.1.4.13-linux32 export LD_LIBRARY_PATH="/home/diego/naosoftware/naoqi-sdk-2.1.4.13-linux32:$LD_LIBRARY_PATH" export PYTHONPATH=${PYTHONPATH}:/home/diego/naosoftware/pynaoqi-python2.7-2.1.4.13-linux32 export LD_LIBRARY_PATH="/home/diego/naosoftware/naoqi-sdk-2.1.4.13-linux32:$LD_LIBRARY_PATH" export AL_SIM_DIR=/home/diego/naosoftware/simulator-sdk-1.12.0.59-linux32 export AL_DIR=/home/diego/naosoftware/naoqi-sdk-2.1.4.13-linux32

I have no idea :/

Greetings!

andres5450 avatar Dec 17 '18 23:12 andres5450

Can you give the output of ls /home/diego/naosoftware/simulator-sdk-1.12.0.59-linux32?

costashatz avatar Dec 18 '18 01:12 costashatz

Can you give the output of ls /home/diego/naosoftware/simulator-sdk-1.12.0.59-linux32?

captura de pantalla de 2018-12-17 22 12 14 I can not find another sdk simulator :/

andres5450 avatar Dec 18 '18 01:12 andres5450

Can you give me the output of ls /home/diego/naosoftware/simulator-sdk-1.12.0.59-linux32/include?

costashatz avatar Dec 18 '18 01:12 costashatz

Can you give me the output of ls /home/diego/naosoftware/simulator-sdk-1.12.0.59-linux32/include?

captura de pantalla de 2018-12-17 22 22 44

andres5450 avatar Dec 18 '18 01:12 andres5450

I think you either have an older (or newer) version of NAOqi simulator SDK (or partially installed one?). I will try to check tomorrow what version I was using and come back to you. In the mean time, can you try replacing this line by:

find_path(NAOqiSIM_INCLUDE_DIR alnaosim/alnaosim.h HINTS ${NAOqi_INCLUDE_HINTS} )

And see what happens...

costashatz avatar Dec 18 '18 01:12 costashatz

I think you either have an older (or newer) version of NAOqi simulator SDK (or partially installed one?). I will try to check tomorrow what version I was using and come back to you. In the mean time, can you try replacing this line by:

find_path(NAOqiSIM_INCLUDE_DIR alnaosim/alnaosim.h HINTS ${NAOqi_INCLUDE_HINTS} )

And see what happens...

download the NAOqi simulator SDK http://cui.unige.ch/~agulleir/tools/NAO/Version%201.14.5/

replacing the line in FindNAOqiSIM.cmake: captura de pantalla de 2018-12-17 22 33 43 I think the error is due to the origin of that SDK simulator, I did not find another ;/

andres5450 avatar Dec 18 '18 01:12 andres5450

I think you just need to download the 64bit version.

costashatz avatar Dec 18 '18 01:12 costashatz

I think you just need to download the 64bit version.

repeat the error ... remote connection?, maybe I'm doing something wrong

andres5450 avatar Dec 18 '18 02:12 andres5450

repeat the error ... remote connection?, maybe I'm doing something wrong

I downloaded the file I linked and it has many more files in the include directory. So you are doing something wrong when downloading or extracting the file. These files should be enough for this library to work..

costashatz avatar Dec 18 '18 10:12 costashatz

i think the problem is with NAOqiSIM_FOUND_COMPONENTS, it says that couldn't found NAOqiSIM becaouse of that. How can i hard code that path? And what is that trying to find? 'cause i have every folder that you mention in the past comments so, i've just hardcoded my naosim path and it keeps throwing me that error.

PS: i have every .h file in order to the paths

andres5450 avatar Dec 18 '18 22:12 andres5450

i think the problem is with NAOqiSIM_FOUND_COMPONENTS

I do not think so.

PS: i have every .h file in order to the paths

Do an ls to the folder of include in the simulator SDK to see what the files/folders are..

costashatz avatar Dec 18 '18 22:12 costashatz

captura de pantalla de 2018-12-18 19 46 21

there is the screenshot of the 64bit version, there are many more files than in the 32 bits version. What can it be?

If you have time can i meet you on discord or something?

Thanks a lot for your help!

andres5450 avatar Dec 18 '18 22:12 andres5450

Can you send me the error message?

costashatz avatar Dec 19 '18 11:12 costashatz

captura de pantalla de 2018-12-19 11 09 53

CMakeLists.txt # Tell Program where to find NAOqi/NAOqiSIM bin add_definitions(-DNAOQI_SDK="/home/diego/naosoftware/pynaoqi-python2.7-2.1.4.13-linux32") add_definitions(-DNAOQI_SIM_SDK="/home/diego/naosoftware/simulator-sdk-1.14.5-linux64/include")

FindNAOqiSIM.cmake find_path(NAOqiSIM_INCLUDE_DIR alcommon/alproxy.h HINTS ${NAOqi_INCLUDE_HINTS} )

i don't have any idea of what else i can do, i did all the possible changes i could do, that the proyects allow me but nothing works.

andres5450 avatar Dec 19 '18 14:12 andres5450

Tell Program where to find NAOqi/NAOqiSIM bin add_definitions(-DNAOQI_SDK="/home/diego/naosoftware/pynaoqi-python2.7-2.1.4.13-linux32") add_definitions(-DNAOQI_SIM_SDK="/home/diego/naosoftware/simulator-sdk-1.14.5-linux64/include")

Restore these to the originals (in the CMake file).

Open a terminal and do the following:

cd ~/catkin_ws
export AL_SIM_DIR=/home/diego/naosoftware/simulator-sdk-1.14.5-linux64/
export AL_DIR=/home/diego/naosoftware/pynaoqi-python2.7-2.1.4.13-linux32/
rm -rf build
rm -rf devel
catkin_make

It could be convenient to add these lines at the end of your ~/.bashrc file (so that you don't have to re-type them everytime):

export AL_SIM_DIR=/home/diego/naosoftware/simulator-sdk-1.14.5-linux64/
export AL_DIR=/home/diego/naosoftware/pynaoqi-python2.7-2.1.4.13-linux32/

costashatz avatar Dec 19 '18 14:12 costashatz

i did what you told me, and it didn't work, but now show a different error.

restore the original(CMakeLists.txt) # Tell Program where to find NAOqi/NAOqiSIM bin add_definitions(-DNAOQI_SDK="$ENV{AL_DIR}") add_definitions(-DNAOQI_SIM_SDK="$ENV{AL_SIM_DIR}")

at the end of the file .bashrc this is what appears

source /opt/ros/indigo/setup.bash export PYTHONPATH=${PYTHONPATH}:/home/diego/naosoftware/pynaoqi-python2.7-2.1.4.13-linux32 export LD_LIBRARY_PATH="/home/diego/naosoftware/naoqi-sdk-2.1.4.13-linux32:$LD_LIBRARY_PATH" export AL_SIM_DIR=/home/diego/naosoftware/simulator-sdk-1.14.5-linux64/ export AL_DIR=/home/diego/naosoftware/pynaoqi-python2.7-2.1.4.13-linux32/

i open the terminal and enter the commands:

captura de pantalla de 2018-12-19 12 45 25 captura de pantalla de 2018-12-19 12 46 03 captura de pantalla de 2018-12-19 12 46 45

thanks for all help, i really appreciate it!

andres5450 avatar Dec 19 '18 15:12 andres5450

You need boost installed: sudo apt-get install libboost-dev-all.

costashatz avatar Dec 19 '18 15:12 costashatz

i already have installed:

captura de pantalla de 2018-12-19 13 07 01

andres5450 avatar Dec 19 '18 16:12 andres5450

Can you do ls in the alnaosim folder?

Also what is your cpu, os etc?

costashatz avatar Dec 19 '18 17:12 costashatz

ls in the alnaosim folder: captura de pantalla de 2018-12-19 15 28 29

captura de pantalla de 2018-12-19 15 30 21 captura de pantalla de 2018-12-19 15 30 50

andres5450 avatar Dec 19 '18 18:12 andres5450

i follow this tutorial https://stackoverflow.com/questions/5389853/doesnt-compile-if-included-boost-thread-in-linux-ubuntu10-10

now this is the new error message:

captura de pantalla de 2018-12-19 19 42 39

effective this file alnaosim_camera_definitions.h is not found in alnaosim:

captura de pantalla de 2018-12-19 20 47 26

andres5450 avatar Dec 20 '18 00:12 andres5450

I have a feeling that this nao sdk is either incomplete or corrupt (i.e., files missing etc.). A few months ago I tried the code with the official sdk and there was no issue.

costashatz avatar Dec 20 '18 07:12 costashatz

where i found the official sdk?, i donwloaded choregraphe and c++ naoqi sdk this official page https://community.ald.softbankrobotics.com/en/resources/software/language/en-gb/robot/nao-2?sort_by=weight&sort_order=ASC, but i didn't found sdk simulator :c

andres5450 avatar Dec 20 '18 14:12 andres5450

i downloaded simulator-sdk-2.1.2.17-linux32 this official page https://community.ald.softbankrobotics.com/en/resources/software/former-nao-versions-simulators

  • compile catkin_make successful!!!!:

captura de pantalla de 2018-12-20 12 38 57

  • roslaunch gazebo_naoqi_control nao_gazebo.launch error:

captura de pantalla de 2018-12-20 12 39 32

andres5450 avatar Dec 20 '18 15:12 andres5450

Great news! Please refer to the ROS documentation for these issues: http://wiki.ros.org/roslaunch

Most probably you haven't sourced the correct bashrc file or something..

costashatz avatar Dec 20 '18 16:12 costashatz

i've executed the source /devel/setup.bash command show up to command at tabular roslaunch gazebo_naoqi_control nao_gazebo.launch.

  • executed `roslaunch gazebo_naoqi_control nao_gazebo.launch

captura de pantalla de 2018-12-20 15 59 37

  • NAO figure doesn't show, but in the gazebo view option when i click joints, center of mass, contacts it show the next thing. The only problem is that NAO doesn't visualize.

captura de pantalla de 2018-12-20 16 00 09

andres5450 avatar Dec 20 '18 19:12 andres5450